org.kuali.kfs.module.cam.document
Class AssetTransferDocument

java.lang.Object
  extended by org.kuali.rice.kns.bo.BusinessObjectBase
      extended by org.kuali.rice.kns.bo.PersistableBusinessObjectBase
          extended by org.kuali.rice.kns.document.DocumentBase
              extended by org.kuali.rice.kns.document.TransactionalDocumentBase
                  extended by org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
                      extended by org.kuali.kfs.sys.document.LedgerPostingDocumentBase
                          extended by org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
                              extended by org.kuali.kfs.module.cam.document.AssetTransferDocument
All Implemented Interfaces:
Serializable, org.apache.ojb.broker.PersistenceBrokerAware, FinancialSystemTransactionalDocument, GeneralLedgerPendingEntrySource, GeneralLedgerPostingDocument, LedgerPostingDocument, org.kuali.rice.kns.bo.BusinessObject, org.kuali.rice.kns.bo.PersistableBusinessObject, org.kuali.rice.kns.document.Document, org.kuali.rice.kns.document.SessionDocument, org.kuali.rice.kns.document.TransactionalDocument

public class AssetTransferDocument
extends GeneralLedgerPostingDocumentBase
implements GeneralLedgerPendingEntrySource

See Also:
Serialized Form

Field Summary
protected  Asset asset
           
protected  org.kuali.rice.kim.bo.Person assetRepresentative
           
protected  Building building
           
protected  String buildingCode
           
protected  Room buildingRoom
           
protected  String buildingRoomNumber
           
protected  String buildingSubRoomNumber
           
protected  org.kuali.rice.kns.bo.Campus campus
           
protected  String campusCode
           
protected  Long capitalAssetNumber
           
protected  String hiddenFieldForError
           
protected  boolean interdepartmentalSalesIndicator
           
protected static org.apache.log4j.Logger LOG
           
protected  String offCampusAddress
           
protected  String offCampusCityName
           
protected  org.kuali.rice.kns.bo.Country offCampusCountry
           
protected  String offCampusCountryCode
           
protected  String offCampusName
           
protected  org.kuali.rice.kns.bo.State offCampusState
           
protected  String offCampusStateCode
           
protected  String offCampusZipCode
           
protected  Account oldOrganizationOwnerAccount
           
protected  String oldOrganizationOwnerAccountNumber
           
protected  String oldOrganizationOwnerChartOfAccountsCode
           
protected  String organizationInventoryName
           
protected  Account organizationOwnerAccount
           
protected  String organizationOwnerAccountNumber
           
protected  Chart organizationOwnerChartOfAccounts
           
protected  String organizationOwnerChartOfAccountsCode
           
protected  String organizationTagNumber
           
protected  String organizationText
           
protected  org.kuali.rice.kns.bo.PostalCode postalZipCode
           
protected  String representativeUniversalIdentifier
           
protected  List<AssetGlpeSourceDetail> sourceAssetGlpeSourceDetails
           
protected  List<AssetGlpeSourceDetail> targetAssetGlpeSourceDetails
           
protected  String transferOfFundsFinancialDocumentNumber
           
 
Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
generalLedgerPendingEntries
 
Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
 
Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
documentHeader
 
Fields inherited from class org.kuali.rice.kns.document.DocumentBase
documentBusinessObject, documentNumber
 
Fields inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
extension, versionNumber
 
Constructor Summary
AssetTransferDocument()
           
 
Method Summary
 void clearGlPostables()
           
 void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntry explicitEntry)
           
 boolean customizeOffsetGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail accountingLine, GeneralLedgerPendingEntry explicitEntry, GeneralLedgerPendingEntry offsetEntry)
           
 void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
          Override to call super and then iterate over all GLPEs and update the approved code appropriately.
 boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
          Creates any GeneralLedgerPostingEntry's that are based on a document, not those based on GeneralLedgerPendingEntrySourceDetail entries
 boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail postable, GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
          Generates any number of general ledger pending entries from a given general ledger pending entry source detail and adds them to this general ledger pending entry source
 Asset getAsset()
           
 org.kuali.rice.kim.bo.Person getAssetRepresentative()
          Gets the assetRepresentative attribute.
 Building getBuilding()
          Gets the building attribute.
 String getBuildingCode()
          Gets the buildingCode attribute.
 Room getBuildingRoom()
          Gets the buildingRoom attribute.
 String getBuildingRoomNumber()
          Gets the buildingRoomNumber attribute.
 String getBuildingSubRoomNumber()
          Gets the buildingSubRoomNumber attribute.
 org.kuali.rice.kns.bo.Campus getCampus()
          Gets the campus attribute.
 String getCampusCode()
          Gets the campusCode attribute.
