|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AccountingDocument
This is the FinancialDocument interface. The TransactionalDocument interface should extend this. It represents any document that exists within the Financial Transactions module, but isn't transactional (i.e. no accounting lines). This interface was put in place to facilitate the CashManagementDocument which is a Financial Transaction module document, but doesn't have accounting lines.
Method Summary | |
---|---|
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.kns.util.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.kns.util.KualiDecimal |
getTargetTotal()
Sums up the amounts of all of the target accounting lines. |
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. |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPostingDocument |
---|
checkSufficientFunds, getGeneralLedgerPendingEntries, getGeneralLedgerPendingEntry, getPendingLedgerEntriesForSufficientFundsChecking, setGeneralLedgerPendingEntries |
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, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, 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 |
Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, generateDocumentGeneralLedgerPendingEntries, generateGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getGeneralLedgerPendingEntryAmountForDetail, getGeneralLedgerPendingEntrySourceDetails, getPostingYear, isDebit |
Method Detail |
---|
String getSourceAccountingLinesSectionTitle()
String getTargetAccountingLinesSectionTitle()
org.kuali.rice.kns.util.KualiDecimal getTargetTotal()
org.kuali.rice.kns.util.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |