|
||||||||||
| 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.sys.document.LedgerPostingDocumentBase
org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase
org.kuali.kfs.sys.document.AccountingDocumentBase
org.kuali.kfs.fp.document.GeneralErrorCorrectionDocument
public class GeneralErrorCorrectionDocument
This is the business object that represents the GeneralErrorCorrectionDocument in Kuali. This is a transactional document that will eventually post transactions to the G/L. It integrates with workflow and also contains two groupings of accounting lines: from and to. From lines are the source lines, to lines are the target lines.
| Field Summary | |
|---|---|
protected CapitalAssetInformation |
capitalAssetInformation
|
protected CapitalAssetManagementModuleService |
capitalAssetManagementModuleService
|
| Fields inherited from class org.kuali.kfs.sys.document.AccountingDocumentBase |
|---|
dataDictionaryEntry, LOG, nextSourceLineNumber, nextTargetLineNumber, sourceAccountingLineClass, sourceAccountingLines, targetAccountingLineClass, targetAccountingLines |
| Fields inherited from class org.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase |
|---|
generalLedgerPendingEntries |
| Fields inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
|---|
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYear |
| Fields inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
documentHeader |
| 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 | |
|---|---|
GeneralErrorCorrectionDocument()
Initializes the array lists and some basic info. |
|
| Method Summary | |
|---|---|
List |
buildListOfDeletionAwareLists()
|
protected String |
buildTransactionLedgerEntryDescriptionUsingRefOriginAndRefDocNumber(GeneralLedgerPendingEntrySourceDetail line)
Builds an appropriately formatted string to be used for the transactionLedgerEntryDescription. |
void |
customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
Customizes a GLPE by setting financial document number, financial system origination code and document type code to null |
void |
doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately. |
CapitalAssetInformation |
getCapitalAssetInformation()
Gets the capitalAssetInformation attribute. |
CapitalAssetManagementModuleService |
getCapitalAssetManagementModuleService()
|
Class |
getSourceAccountingLineClass()
Returns the default Source accounting line class. |
String |
getSourceAccountingLinesSectionTitle()
Overrides the base implementation to return "From". |
Class |
getTargetAccountingLineClass()
Returns the default Target accounting line class. |
String |
getTargetAccountingLinesSectionTitle()
Overrides the base implementation to return "To". |
boolean |
isDebit(GeneralLedgerPendingEntrySourceDetail postable)
Returns true if accounting line is debit |
void |
postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
|
void |
setCapitalAssetInformation(CapitalAssetInformation capitalAssetInformation)
Deprecated. |
| Methods inherited from class org.kuali.kfs.sys.document.LedgerPostingDocumentBase |
|---|
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setPostingPeriodCode, setPostingYear |
| Methods inherited from class org.kuali.kfs.sys.document.FinancialSystemTransactionalDocumentBase |
|---|
answerSplitNodeQuestion, 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, getAdHocRoutePersons, getAdHocRouteWorkgroups, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, 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.rice.kns.document.Copyable |
|---|
toCopy |
| Methods inherited from interface org.kuali.kfs.sys.document.Correctable |
|---|
toErrorCorrection |
| Methods inherited from interface org.kuali.kfs.sys.document.AmountTotaling |
|---|
getTotalDollarAmount |
| 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, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentBusinessObject, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, 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 |
| Methods inherited from interface org.kuali.kfs.sys.document.GeneralLedgerPendingEntrySource |
|---|
addPendingEntry, clearAnyGeneralLedgerPendingEntries, getDocumentHeader, getFinancialDocumentTypeCode, getPostingYear |
| Field Detail |
|---|
protected CapitalAssetInformation capitalAssetInformation
protected transient CapitalAssetManagementModuleService capitalAssetManagementModuleService
| Constructor Detail |
|---|
public GeneralErrorCorrectionDocument()
| Method Detail |
|---|
public List buildListOfDeletionAwareLists()
buildListOfDeletionAwareLists in interface org.kuali.rice.kns.bo.PersistableBusinessObjectbuildListOfDeletionAwareLists in class AccountingDocumentBaseAccountingDocumentBase.buildListOfDeletionAwareLists()public String getSourceAccountingLinesSectionTitle()
getSourceAccountingLinesSectionTitle in interface AccountingDocumentgetSourceAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocument.getSourceAccountingLinesSectionTitle()public String getTargetAccountingLinesSectionTitle()
getTargetAccountingLinesSectionTitle in interface AccountingDocumentgetTargetAccountingLinesSectionTitle in class AccountingDocumentBaseAccountingDocument.getTargetAccountingLinesSectionTitle()public Class getSourceAccountingLineClass()
AccountingDocumentBase
getSourceAccountingLineClass in interface AccountingDocumentgetSourceAccountingLineClass in class AccountingDocumentBaseAccountingDocumentBase.getSourceAccountingLineClass()public Class getTargetAccountingLineClass()
AccountingDocumentBase
getTargetAccountingLineClass in interface AccountingDocumentgetTargetAccountingLineClass in class AccountingDocumentBaseAccountingDocumentBase.getTargetAccountingLineClass()public boolean isDebit(GeneralLedgerPendingEntrySourceDetail postable)
isDebit in interface GeneralLedgerPendingEntrySourceisDebit in class AccountingDocumentBasetransactionalDocument - submitted accounting documentaccountingLine - accounting line in account document
IsDebitUtils#isDebitConsideringSectionAndTypePositiveOnly(FinancialDocumentRuleBase, FinancialDocument, AccountingLine),
org.kuali.rice.kns.rule.AccountingLineRule#isDebit(org.kuali.rice.kns.document.FinancialDocument,
org.kuali.rice.kns.bo.AccountingLine)
public void customizeExplicitGeneralLedgerPendingEntry(GeneralLedgerPendingEntrySourceDetail postable,
GeneralLedgerPendingEntry explicitEntry)
customizeExplicitGeneralLedgerPendingEntry in class AccountingDocumentBasetransactionalDocument - submitted accounting documentaccountingLine - accounting line in documentexplicitEntry - general ledger pending entryFinancialDocumentRuleBase#customizeExplicitGeneralLedgerPendingEntry(FinancialDocument, AccountingLine,
GeneralLedgerPendingEntry)protected String buildTransactionLedgerEntryDescriptionUsingRefOriginAndRefDocNumber(GeneralLedgerPendingEntrySourceDetail line)
transactionLedgerEntryDescription. It is built
using information from the AccountingLine. Format is "01-12345: blah blah blah".
line - accounting linetransactionalDocument - submitted accounting document
public CapitalAssetInformation getCapitalAssetInformation()
getCapitalAssetInformation in interface CapitalAssetEditable@Deprecated public void setCapitalAssetInformation(CapitalAssetInformation capitalAssetInformation)
setCapitalAssetInformation in interface CapitalAssetEditablecapitalAssetInformation - The capitalAssetInformation to set.public void doRouteStatusChange(org.kuali.rice.kew.dto.DocumentRouteStatusChangeDTO statusChangeEvent)
GeneralLedgerPostingDocumentBase
doRouteStatusChange in interface org.kuali.rice.kns.document.DocumentdoRouteStatusChange in class GeneralLedgerPostingDocumentBaseorg.kuali.kfs.sys.document.GeneralLedgerPostingDocumentBase#doRouteStatusChange()public void postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent event)
postProcessSave in interface org.kuali.rice.kns.document.DocumentpostProcessSave in class org.kuali.rice.kns.document.DocumentBaseDocumentBase.postProcessSave(org.kuali.rice.kns.rule.event.KualiDocumentEvent)public CapitalAssetManagementModuleService getCapitalAssetManagementModuleService()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||