|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kns.bo.BusinessObjectBase
org.kuali.rice.kns.bo.PersistableBusinessObjectBase
org.kuali.rice.kns.document.DocumentBase
org.kuali.rice.kns.document.TransactionalDocumentBase
org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase
org.kuali.kfs.module.endow.document.EndowmentTransactionalDocumentBase
org.kuali.kfs.module.endow.document.EndowmentTransactionLinesDocumentBase
public abstract class EndowmentTransactionLinesDocumentBase
| Field Summary | |
|---|---|
protected Integer |
nextSourceLineNumber
|
protected Integer |
nextTargetLineNumber
|
protected List<EndowmentTransactionLine> |
sourceTransactionLines
|
protected List<EndowmentTransactionLine> |
targetTransactionLines
|
| Fields inherited from class org.kuali.kfs.module.endow.document.EndowmentTransactionalDocumentBase |
|---|
businessObjectService, CHECK_IF_ROUTE_SPLIT, dateTimeService, noRouteIndicator, transactionPosted, transactionSourceType, transactionSourceTypeCode, transactionSubType, transactionSubTypeCode |
| Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
documentHeader, LOG |
| 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 | |
|---|---|
EndowmentTransactionLinesDocumentBase()
Constructs a EndowmentTransactionLinesDocumentBase.java. |
|
| Method Summary | |
|---|---|
void |
addSourceTransactionLine(EndowmentSourceTransactionLine line)
This method adds a source transaction line. |
void |
addTargetTransactionLine(EndowmentTargetTransactionLine line)
This method adds a target transaction line to the document. |
List |
buildListOfDeletionAwareLists()
|
LineParser |
getLineParser()
|
Integer |
getNextSourceLineNumber()
Retrieves the next line sequence number for a transaction line in the Source transaction line section on an endowment transactional document. |
Integer |
getNextTargetLineNumber()
Retrieves the next line sequence number for an transaction line in the Target transaction line section on an endowment transactional document. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceIncomeTotal()
Sums up the amounts of all of the source transaction lines for income. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceIncomeTotalUnits()
Sums up the units of all the source transaction lines for income. |
org.kuali.rice.kns.util.KualiDecimal |
getSourcePrincipalTotal()
Sums up the amounts of all of the source transaction lines for principal. |
org.kuali.rice.kns.util.KualiDecimal |
getSourcePrincipalTotalUnits()
Sums up the units of all source transaction lines for principal. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceTotalAmount()
Compute the total amount for the source transaction lines. |
org.kuali.rice.kns.util.KualiDecimal |
getSourceTotalUnits()
Computes the total units for the source transaction lines. |
EndowmentSourceTransactionLine |
getSourceTransactionLine(int index)
This method returns the transaction line at a particular spot in the overall list of transaction lines. |
List<EndowmentTransactionLine> |
getSourceTransactionLines()
This method returns a list of source transaction lines. |
String |
getSourceTransactionLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's source transaction line section. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetIncomeTotal()
Sums up the amounts of all of the target transaction lines for income. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetIncomeTotalUnits()
Sums up the units of all the target transaction lines for income. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetPrincipalTotal()
Sums up the amounts of all of the target transaction lines for principal. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetPrincipalTotalUnits()
Sums up the units of all source transaction lines for principal. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetTotalAmount()
Compute the total amount for the target transaction lines. |
org.kuali.rice.kns.util.KualiDecimal |
getTargetTotalUnits()
Computes the total units for the target transaction lines. |
EndowmentTargetTransactionLine |
getTargetTransactionLine(int index)
This method retrieves the target transaction line at the specified index. |
List<EndowmentTransactionLine> |
getTargetTransactionLines()
This method retrieves all of the target transaction lines associated with this document. |
String |
getTargetTransactionLinesSectionTitle()
This method is used to return the title that a transactional document should give to it's target transaction line section. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalDollarAmount()
Base implementation to compute the document total amount. |
org.kuali.rice.kns.util.KualiDecimal |
getTotalUnits()
Base implementation to compute the document total units. |
Class |
getTranLineClass(boolean isSource)
|
EndowmentTransactionLineParser |
getTransactionLineParser()
|
void |
setNextSourceLineNumber(Integer nextSourceLineNumber)
|
void |
setNextTargetLineNumber(Integer nextTargetLineNumber)
|
void |
setSourceTransactionLines(List<EndowmentTransactionLine> sourceTransactionLines)
This method sets the list of source transaction lines for this document. |
void |
setTargetTransactionLines(List<EndowmentTransactionLine> targetTransactionLines)
This method sets the list of target transaction lines for this document. |
void |
toCopy()
|
void |
toErrorCorrection()
|
| Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
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, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postProcessSave, prepareForSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setPessimisticLocks, toString, toStringBuilder, toStringMapper, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
| Methods inherited from class org.kuali.rice.kns.bo.PersistableBusinessObjectBase |
|---|
addNote, afterDelete, afterInsert, afterUpdate, beforeDelete, beforeInsert, beforeInsert, beforeUpdate, beforeUpdate, 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.module.endow.document.EndowmentTransactionalDocument |
|---|
getTransactionSourceTypeCode, getTransactionSubTypeCode, isErrorCorrectedDocument, isTransactionPosted, setNoRouteIndicator, setTransactionPosted, setTransactionSourceTypeCode, setTransactionSubTypeCode |
| 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, 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 |
|---|
protected Integer nextSourceLineNumber
protected Integer nextTargetLineNumber
protected List<EndowmentTransactionLine> sourceTransactionLines
protected List<EndowmentTransactionLine> targetTransactionLines
| Constructor Detail |
|---|
public EndowmentTransactionLinesDocumentBase()
| Method Detail |
|---|
public List<EndowmentTransactionLine> getSourceTransactionLines()
EndowmentTransactionLinesDocument
getSourceTransactionLines in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceTransactionLines()public void setSourceTransactionLines(List<EndowmentTransactionLine> sourceTransactionLines)
EndowmentTransactionLinesDocument
setSourceTransactionLines in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.setSourceTransactionLines(java.util.List)public List<EndowmentTransactionLine> getTargetTransactionLines()
EndowmentTransactionLinesDocument
getTargetTransactionLines in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetTransactionLines()public void setTargetTransactionLines(List<EndowmentTransactionLine> targetTransactionLines)
EndowmentTransactionLinesDocument
setTargetTransactionLines in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.setTargetTransactionLines(java.util.List)public String getSourceTransactionLinesSectionTitle()
EndowmentTransactionLinesDocument
getSourceTransactionLinesSectionTitle in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceTransactionLinesSectionTitle()public String getTargetTransactionLinesSectionTitle()
EndowmentTransactionLinesDocument
getTargetTransactionLinesSectionTitle in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetTransactionLinesSectionTitle()public Integer getNextSourceLineNumber()
EndowmentTransactionLinesDocument
getNextSourceLineNumber in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getNextSourceLineNumber()public void setNextSourceLineNumber(Integer nextSourceLineNumber)
setNextSourceLineNumber in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.setNextSourceLineNumber(java.lang.Integer)public Integer getNextTargetLineNumber()
EndowmentTransactionLinesDocument
getNextTargetLineNumber in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getNextTargetLineNumber()public void setNextTargetLineNumber(Integer nextTargetLineNumber)
setNextTargetLineNumber in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.setNextTargetLineNumber(java.lang.Integer)public void addSourceTransactionLine(EndowmentSourceTransactionLine line)
EndowmentTransactionLinesDocument
addSourceTransactionLine in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.addSourceTransactionLine(org.kuali.kfs.module.endow.businessobject.EndowmentSourceTransactionLine)public void addTargetTransactionLine(EndowmentTargetTransactionLine line)
EndowmentTransactionLinesDocument
addTargetTransactionLine in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.addTargetTransactionLine(org.kuali.kfs.module.endow.businessobject.EndowmentTargetTransactionLine)public org.kuali.rice.kns.util.KualiDecimal getSourceIncomeTotal()
EndowmentTransactionLinesDocument
getSourceIncomeTotal in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceIncomeTotal()public org.kuali.rice.kns.util.KualiDecimal getSourcePrincipalTotal()
EndowmentTransactionLinesDocument
getSourcePrincipalTotal in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourcePrincipalTotal()public org.kuali.rice.kns.util.KualiDecimal getTargetIncomeTotal()
EndowmentTransactionLinesDocument
getTargetIncomeTotal in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetIncomeTotal()public org.kuali.rice.kns.util.KualiDecimal getTargetPrincipalTotal()
EndowmentTransactionLinesDocument
getTargetPrincipalTotal in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetPrincipalTotal()public org.kuali.rice.kns.util.KualiDecimal getSourceIncomeTotalUnits()
EndowmentTransactionLinesDocument
getSourceIncomeTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceIncomeTotalUnits()public org.kuali.rice.kns.util.KualiDecimal getSourcePrincipalTotalUnits()
EndowmentTransactionLinesDocument
getSourcePrincipalTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourcePrincipalTotalUnits()public org.kuali.rice.kns.util.KualiDecimal getTargetIncomeTotalUnits()
EndowmentTransactionLinesDocument
getTargetIncomeTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetIncomeTotalUnits()public org.kuali.rice.kns.util.KualiDecimal getTargetPrincipalTotalUnits()
EndowmentTransactionLinesDocument
getTargetPrincipalTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetPrincipalTotalUnits()public EndowmentTransactionLineParser getTransactionLineParser()
getTransactionLineParser in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTransactionLineParser()public EndowmentSourceTransactionLine getSourceTransactionLine(int index)
EndowmentTransactionLinesDocument
getSourceTransactionLine in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceTransactionLine(int)public EndowmentTargetTransactionLine getTargetTransactionLine(int index)
EndowmentTransactionLinesDocument
getTargetTransactionLine in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetTransactionLine(int)public org.kuali.rice.kns.util.KualiDecimal getTargetTotalAmount()
EndowmentTransactionLinesDocument
getTargetTotalAmount in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetTotalAmount()public org.kuali.rice.kns.util.KualiDecimal getSourceTotalAmount()
EndowmentTransactionLinesDocument
getSourceTotalAmount in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceTotalAmount()public org.kuali.rice.kns.util.KualiDecimal getTotalDollarAmount()
public org.kuali.rice.kns.util.KualiDecimal getSourceTotalUnits()
EndowmentTransactionLinesDocument
getSourceTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getSourceTotalUnits()public org.kuali.rice.kns.util.KualiDecimal getTargetTotalUnits()
EndowmentTransactionLinesDocument
getTargetTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTargetTotalUnits()public org.kuali.rice.kns.util.KualiDecimal getTotalUnits()
EndowmentTransactionLinesDocument
getTotalUnits in interface EndowmentTransactionLinesDocumentEndowmentTransactionLinesDocument.getTotalUnits()public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.kns.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class org.kuali.rice.kns.bo.PersistableBusinessObjectBasePersistableBusinessObjectBase.buildListOfDeletionAwareLists()
public void toCopy()
throws org.kuali.rice.kew.exception.WorkflowException
toCopy in class org.kuali.rice.kns.document.DocumentBaseorg.kuali.rice.kew.exception.WorkflowExceptionDocumentBase.toCopy()
public void toErrorCorrection()
throws org.kuali.rice.kew.exception.WorkflowException,
IllegalStateException
toErrorCorrection in class EndowmentTransactionalDocumentBaseorg.kuali.rice.kew.exception.WorkflowException
IllegalStateExceptionCorrectable.toErrorCorrection()public Class getTranLineClass(boolean isSource)
getTranLineClass in interface EndowmentTransactionLinesDocumentpublic LineParser getLineParser()
getLineParser in interface EndowmentTransactionLinesDocument
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||