protected  CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
           
 Long getCapitalAssetNumber()
          Gets the capitalAssetNumber attribute.
 String getDocumentNumber()
          Gets the documentNumber attribute.
 org.kuali.rice.kns.util.KualiDecimal getGeneralLedgerPendingEntryAmountForDetail(GeneralLedgerPendingEntrySourceDetail postable)
          A method to determine what the actual amount, based off of a GeneralLedgerPendingEntrySourceDetail, should be for the resultant GeneralLedgerPendingEntry
 List<GeneralLedgerPendingEntrySourceDetail> getGeneralLedgerPendingEntrySourceDetails()
          Returns a list of any GeneralLedgerPostables this helper has, to create GeneralLedgerPendingEntries
 List<GeneralLedgerPendingEntrySourceDetail> getGeneralLedgerPostables()
           
 String getHiddenFieldForError()
           
 String getOffCampusAddress()
          Gets the offCampusAddress attribute.
 String getOffCampusCityName()
          Gets the offCampusCityName attribute.
 org.kuali.rice.kns.bo.Country getOffCampusCountry()
          Gets the offCampusCountry attribute.
 String getOffCampusCountryCode()
           
 String getOffCampusName()
           
 org.kuali.rice.kns.bo.State getOffCampusState()
          Gets the offCampusState attribute.
 String getOffCampusStateCode()
          Gets the offCampusStateCode attribute.
 String getOffCampusZipCode()
          Gets the offCampusZipCode attribute.
 Account getOldOrganizationOwnerAccount()
          Gets the oldOrganizationOwnerAccount attribute.
 String getOldOrganizationOwnerAccountNumber()
           
 String getOldOrganizationOwnerChartOfAccountsCode()
           
 String getOrganizationInventoryName()
          Gets the organizationInventoryName attribute.
 Account getOrganizationOwnerAccount()
          Gets the organizationOwnerAccount attribute.
 String getOrganizationOwnerAccountNumber()
          Gets the organizationOwnerAccountNumber attribute.
 Chart getOrganizationOwnerChartOfAccounts()
          Gets the organizationOwnerChartOfAccounts attribute.
 String getOrganizationOwnerChartOfAccountsCode()
          Gets the organizationOwnerChartOfAccountsCode attribute.
 String getOrganizationTagNumber()
          Gets the organizationTagNumber attribute.
 String getOrganizationText()
          Gets the organizationText attribute.
 org.kuali.rice.kns.bo.PostalCode getPostalZipCode()
          Gets the postalZipCode attribute.
 String getRepresentativeUniversalIdentifier()
          Gets the representativeUniversalIdentifier attribute.
 List<AssetGlpeSourceDetail> getSourceAssetGlpeSourceDetails()
           
 List<AssetGlpeSourceDetail> getTargetAssetGlpeSourceDetails()
           
 TransferOfFundsDocument getTransferOfFundsFinancialDocument()
          Gets the transferOfFundsFinancialDocument attribute.
 String getTransferOfFundsFinancialDocumentNumber()
          Gets the transferOfFundsFinancialDocumentNumber attribute.
 boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
          This method determines if the passed in GeneralLedgerPendingEntrySourceDetail is a debit or not.
 boolean isInterdepartmentalSalesIndicator()
          Gets the interdepartmentalSalesIndicator attribute.
 void postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
           
 void setAsset(Asset asset)
           
 void setAssetRepresentative(org.kuali.rice.kim.bo.Person assetRepresentative)
          Sets the assetRepresentative attribute.
 void setBuilding(Building building)
          Deprecated.  
 void setBuildingCode(String buildingCode)
          Sets the buildingCode attribute.
 void setBuildingRoom(Room buildingRoom)
          Deprecated.  
 void setBuildingRoomNumber(String buildingRoomNumber)
          Sets the buildingRoomNumber attribute.
 void setBuildingSubRoomNumber(String buildingSubRoomNumber)
          Sets the buildingSubRoomNumber attribute.
 void setCampus(org.kuali.rice.kns.bo.Campus campus)
          Deprecated.  
 void setCampusCode(String campusCode)
          Sets the campusCode attribute.
 void setCapitalAssetNumber(Long capitalAssetNumber)
          Sets the capitalAssetNumber attribute value.
 void setDocumentNumber(String documentNumber)
          Sets the documentNumber attribute.
 void setGeneralLedgerPostables(List<AssetGlpeSourceDetail> generalLedgerPostables)
           
 void setHiddenFieldForError(String hiddenFieldForError)
           
 void setInterdepartmentalSalesIndicator(boolean interdepartmentalSalesIndicator)
          Sets the interdepartmentalSalesIndicator attribute.
 void setOffCampusAddress(String offCampusAddress)
          Sets the offCampusAddress attribute.
 void setOffCampusCityName(String offCampusCityName)
          Sets the offCampusCityName attribute.
 void setOffCampusCountry(org.kuali.rice.kns.bo.Country offCampusCountry)
          Deprecated.  
 void setOffCampusCountryCode(String offCampusCountryCode)
           
 void setOffCampusName(String offCampusName)
           
 void setOffCampusState(org.kuali.rice.kns.bo.State offCampusState)
          Deprecated.  
 void setOffCampusStateCode(String offCampusStateCode)
          Sets the offCampusStateCode attribute.
 void setOffCampusZipCode(String offCampusZipCode)
          Sets the offCampusZipCode attribute.
 void setOldOrganizationOwnerAccount(Account oldOrganizationOwnerAccount)
          Deprecated.  
 void setOldOrganizationOwnerAccountNumber(String oldOrganizationOwnerAccountNumber)
           
 void setOldOrganizationOwnerChartOfAccountsCode(String oldOrganizationOwnerChartOfAccountsCode)
           
 void setOrganizationInventoryName(String organizationInventoryName)
          Sets the organizationInventoryName attribute.
 void setOrganizationOwnerAccount(Account organizationOwnerAccount)
          Deprecated.  
 void setOrganizationOwnerAccountNumber(String organizationOwnerAccountNumber)
          Sets the organizationOwnerAccountNumber attribute.
 void setOrganizationOwnerChartOfAccounts(Chart organizationOwnerChartOfAccounts)
          Deprecated.  
 void setOrganizationOwnerChartOfAccountsCode(String organizationOwnerChartOfAccountsCode)
          Sets the organizationOwnerChartOfAccountsCode attribute.
 void setOrganizationTagNumber(String organizationTagNumber)
          Sets the organizationTagNumber attribute.
 void setOrganizationText(String organizationText)
          Sets the organizationText attribute.
 void setPostalZipCode(org.kuali.rice.kns.bo.PostalCode postalZipCode)
          Sets the postalZipCode attribute.
 void setRepresentativeUniversalIdentifier(String representativeUniversalIdentifier)
          Sets the representativeUniversalIdentifier attribute.
 void setSourceAssetGlpeSourceDetails(List<AssetGlpeSourceDetail> sourceAssetGlpeSourceDetails)
           
 void setTargetAssetGlpeSourceDetails(List<AssetGlpeSourceDetail> targetAssetGlpeSourceDetails)
           
 void setTransferOfFundsFinancialDocumentNumber(String transferOfFundsFinancialDocumentNumber)
          Sets the transferOfFundsFinancialDocumentNumber attribute.
