public class AdvanceDepositDocument extends CashReceiptFamilyBase implements org.kuali.rice.krad.document.Copyable, AmountTotaling
| Modifier and Type | Field and Description | 
|---|---|
| static String | ADVANCE_DEPOSIT_DOCUMENT_TYPE_CODE | 
| protected List<AdvanceDepositDetail> | advanceDeposits | 
| protected Integer | nextAdvanceDepositLineNumber | 
| protected org.kuali.rice.core.api.util.type.KualiDecimal | totalAdvanceDepositAmount | 
campusLocationCode, depositDate, LOGcapitalAccountingLinescapitalAssetInformation, nextCapitalAssetLineNumberdataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLinesgeneralLedgerPendingEntriesaccountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description | 
|---|
| AdvanceDepositDocument()Default constructor that calls super. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addAdvanceDeposit(AdvanceDepositDetail advanceDepositDetail)Adds a new advance deposit to the list. | 
| List | buildListOfDeletionAwareLists()Overrides super to call super and then also add in the new list of advance deposits that have to be managed. | 
| void | doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)This method defers to its parent's version of handleRouteStatusChange, but then, if the document is processed, it creates
 ElectronicPaymentClaim records for any qualifying accountings lines in the document. | 
| boolean | generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)Generates bank offset GLPEs for deposits, if enabled. | 
| AdvanceDepositDetail | getAdvanceDepositDetail(int index)Retrieve a particular advance deposit at a given index in the list of advance deposits. | 
| List<AdvanceDepositDetail> | getAdvanceDeposits()Gets the list of advance deposits which is a list of AdvanceDepositDetail business objects. | 
| String | getCurrencyFormattedTotalAdvanceDepositAmount()This method returns the advance deposit total amount as a currency formatted string. | 
| Integer | getNextAdvanceDepositLineNumber() | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getTotalAdvanceDepositAmount()Gets the total advance deposit amount. | 
| org.kuali.rice.core.api.util.type.KualiDecimal | getTotalDollarAmount()This method returns the overall total of the document - the advance deposit total. | 
| void | postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) | 
| void | prepareNewAdvanceDeposit(AdvanceDepositDetail advanceDepositDetail)This is a helper method that automatically populates document specfic information into the advance deposit
 (AdvanceDepositDetail) instance. | 
| void | removeAdvanceDeposit(int index)This method removes an advance deposit from the list and updates the total appropriately. | 
| void | setAdvanceDeposits(List<AdvanceDepositDetail> advanceDeposits)Sets the advance deposits list. | 
| void | setNextAdvanceDepositLineNumber(Integer nextAdvanceDepositLineNumber) | 
| void | setTotalAdvanceDepositAmount(org.kuali.rice.core.api.util.type.KualiDecimal advanceDepositAmount)Sets the total advance deposit amount which is the sum of all advance deposits on this document. | 
customizeExplicitGeneralLedgerPendingEntry, documentPerformsSufficientFundsCheck, getCampusLocationCode, getCapitalAssetInformation, getCapitalAssetManagementModuleService, getDepositDate, getSourceAccountingLinesSectionTitle, getSourceTotal, getTargetAccountingLinesSectionTitle, getTargetTotal, isDebit, setCampusLocationCode, setCapitalAssetInformation, setDepositDategetCapitalAccountingLines, setCapitalAccountingLinesgetNextCapitalAssetLineNumber, setNextCapitalAssetLineNumberaddSourceAccountingLine, addTargetAccountingLine, buildAccountingLineMap, copyAccountingLines, customizeOffsetGeneralLedgerPendingEntry, generateEvents, generateGeneralLedgerPendingEntries, generateSaveEvents, getAccountingLineParser, getDataDictionaryEntry, getDocumentClassForAccountingLineValueAllowedValidation, getEntryValue, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getNextSourceLineNumber, getNextTargetLineNumber, getPersistedSourceAccountingLinesForComparison, getPersistedTargetAccountingLinesForComparison, getSourceAccountingLine, getSourceAccountingLineClass, getSourceAccountingLineEntryName, getSourceAccountingLines, getSourceAccountingLinesForComparison, getTargetAccountingLine, getTargetAccountingLineClass, getTargetAccountingLineEntryName, getTargetAccountingLines, getTargetAccountingLinesForComparison, isDocumentFinalOrProcessed, prepareForSave, processExplicitGeneralLedgerPendingEntry, processOffsetGeneralLedgerPendingEntry, setNextSourceLineNumber, setNextTargetLineNumber, setSourceAccountingLines, setTargetAccountingLines, toCopy, toErrorCorrection, updatePostingYearForAccountingLinesaddPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntriescreateInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcheckSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntriesgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationgetExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberaddPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYearpublic static final String ADVANCE_DEPOSIT_DOCUMENT_TYPE_CODE
protected List<AdvanceDepositDetail> advanceDeposits
protected Integer nextAdvanceDepositLineNumber
protected org.kuali.rice.core.api.util.type.KualiDecimal totalAdvanceDepositAmount
public AdvanceDepositDocument()
public org.kuali.rice.core.api.util.type.KualiDecimal getTotalAdvanceDepositAmount()
public String getCurrencyFormattedTotalAdvanceDepositAmount()
public void setTotalAdvanceDepositAmount(org.kuali.rice.core.api.util.type.KualiDecimal advanceDepositAmount)
advanceDepositAmount - public List<AdvanceDepositDetail> getAdvanceDeposits()
public void setAdvanceDeposits(List<AdvanceDepositDetail> advanceDeposits)
advanceDeposits - public void addAdvanceDeposit(AdvanceDepositDetail advanceDepositDetail)
advanceDepositDetail - public final void prepareNewAdvanceDeposit(AdvanceDepositDetail advanceDepositDetail)
advanceDepositDetail - public AdvanceDepositDetail getAdvanceDepositDetail(int index)
index - public void removeAdvanceDeposit(int index)
index - public Integer getNextAdvanceDepositLineNumber()
public void setNextAdvanceDepositLineNumber(Integer nextAdvanceDepositLineNumber)
nextAdvanceDepositLineNumber - public org.kuali.rice.core.api.util.type.KualiDecimal getTotalDollarAmount()
getTotalDollarAmount in interface AmountTotalinggetTotalDollarAmount in class AccountingDocumentBaseAccountingDocumentBase.getTotalDollarAmount()public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class CapitalAssetInformationDocumentBaseorg.kuali.ole.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.krad.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class CapitalAssetInformationDocumentBasePersistableBusinessObjectBase.buildListOfDeletionAwareLists()public boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateDocumentGeneralLedgerPendingEntries in interface GeneralLedgerPendingEntrySourcegenerateDocumentGeneralLedgerPendingEntries in class AccountingDocumentBasefinancialDocument - submitted financial documentsequenceHelper - helper class which will allows us to increment a reference without using an Integerorg.kuali.rice.krad.rule.GenerateGeneralLedgerDocumentPendingEntriesRule#processGenerateDocumentGeneralLedgerPendingEntries(org.kuali.rice.krad.document.FinancialDocument,org.kuali.ole.sys.businessobject.GeneralLedgerPendingEntrySequenceHelper)public void postProcessSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
postProcessSave in interface org.kuali.rice.krad.document.DocumentpostProcessSave in class org.kuali.rice.krad.document.DocumentBaseCopyright © 2004–2015 The Kuali Foundation. All rights reserved.