public class GeneralLedgerPostingDocumentBase extends LedgerPostingDocumentBase implements GeneralLedgerPostingDocument
| Modifier and Type | Field and Description |
|---|---|
protected List<GeneralLedgerPendingEntry> |
generalLedgerPendingEntries |
protected static org.apache.log4j.Logger |
LOG |
accountingPeriod, accountingPeriodService, checkPostingYearForCopy, dataDictionaryService, dateTimeService, postingPeriodCode, postingYearUPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME| Constructor and Description |
|---|
GeneralLedgerPostingDocumentBase()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPendingEntry(GeneralLedgerPendingEntry pendingEntry)
Adds a GeneralLedgerPendingEntry to this document's list of pending entries
|
protected void |
changeGeneralLedgerPendingEntriesApprovedStatusCode()
This method iterates over all of the GLPEs for a document and sets their approved status code to APPROVED "A".
|
List<SufficientFundsItem> |
checkSufficientFunds()
This method will check sufficient funds for the document
|
void |
clearAnyGeneralLedgerPendingEntries()
This resets this document's list of general ledger pending etnries, though it does not delete those entries (however, the GeneralLedgerPendingEntryService will in most cases when this method is called).
|
boolean |
documentPerformsSufficientFundsCheck()
This method checks to see if SF checking should be done for this document.
|
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
Override to call super and then iterate over all GLPEs and update the approved code appropriately.
|
List<GeneralLedgerPendingEntry> |
getGeneralLedgerPendingEntries()
This method retrieves the list of GLPEs for the document.
|
GeneralLedgerPendingEntry |
getGeneralLedgerPendingEntry(int index)
This method retrieves a particular pending entry instance, automatically instantiating any missing intervening instances.
|
List<GeneralLedgerPendingEntry> |
getPendingLedgerEntriesForSufficientFundsChecking()
This method will return only PLEs that should be checked for SF.
|
void |
prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event) |
protected void |
removeGeneralLedgerPendingEntries()
This method calls the service to remove all of the GLPE's associated with this document
|
void |
setGeneralLedgerPendingEntries(List<GeneralLedgerPendingEntry> generalLedgerPendingEntries)
This method sets the list of pending entries for this document.
|
void |
toCopy()
If we've copied, we need to update the posting period and year
|
void |
toErrorCorrection() |
createInitialAccountingPeriod, getAccountingPeriod, getAccountingPeriodCompositeString, getAccountingPeriodService, getDataDictionaryService, getDateTimeService, getFinancialDocumentTypeCode, getPostingPeriodCode, getPostingYear, retrieveCurrentAccountingPeriod, setAccountingPeriod, setAccountingPeriodCompositeString, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, doRouteLevelChange, getApplicationDocumentStatus, getBusinessObjectService, getFinancialSystemDocumentHeader, getFinancialSystemDocumentService, getParameterService, prepareForSave, processAfterRetrieve, setApplicationDocumentStatus, setDocumentHeader, updateAndSaveAppDocStatusgetAllowsCopy, isSessionDocumentaddCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, logErrors, populateDocumentForRouting, postLoad, postProcessSave, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNewDocumentHeader, setNotes, setPessimisticLocks, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAccountingPeriod, getPostingPeriodCode, getPostingYear, setAccountingPeriod, setPostingPeriodCode, setPostingYearanswerSplitNodeQuestion, getFinancialSystemDocumentHeaderaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationprotected static org.apache.log4j.Logger LOG
protected List<GeneralLedgerPendingEntry> generalLedgerPendingEntries
public GeneralLedgerPostingDocumentBase()
public List<GeneralLedgerPendingEntry> getGeneralLedgerPendingEntries()
GeneralLedgerPostingDocumentgetGeneralLedgerPendingEntries in interface GeneralLedgerPostingDocumentGeneralLedgerPostingDocument.getGeneralLedgerPendingEntries()public GeneralLedgerPendingEntry getGeneralLedgerPendingEntry(int index)
GeneralLedgerPostingDocumentgetGeneralLedgerPendingEntry in interface GeneralLedgerPostingDocumentGeneralLedgerPostingDocument.getGeneralLedgerPendingEntry(int)public void setGeneralLedgerPendingEntries(List<GeneralLedgerPendingEntry> generalLedgerPendingEntries)
GeneralLedgerPostingDocumentsetGeneralLedgerPendingEntries in interface GeneralLedgerPostingDocumentGeneralLedgerPostingDocument.setGeneralLedgerPendingEntries(java.util.List)public List<SufficientFundsItem> checkSufficientFunds()
GeneralLedgerPostingDocumentcheckSufficientFunds in interface GeneralLedgerPostingDocumentGeneralLedgerPostingDocument.checkSufficientFunds()public boolean documentPerformsSufficientFundsCheck()
public List<GeneralLedgerPendingEntry> getPendingLedgerEntriesForSufficientFundsChecking()
GeneralLedgerPostingDocumentgetPendingLedgerEntriesForSufficientFundsChecking in interface GeneralLedgerPostingDocumentGeneralLedgerPostingDocument.getPendingLedgerEntriesForSufficientFundsChecking()public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class FinancialSystemTransactionalDocumentBaseDocument#doRouteStatusChange()protected void changeGeneralLedgerPendingEntriesApprovedStatusCode()
protected void removeGeneralLedgerPendingEntries()
public void toCopy() throws org.kuali.rice.kew.api.exception.WorkflowException
LedgerPostingDocumentBasetoCopy in class LedgerPostingDocumentBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionDocumentBase.toCopy()public void toErrorCorrection() throws org.kuali.rice.kew.api.exception.WorkflowException
toErrorCorrection in class FinancialSystemTransactionalDocumentBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionorg.kuali.rice.krad.document.TransactionalDocumentBase#toErrorCorrection()public void prepareForSave(org.kuali.rice.krad.rules.rule.event.KualiDocumentEvent event)
prepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class org.kuali.rice.krad.document.DocumentBasepublic void addPendingEntry(GeneralLedgerPendingEntry pendingEntry)
pendingEntry - a pending entry to addpublic void clearAnyGeneralLedgerPendingEntries()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.