protected  LinkedHashMap<String,String> toStringMapper()
           
 
Methods inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, documentPerformsSufficientFundsCheck, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, prepareForSave, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries, toCopy, toErrorCorrection
 
Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode, setPostingYear
 
Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
answerSplitNodeQuestion, getDocumentHeader, prepareForSave, processAfterRetrieve, setDocumentHeader
 
Methods inherited from class org.kuali.rice.kns.document.TransactionalDocumentBase
getAllowsCopy, isSessionDocument
 
Methods inherited from class org.kuali.rice.kns.document.DocumentBase
addCopyErrorDocumentNote, addPessimisticLock, afterLookup, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, buildListOfDeletionAwareLists, deleteNote, getAttachmentService, getBoNote, getBoNotes, getExtension, getNoteService, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isAutoIncrementSet, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, setAutoIncrementSet, setBoNotes, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber, supportsBoNotes
 
Methods inherited from class org.kuali.rice.kns.bo.BusinessObjectBase
prepareForWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getPostingYear
 
Methods inherited from interface org.kuali.kfs.sys.document.LedgerPostingDocument
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
 
Methods inherited from interface org.kuali.kfs.sys.document.FinancialSystemTransactionalDocument
answerSplitNodeQuestion, getDocumentHeader
 
Methods inherited from interface org.kuali.rice.kns.document.Document
addPessimisticLock, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
 
Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject
addNote, buildListOfDeletionAwareLists, deleteNote, getBoNote, getBoNotes, getExtension, getObjectId, getVersionNumber, isBoNotesSupport, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setAutoIncrementSet, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
 
Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject
prepareForWorkflow, refresh
 
