public class FinancialSystemTransactionalDocumentBase extends org.kuali.rice.krad.document.TransactionalDocumentBase implements FinancialSystemTransactionalDocument
| Modifier and Type | Field and Description |
|---|---|
protected static String |
UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME |
| Constructor and Description |
|---|
FinancialSystemTransactionalDocumentBase()
Constructs a FinancialSystemTransactionalDocumentBase.java.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
answerSplitNodeQuestion(String nodeName) |
void |
doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent)
This is the default implementation which, if parameter KFS-SYS / Document / UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_IND is on, updates the document
and resaves if needed
|
void |
doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
This is the default implementation which checks for a different workflow statuses, and updates the Kuali status accordingly.
|
String |
getApplicationDocumentStatus()
Gets the applicationDocumentStatus attribute.
|
protected org.kuali.rice.krad.service.BusinessObjectService |
getBusinessObjectService() |
FinancialSystemDocumentHeader |
getFinancialSystemDocumentHeader() |
protected FinancialSystemDocumentService |
getFinancialSystemDocumentService() |
protected org.kuali.rice.coreservice.framework.parameter.ParameterService |
getParameterService() |
void |
prepareForSave()
If the document has a total amount, call method on document to get the total and set in doc header.
|
void |
processAfterRetrieve()
This is the default implementation which ensures that document note attachment references are loaded.
|
void |
setApplicationDocumentStatus(String applicationDocumentStatus)
Sets the applicationDocumentStatus attribute.
|
void |
setDocumentHeader(org.kuali.rice.krad.bo.DocumentHeader documentHeader) |
void |
toCopy() |
void |
toErrorCorrection() |
void |
updateAndSaveAppDocStatus(String applicationDocumentStatus)
Updates status of this document and saves the workflow data
|
getAllowsCopy, 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, prepareForSave, 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, waitaddNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerializationprotected static final String UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME
public FinancialSystemTransactionalDocumentBase()
public FinancialSystemDocumentHeader getFinancialSystemDocumentHeader()
getFinancialSystemDocumentHeader in interface FinancialSystemDocumentpublic void setDocumentHeader(org.kuali.rice.krad.bo.DocumentHeader documentHeader)
setDocumentHeader in interface org.kuali.rice.krad.document.DocumentsetDocumentHeader in class org.kuali.rice.krad.document.DocumentBaseDocumentBase.setDocumentHeader(org.kuali.rice.krad.bo.DocumentHeader)public void prepareForSave()
prepareForSave in interface org.kuali.rice.krad.document.DocumentprepareForSave in class org.kuali.rice.krad.document.DocumentBaseDocument.prepareForSave()public void processAfterRetrieve()
processAfterRetrieve in interface org.kuali.rice.krad.document.DocumentprocessAfterRetrieve in class org.kuali.rice.krad.document.DocumentBaseDocument.processAfterRetrieve()public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange in interface org.kuali.rice.krad.document.DocumentdoRouteStatusChange in class org.kuali.rice.krad.document.DocumentBaseorg.kuali.rice.krad.document.Document#doRouteStatusChange()public void doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent)
doRouteLevelChange in interface org.kuali.rice.krad.document.DocumentdoRouteLevelChange in class org.kuali.rice.krad.document.DocumentBaseorg.kuali.rice.kns.document.DocumentBase#doRouteLevelChange(org.kuali.rice.kew.dto.DocumentRouteLevelChangeDTO)public void toErrorCorrection() throws org.kuali.rice.kew.api.exception.WorkflowException, IllegalStateException
org.kuali.rice.kew.api.exception.WorkflowExceptionIllegalStateExceptionCorrectable.toErrorCorrection()public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion in interface FinancialSystemDocumentUnsupportedOperationExceptionprotected org.kuali.rice.coreservice.framework.parameter.ParameterService getParameterService()
protected org.kuali.rice.krad.service.BusinessObjectService getBusinessObjectService()
protected FinancialSystemDocumentService getFinancialSystemDocumentService()
public void toCopy() throws org.kuali.rice.kew.api.exception.WorkflowException, IllegalStateException
toCopy in class org.kuali.rice.krad.document.DocumentBaseorg.kuali.rice.kew.api.exception.WorkflowExceptionIllegalStateExceptionpublic void updateAndSaveAppDocStatus(String applicationDocumentStatus) throws org.kuali.rice.kew.api.exception.WorkflowException
applicationDocumentStatus - is the app doc status to saveorg.kuali.rice.kew.api.exception.WorkflowExceptionpublic String getApplicationDocumentStatus()
public void setApplicationDocumentStatus(String applicationDocumentStatus)
applicationDocumentStatus - The applicationDocumentStatus to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.