public interface AccountingDocument extends GeneralLedgerPostingDocument, GeneralLedgerPendingEntrySource
Modifier and Type | Method and Description |
---|---|
void |
addSourceAccountingLine(SourceAccountingLine line)
This method adds a source accounting line.
|
void |
addTargetAccountingLine(TargetAccountingLine line)
This method adds a target accounting line to the document.
|
AccountingLineParser |
getAccountingLineParser() |
Class<? extends AccountingDocument> |
getDocumentClassForAccountingLineValueAllowedValidation()
This method returns the Class to use for AccountingLingValuesAllowedValidation.
|
Integer |
getNextSourceLineNumber()
Retrieves the next line sequence number for an accounting line in the Source accounting line section on a transactional
document.
|
Integer |
getNextTargetLineNumber()
Retrieves the next line sequence number for an accounting line in the Target accounting line section on a transactional
document.
|
SourceAccountingLine |
getSourceAccountingLine(int index)
This method returns the accounting line at a particular spot in the overall list of accounting lines.
|
Class |
getSourceAccountingLineClass() |
String |
getSourceAccountingLineEntryName() |
List |
getSourceAccountingLines()
This method returns a list of target accounting lines.
|
String |
getSourceAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getSourceTotal()
Sums up the amounts of all of the source accounting lines.
|
TargetAccountingLine |
getTargetAccountingLine(int index)
This method retrieves the target accounting line at the specified index.
|
Class |
getTargetAccountingLineClass() |
String |
getTargetAccountingLineEntryName() |
List |
getTargetAccountingLines()
This method retrieves all of the target accounting lines associated with this document.
|
String |
getTargetAccountingLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source accounting line section.
|
org.kuali.rice.core.api.util.type.KualiDecimal |
getTargetTotal()
Sums up the amounts of all of the target accounting lines.
|
boolean |
isDocumentFinalOrProcessed()
This method check the document status to determine whether the document is final/processed or not.
|
void |
setNextSourceLineNumber(Integer nextLineNumber) |
void |
setNextTargetLineNumber(Integer nextLineNumber) |
void |
setSourceAccountingLines(List sourceLines)
This method sets the list of source accounting lines for this document.
|
void |
setTargetAccountingLines(List targetLines)
This method sets the list of target accounting lines for this document.
|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries
getAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYear
answerSplitNodeQuestion, getFinancialSystemDocumentHeader
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getFinancialSystemDocumentHeader, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit
String getSourceAccountingLinesSectionTitle()
String getTargetAccountingLinesSectionTitle()
org.kuali.rice.core.api.util.type.KualiDecimal getTargetTotal()
org.kuali.rice.core.api.util.type.KualiDecimal getSourceTotal()
AccountingLineParser getAccountingLineParser()
Class getSourceAccountingLineClass()
Class getTargetAccountingLineClass()
String getSourceAccountingLineEntryName()
String getTargetAccountingLineEntryName()
Integer getNextSourceLineNumber()
void setNextSourceLineNumber(Integer nextLineNumber)
nextLineNumber
- Integer getNextTargetLineNumber()
void setNextTargetLineNumber(Integer nextLineNumber)
nextLineNumber
- void addSourceAccountingLine(SourceAccountingLine line)
line
- List getSourceAccountingLines()
SourceAccountingLine getSourceAccountingLine(int index)
index
- void setSourceAccountingLines(List sourceLines)
sourceLines
- void addTargetAccountingLine(TargetAccountingLine line)
line
- List getTargetAccountingLines()
TargetAccountingLine getTargetAccountingLine(int index)
index
- void setTargetAccountingLines(List targetLines)
targetLines
- Class<? extends AccountingDocument> getDocumentClassForAccountingLineValueAllowedValidation()
boolean isDocumentFinalOrProcessed()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.