Methods inherited from interface org.apache.ojb.broker.PersistenceBrokerAware
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate
 

Field Detail

LOG

protected static org.apache.log4j.Logger LOG

hiddenFieldForError

protected String hiddenFieldForError

representativeUniversalIdentifier

protected String representativeUniversalIdentifier

campusCode

protected String campusCode

buildingCode

protected String buildingCode

buildingRoomNumber

protected String buildingRoomNumber

buildingSubRoomNumber

protected String buildingSubRoomNumber

organizationTagNumber

protected String organizationTagNumber

organizationOwnerChartOfAccountsCode

protected String organizationOwnerChartOfAccountsCode

organizationOwnerAccountNumber

protected String organizationOwnerAccountNumber

organizationText

protected String organizationText

organizationInventoryName

protected String organizationInventoryName

transferOfFundsFinancialDocumentNumber

protected String transferOfFundsFinancialDocumentNumber

offCampusAddress

protected String offCampusAddress

offCampusCityName

protected String offCampusCityName

offCampusStateCode

protected String offCampusStateCode

offCampusZipCode

protected String offCampusZipCode

oldOrganizationOwnerChartOfAccountsCode

protected String oldOrganizationOwnerChartOfAccountsCode

oldOrganizationOwnerAccountNumber

protected String oldOrganizationOwnerAccountNumber

offCampusName

protected String offCampusName

offCampusCountryCode

protected String offCampusCountryCode

interdepartmentalSalesIndicator

protected boolean interdepartmentalSalesIndicator

capitalAssetNumber

protected Long capitalAssetNumber

assetRepresentative

protected org.kuali.rice.kim.bo.Person assetRepresentative

campus

protected org.kuali.rice.kns.bo.Campus campus

organizationOwnerAccount

protected Account organizationOwnerAccount

oldOrganizationOwnerAccount

protected Account oldOrganizationOwnerAccount

organizationOwnerChartOfAccounts

protected Chart organizationOwnerChartOfAccounts

offCampusState

protected org.kuali.rice.kns.bo.State offCampusState

offCampusCountry

protected org.kuali.rice.kns.bo.Country offCampusCountry

building

protected Building building

buildingRoom

protected Room buildingRoom

sourceAssetGlpeSourceDetails

protected transient List<AssetGlpeSourceDetail> sourceAssetGlpeSourceDetails

targetAssetGlpeSourceDetails

protected transient List<AssetGlpeSourceDetail> targetAssetGlpeSourceDetails

asset

protected Asset asset

postalZipCode

protected org.kuali.rice.kns.bo.PostalCode postalZipCode
Constructor Detail

AssetTransferDocument

public AssetTransferDocument()
Method Detail

customizeExplicitGeneralLedgerPendingEntry

public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
                                                       GeneralLedgerPendingEntry explicitEntry)
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource#customizeExplicitGeneralLedgerPendingEntry(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntry)

customizeOffsetGeneralLedgerPendingEntry

public boolean customizeOffsetGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail accountingLine,
                                                        GeneralLedgerPendingEntry explicitEntry,
                                                        GeneralLedgerPendingEntry offsetEntry)
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource#customizeOffsetGeneralLedgerPendingEntry(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntry, org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntry)

generateDocumentGeneralLedgerPendingEntries

public boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Description copied from interface: GeneralLedgerPendingEntrySource
Creates any GeneralLedgerPostingEntry's that are based on a document, not those based on GeneralLedgerPendingEntrySourceDetail entries

