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, isSessionDocument
addCopyErrorDocumentNote, 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, wrapDocumentWithMetadataForXmlSerialization
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addNote, 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, wrapDocumentWithMetadataForXmlSerialization
protected static final String UPDATE_TOTAL_AMOUNT_IN_POST_PROCESSING_PARAMETER_NAME
public FinancialSystemTransactionalDocumentBase()
public FinancialSystemDocumentHeader getFinancialSystemDocumentHeader()
getFinancialSystemDocumentHeader
in interface FinancialSystemDocument
public void setDocumentHeader(org.kuali.rice.krad.bo.DocumentHeader documentHeader)
setDocumentHeader
in interface org.kuali.rice.krad.document.Document
setDocumentHeader
in class org.kuali.rice.krad.document.DocumentBase
DocumentBase.setDocumentHeader(org.kuali.rice.krad.bo.DocumentHeader)
public void prepareForSave()
prepareForSave
in interface org.kuali.rice.krad.document.Document
prepareForSave
in class org.kuali.rice.krad.document.DocumentBase
Document.prepareForSave()
public void processAfterRetrieve()
processAfterRetrieve
in interface org.kuali.rice.krad.document.Document
processAfterRetrieve
in class org.kuali.rice.krad.document.DocumentBase
Document.processAfterRetrieve()
public void doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
doRouteStatusChange
in interface org.kuali.rice.krad.document.Document
doRouteStatusChange
in class org.kuali.rice.krad.document.DocumentBase
org.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.Document
doRouteLevelChange
in class org.kuali.rice.krad.document.DocumentBase
org.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.WorkflowException
IllegalStateException
Correctable.toErrorCorrection()
public boolean answerSplitNodeQuestion(String nodeName) throws UnsupportedOperationException
answerSplitNodeQuestion
in interface FinancialSystemDocument
UnsupportedOperationException
protected 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.DocumentBase
org.kuali.rice.kew.api.exception.WorkflowException
IllegalStateException
public 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.WorkflowException
public String getApplicationDocumentStatus()
public void setApplicationDocumentStatus(String applicationDocumentStatus)
applicationDocumentStatus
- The applicationDocumentStatus to set.Copyright © 2004–2015 The Kuali Foundation. All rights reserved.