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, LOG
capitalAccountingLines
capitalAssetInformation, nextCapitalAssetLineNumber
dataDictionaryEntry, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines
generalLedgerPendingEntries
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear
UPDATE_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, setDepositDate
getCapitalAccountingLines, setCapitalAccountingLines
getNextCapitalAssetLineNumber, setNextCapitalAssetLineNumber
addSourceAccountingLine, 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, updatePostingYearForAccountingLines
addPendingEntry, changeGeneralLedgerPendingEntriesApprovedStatusCode, checkSufficientFunds, clearAnyGeneralLedgerPendingEntries, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, removeGeneralLedgerPendingEntries, setGeneralLedgerPendingEntries
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatus
getAllowsCopy, isSessionDocument
addCopyErrorDocumentNote, 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, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, 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, wrapDocumentWithMetadataForXmlSerialization
getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getPostingYear
public 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 AmountTotaling
getTotalDollarAmount
in class AccountingDocumentBase
AccountingDocumentBase.getTotalDollarAmount()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class CapitalAssetInformationDocumentBase
org.kuali.ole.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists
in interface org.kuali.rice.krad.bo.PersistableBusinessObject
buildListOfDeletionAwareLists
in class CapitalAssetInformationDocumentBase
PersistableBusinessObjectBase.buildListOfDeletionAwareLists()
public boolean generateDocumentGeneralLedgerPendingEntries(GeneralLedgerPendingEntrySequenceHelper sequenceHelper)
generateDocumentGeneralLedgerPendingEntries
in interface GeneralLedgerPendingEntrySource
generateDocumentGeneralLedgerPendingEntries
in class AccountingDocumentBase
financialDocument
- 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.Document
postProcessSave
in class org.kuali.rice.krad.document.DocumentBase
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.