Specified by:
generateDocumentGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySource
Parameters:
sequenceHelper - a sequence helper for the method to create more general ledger pending entries
Returns:
true if the pending entries were able to be successfully created and added to this GeneralLedgerPendingEntrySource; false if an error condition occurred with mean that GLPEs were not correctly generated
See Also:
GeneralLedgerPendingEntrySource.generateDocumentGeneralLedgerPendingEntries(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)

getAsset

public Asset getAsset()

getAssetRepresentative

public org.kuali.rice.kim.bo.Person getAssetRepresentative()
Gets the assetRepresentative attribute.

Returns:
Returns the assetRepresentative

setAssetRepresentative

public void setAssetRepresentative(org.kuali.rice.kim.bo.Person assetRepresentative)
Sets the assetRepresentative attribute.

Parameters:
assetRepresentative - The assetRepresentative to set.

getBuilding

public Building getBuilding()
Gets the building attribute.

Returns:
Returns the building.

getBuildingCode

public String getBuildingCode()
Gets the buildingCode attribute.

Returns:
Returns the buildingCode

getBuildingRoom

public Room getBuildingRoom()
Gets the buildingRoom attribute.

Returns:
Returns the buildingRoom.

getBuildingRoomNumber

public String getBuildingRoomNumber()
Gets the buildingRoomNumber attribute.

Returns:
Returns the buildingRoomNumber

getBuildingSubRoomNumber

public String getBuildingSubRoomNumber()
Gets the buildingSubRoomNumber attribute.

Returns:
Returns the buildingSubRoomNumber

getCampus

public org.kuali.rice.kns.bo.Campus getCampus()
Gets the campus attribute.

Returns:
Returns the campus

getCampusCode

public String getCampusCode()
Gets the campusCode attribute.

Returns:
Returns the campusCode

getDocumentNumber

public String getDocumentNumber()
Gets the documentNumber attribute.

Specified by:
getDocumentNumber in interface org.kuali.rice.kns.document.Document
Overrides:
getDocumentNumber in class org.kuali.rice.kns.document.DocumentBase
Returns:
Returns the documentNumber

getGeneralLedgerPendingEntryAmountForDetail

public org.kuali.rice.kns.util.KualiDecimal getGeneralLedgerPendingEntryAmountForDetail(GeneralLedgerPendingEntrySourceDetail postable)
Description copied from interface: GeneralLedgerPendingEntrySource
A method to determine what the actual amount, based off of a GeneralLedgerPendingEntrySourceDetail, should be for the resultant GeneralLedgerPendingEntry

Specified by:
getGeneralLedgerPendingEntryAmountForDetail in interface GeneralLedgerPendingEntrySource
Parameters:
postable - the detail line from the general ledger pending entry source to find an amount for
Returns:
The amount that will be used to populate the amount on the generated general ledger pending entry for the given source detail
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource#getGeneralLedgerPendingEntryAmountForGeneralLedgerPostable(org.kuali.kfs.sys.businessobject.GeneralLedgerPendingEntrySourceDetail)

getSourceAssetGlpeSourceDetails

public List<AssetGlpeSourceDetail> getSourceAssetGlpeSourceDetails()

generateGeneralLedgerPendingEntries

public boolean generateGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySourceDetail postable,
                                                   GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
Description copied from interface: GeneralLedgerPendingEntrySource
Generates any number of general ledger pending entries from a given general ledger pending entry source detail and adds them to this general ledger pending entry source

Specified by:
generateGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySource
Parameters:
postable - the source detail line to generate general ledger pending entries for
sequenceHelper - the sequence helper which will assign sequence number to generated general ledger pending entries
Returns:
true if general ledger pending entry generation was successful; false if an error condition prevented the successful generation of the pending entries

getOffCampusAddress

public String getOffCampusAddress()
Gets the offCampusAddress attribute.

Returns:
Returns the offCampusAddress

getOffCampusCityName

public String getOffCampusCityName()
Gets the offCampusCityName attribute.

Returns:
Returns the offCampusCityName

getOffCampusState

public org.kuali.rice.kns.bo.State getOffCampusState()
Gets the offCampusState attribute.

Returns:
Returns the offCampusState.

getOffCampusStateCode

public String getOffCampusStateCode()
Gets the offCampusStateCode attribute.

Returns:
Returns the offCampusStateCode

getOffCampusZipCode

public String getOffCampusZipCode()
Gets the offCampusZipCode attribute.

Returns:
Returns the offCampusZipCode

getPostalZipCode

public org.kuali.rice.kns.bo.PostalCode getPostalZipCode()
Gets the postalZipCode attribute.

Returns:
Returns the postalZipCode

getOffCampusCountry

public org.kuali.rice.kns.bo.Country getOffCampusCountry()
Gets the offCampusCountry attribute.

Returns:
Returns the offCampusCountry.

getOrganizationInventoryName

public String getOrganizationInventoryName()
Gets the organizationInventoryName attribute.

Returns:
Returns the organizationInventoryName

getOrganizationOwnerAccount

public Account getOrganizationOwnerAccount()
Gets the organizationOwnerAccount attribute.

Returns:
Returns the organizationOwnerAccount

getOldOrganizationOwnerAccount

public Account getOldOrganizationOwnerAccount()
Gets the oldOrganizationOwnerAccount attribute.

Returns:
Returns the oldOrganizationOwnerAccount

getOrganizationOwnerAccountNumber

public String getOrganizationOwnerAccountNumber()
Gets the organizationOwnerAccountNumber attribute.

Returns:
Returns the organizationOwnerAccountNumber

getOrganizationOwnerChartOfAccounts

public Chart getOrganizationOwnerChartOfAccounts()
Gets the organizationOwnerChartOfAccounts attribute.

Returns:
Returns the organizationOwnerChartOfAccounts

getOrganizationOwnerChartOfAccountsCode

public String getOrganizationOwnerChartOfAccountsCode()
Gets the organizationOwnerChartOfAccountsCode attribute.

Returns:
Returns the organizationOwnerChartOfAccountsCode

getOrganizationTagNumber

public String getOrganizationTagNumber()
Gets the organizationTagNumber attribute.

Returns:
Returns the organizationTagNumber

getOrganizationText

public String getOrganizationText()
Gets the organizationText attribute.

Returns:
Returns the organizationText

getRepresentativeUniversalIdentifier

public String getRepresentativeUniversalIdentifier()
Gets the representativeUniversalIdentifier attribute.

Returns:
Returns the representativeUniversalIdentifier

getTransferOfFundsFinancialDocument

public TransferOfFundsDocument getTransferOfFundsFinancialDocument()
Gets the transferOfFundsFinancialDocument attribute.

Returns:
Returns the transferOfFundsFinancialDocument.

getTransferOfFundsFinancialDocumentNumber

public String getTransferOfFundsFinancialDocumentNumber()
Gets the transferOfFundsFinancialDocumentNumber attribute.

Returns:
Returns the transferOfFundsFinancialDocumentNumber

getCapitalAssetNumber

public Long getCapitalAssetNumber()
Gets the capitalAssetNumber attribute.

Returns:
Returns the capitalAssetNumber.

setCapitalAssetNumber

public void setCapitalAssetNumber(Long capitalAssetNumber)
Sets the capitalAssetNumber attribute value.

Parameters:
capitalAssetNumber - The capitalAssetNumber to set.

postProcessSave

public void postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
Specified by:
postProcessSave in interface org.kuali.rice.kns.document.Document
Overrides:
postProcessSave in class org.kuali.rice.kns.document.DocumentBase
See Also:
DocumentBase.postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent)

getCapitalAssetManagementModuleService

protected CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()

doRouteStatusChange

public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Description copied from class: GeneralLedgerPostingDocumentBase
Override to call super and then iterate over all GLPEs and update the approved code appropriately.

Specified by:
doRouteStatusChange in interface org.kuali.rice.kns.document.Document
Overrides:
doRouteStatusChange in class GeneralLedgerPostingDocumentBase
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()

isDebit

public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Description copied from interface: GeneralLedgerPendingEntrySource
This method determines if the passed in GeneralLedgerPendingEntrySourceDetail is a debit or not.

Specified by:
isDebit in interface GeneralLedgerPendingEntrySource
Returns:
true if the given GeneralLedgerPendingEntrySourceDetail is a debit, false if it is a credit

isInterdepartmentalSalesIndicator

public boolean isInterdepartmentalSalesIndicator()
Gets the interdepartmentalSalesIndicator attribute.

Returns:
Returns the interdepartmentalSalesIndicator

setAsset

public void setAsset(Asset asset)

setBuilding

public void setBuilding(Building building)
Deprecated. 

Sets the building attribute value.

Parameters:
building - The building to set.

setBuildingCode

public void setBuildingCode(String buildingCode)
Sets the buildingCode attribute.

Parameters:
buildingCode - The buildingCode to set.

setBuildingRoom

public void setBuildingRoom(Room buildingRoom)
Deprecated. 

Sets the buildingRoom attribute value.

Parameters:
buildingRoom - The buildingRoom to set.

setBuildingRoomNumber

public void setBuildingRoomNumber(String buildingRoomNumber)
Sets the buildingRoomNumber attribute.

Parameters:
buildingRoomNumber - The buildingRoomNumber to set.

setBuildingSubRoomNumber

public void setBuildingSubRoomNumber(String buildingSubRoomNumber)
Sets the buildingSubRoomNumber attribute.

Parameters:
buildingSubRoomNumber - The buildingSubRoomNumber to set.

setCampus

public void setCampus(org.kuali.rice.kns.bo.Campus campus)
Deprecated. 

Sets the campus attribute.

Parameters:
campus - The campus to set.

setCampusCode

public void setCampusCode(String campusCode)
Sets the campusCode attribute.

Parameters:
campusCode - The campusCode to set.

setDocumentNumber

public void setDocumentNumber(String documentNumber)
Sets the documentNumber attribute.

Specified by:
setDocumentNumber in interface org.kuali.rice.kns.document.Document
Overrides:
setDocumentNumber in class org.kuali.rice.kns.document.DocumentBase
Parameters:
documentNumber - The documentNumber to set.

setGeneralLedgerPostables

public void setGeneralLedgerPostables(List<AssetGlpeSourceDetail> generalLedgerPostables)

setInterdepartmentalSalesIndicator

public void setInterdepartmentalSalesIndicator(boolean interdepartmentalSalesIndicator)
Sets the interdepartmentalSalesIndicator attribute.

Parameters:
interdepartmentalSalesIndicator - The interdepartmentalSalesIndicator to set.

setOffCampusAddress

public void setOffCampusAddress(String offCampusAddress)
Sets the offCampusAddress attribute.

Parameters:
offCampusAddress - The offCampusAddress to set.

setOffCampusCityName

public void setOffCampusCityName(String offCampusCityName)
Sets the offCampusCityName attribute.

Parameters:
offCampusCityName - The offCampusCityName to set.

setOffCampusState

public void setOffCampusState(org.kuali.rice.kns.bo.State offCampusState)
Deprecated. 

Sets the offCampusState attribute value.

Parameters:
offCampusState - The offCampusState to set.

setOffCampusStateCode

public void setOffCampusStateCode(String offCampusStateCode)
Sets the offCampusStateCode attribute.

Parameters:
offCampusStateCode - The offCampusStateCode to set.

setOffCampusZipCode

public void setOffCampusZipCode(String offCampusZipCode)
Sets the offCampusZipCode attribute.

Parameters:
offCampusZipCode - The offCampusZipCode to set.

setPostalZipCode

public void setPostalZipCode(org.kuali.rice.kns.bo.PostalCode postalZipCode)
Sets the postalZipCode attribute.

Parameters:
postalZipCode - The postalZipCode to set.

setOffCampusCountry

public void setOffCampusCountry(org.kuali.rice.kns.bo.Country offCampusCountry)
Deprecated. 

Sets the offCampusCountry attribute value.

Parameters:
offCampusCountry - The offCampusCountry to set.

setOrganizationInventoryName

public void setOrganizationInventoryName(String organizationInventoryName)
Sets the organizationInventoryName attribute.

Parameters:
organizationInventoryName - The organizationInventoryName to set.

setOrganizationOwnerAccount

public void setOrganizationOwnerAccount(Account organizationOwnerAccount)
Deprecated. 

Sets the organizationOwnerAccount attribute.

Parameters:
organizationOwnerAccount - The organizationOwnerAccount to set.

setOldOrganizationOwnerAccount

public void setOldOrganizationOwnerAccount(Account oldOrganizationOwnerAccount)
Deprecated. 

Sets the oldOrganizationOwnerAccount attribute.

Parameters:
oldOrganizationOwnerAccount - The oldOrganizationOwnerAccount to set.

setOrganizationOwnerAccountNumber

public void setOrganizationOwnerAccountNumber(String organizationOwnerAccountNumber)
Sets the organizationOwnerAccountNumber attribute.

Parameters:
organizationOwnerAccountNumber - The organizationOwnerAccountNumber to set.

setOrganizationOwnerChartOfAccounts

public void setOrganizationOwnerChartOfAccounts(Chart organizationOwnerChartOfAccounts)
Deprecated. 

Sets the organizationOwnerChartOfAccounts attribute.

Parameters:
organizationOwnerChartOfAccounts - The organizationOwnerChartOfAccounts to set.

setOrganizationOwnerChartOfAccountsCode

public void setOrganizationOwnerChartOfAccountsCode(String organizationOwnerChartOfAccountsCode)
Sets the organizationOwnerChartOfAccountsCode attribute.

Parameters:
organizationOwnerChartOfAccountsCode - The organizationOwnerChartOfAccountsCode to set.

setOrganizationTagNumber

public void setOrganizationTagNumber(String organizationTagNumber)
Sets the organizationTagNumber attribute.

Parameters:
organizationTagNumber - The organizationTagNumber to set.

setOrganizationText

public void setOrganizationText(String organizationText)
Sets the organizationText attribute.

Parameters:
organizationText - The organizationText to set.

setRepresentativeUniversalIdentifier

public void setRepresentativeUniversalIdentifier(String representativeUniversalIdentifier)
Sets the representativeUniversalIdentifier attribute.

Parameters:
representativeUniversalIdentifier - The representativeUniversalIdentifier to set.

setTransferOfFundsFinancialDocumentNumber

public void setTransferOfFundsFinancialDocumentNumber(String transferOfFundsFinancialDocumentNumber)
Sets the transferOfFundsFinancialDocumentNumber attribute.

Parameters:
transferOfFundsFinancialDocumentNumber - The transferOfFundsFinancialDocumentNumber to set.

toStringMapper

protected LinkedHashMap<String,String> toStringMapper()
Overrides:
toStringMapper in class org.kuali.rice.kns.document.DocumentBase
See Also:
BusinessObjectBase.toStringMapper()

getGeneralLedgerPendingEntrySourceDetails

public List<GeneralLedgerPendingEntrySourceDetail> getGeneralLedgerPendingEntrySourceDetails()
Description copied from interface: GeneralLedgerPendingEntrySource
Returns a list of any GeneralLedgerPostables this helper has, to create GeneralLedgerPendingEntries

Specified by:
getGeneralLedgerPendingEntrySourceDetails in interface GeneralLedgerPendingEntrySource
Returns:
a list of GeneralLedgerPostables
See Also:
org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource#getGeneralLedgerPostables()

getTargetAssetGlpeSourceDetails

public List<AssetGlpeSourceDetail> getTargetAssetGlpeSourceDetails()

setTargetAssetGlpeSourceDetails

public void setTargetAssetGlpeSourceDetails(List<AssetGlpeSourceDetail> targetAssetGlpeSourceDetails)

setSourceAssetGlpeSourceDetails

public void setSourceAssetGlpeSourceDetails(List<AssetGlpeSourceDetail> sourceAssetGlpeSourceDetails)

getGeneralLedgerPostables

public List<GeneralLedgerPendingEntrySourceDetail> getGeneralLedgerPostables()

getOffCampusCountryCode

public String getOffCampusCountryCode()

setOffCampusCountryCode

public void setOffCampusCountryCode(String offCampusCountryCode)

getOffCampusName

public String getOffCampusName()

setOffCampusName

public void setOffCampusName(String offCampusName)

getOldOrganizationOwnerAccountNumber

public String getOldOrganizationOwnerAccountNumber()

setOldOrganizationOwnerAccountNumber

public void setOldOrganizationOwnerAccountNumber(String oldOrganizationOwnerAccountNumber)

getOldOrganizationOwnerChartOfAccountsCode

public String getOldOrganizationOwnerChartOfAccountsCode()

setOldOrganizationOwnerChartOfAccountsCode

public void setOldOrganizationOwnerChartOfAccountsCode(String oldOrganizationOwnerChartOfAccountsCode)

clearGlPostables

public void clearGlPostables()

getHiddenFieldForError

public String getHiddenFieldForError()

setHiddenFieldForError

public void setHiddenFieldForError(String hiddenFieldForError)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.