org.kuali.student.lum.workflow
Class KualiStudentPostProcessorBase

java.lang.Object
  extended by org.kuali.student.lum.workflow.KualiStudentPostProcessorBase
All Implemented Interfaces:
PostProcessor
Direct Known Subclasses:
CoursePostProcessorBase, ProgramPostProcessorBase

public class KualiStudentPostProcessorBase
extends Object
implements PostProcessor


Constructor Summary
KualiStudentPostProcessorBase()
           
 
Method Summary
 ProcessDocReport afterProcess(AfterProcessEvent arg0)
           
 ProcessDocReport beforeProcess(BeforeProcessEvent arg0)
           
 ProcessDocReport doActionTaken(ActionTakenEvent actionTakenEvent)
           
 ProcessDocReport doDeleteRouteHeader(DeleteEvent arg0)
           
 ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange documentRouteLevelChange)
           
 ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
           
 List<Long> getDocumentIdsToLock(DocumentLockingEvent arg0)
           
protected  String getPrincipalIdForSystemUser()
           
protected  ProposalService getProposalService()
           
protected  String getProposalStateForRouteStatus(String currentProposalState, String newWorkflowStatusCode)
           
protected  String getProposalStateFromNewState(String currentProposalState, String newProposalState)
          Default behavior is to return the newProposalState variable only if it differs from the currentProposalState value.
protected  String getStateFromNewState(String currentState, String newState)
          Default behavior is to return the newState variable only if it differs from the currentState value.
protected  boolean preProcessProposalSave(IDocumentEvent iDocumentEvent, ProposalInfo proposalInfo)
           
protected  void processActionTakenOnAdhocRequest(ActionTakenEvent actionTakenEvent, ActionRequestValue actionRequestValue)
           
protected  boolean processCustomActionTaken(ActionTakenEvent actionTakenEvent, ActionTakenValue actionTaken, ProposalInfo proposalInfo)
           
protected  boolean processCustomRouteLevelChange(DocumentRouteLevelChange documentRouteLevelChange, ProposalInfo proposalInfo)
           
protected  boolean processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent, ProposalInfo proposalInfo)
           
protected  boolean processCustomRouteStatusSavedStatusChange(DocumentRouteStatusChange statusChangeEvent)
           
protected  boolean processCustomSaveActionTaken(ActionTakenEvent actionTakenEvent, ActionTakenValue actionTaken)
           
protected  void processSuperUserDisapproveActionTaken(ActionTakenEvent actionTakenEvent, ActionTakenValue actionTaken, ProposalInfo proposalInfo)
           
protected  void processWithdrawActionTaken(ActionTakenEvent actionTakenEvent, ProposalInfo proposalInfo)
           
protected  void removeCommentAdhocPermissions(String roleNamespace, String roleName, String principalId, WorkflowDocument doc)
           
protected  void removeEditAdhocPermissions(String principalId, WorkflowDocument doc)
           
protected  void updateProposal(IDocumentEvent iDocumentEvent, String proposalState, ProposalInfo proposalInfo)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KualiStudentPostProcessorBase

public KualiStudentPostProcessorBase()
Method Detail

afterProcess

public ProcessDocReport afterProcess(AfterProcessEvent arg0)
                              throws Exception
Specified by:
afterProcess in interface PostProcessor
Throws:
Exception

beforeProcess

public ProcessDocReport beforeProcess(BeforeProcessEvent arg0)
                               throws Exception
Specified by:
beforeProcess in interface PostProcessor
Throws:
Exception

doActionTaken

public ProcessDocReport doActionTaken(ActionTakenEvent actionTakenEvent)
                               throws Exception
Specified by:
doActionTaken in interface PostProcessor
Throws:
Exception

processCustomActionTaken

protected boolean processCustomActionTaken(ActionTakenEvent actionTakenEvent,
                                           ActionTakenValue actionTaken,
                                           ProposalInfo proposalInfo)
                                    throws Exception
Throws:
Exception

processCustomSaveActionTaken

protected boolean processCustomSaveActionTaken(ActionTakenEvent actionTakenEvent,
                                               ActionTakenValue actionTaken)
                                        throws Exception
Throws:
Exception

processActionTakenOnAdhocRequest

protected void processActionTakenOnAdhocRequest(ActionTakenEvent actionTakenEvent,
                                                ActionRequestValue actionRequestValue)
                                         throws Exception
Throws:
Exception

processSuperUserDisapproveActionTaken

protected void processSuperUserDisapproveActionTaken(ActionTakenEvent actionTakenEvent,
                                                     ActionTakenValue actionTaken,
                                                     ProposalInfo proposalInfo)
                                              throws Exception
Throws:
Exception

processWithdrawActionTaken

protected void processWithdrawActionTaken(ActionTakenEvent actionTakenEvent,
                                          ProposalInfo proposalInfo)
                                   throws Exception
Throws:
Exception

doDeleteRouteHeader

public ProcessDocReport doDeleteRouteHeader(DeleteEvent arg0)
                                     throws Exception
Specified by:
doDeleteRouteHeader in interface PostProcessor
Throws:
Exception

doRouteLevelChange

public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange documentRouteLevelChange)
                                    throws Exception
Specified by:
doRouteLevelChange in interface PostProcessor
Throws:
Exception

processCustomRouteLevelChange

protected boolean processCustomRouteLevelChange(DocumentRouteLevelChange documentRouteLevelChange,
                                                ProposalInfo proposalInfo)
                                         throws Exception
Throws:
Exception

doRouteStatusChange

public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
                                     throws Exception
Specified by:
doRouteStatusChange in interface PostProcessor
Throws:
Exception

processCustomRouteStatusChange

protected boolean processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent,
                                                 ProposalInfo proposalInfo)
                                          throws Exception
Throws:
Exception

processCustomRouteStatusSavedStatusChange

protected boolean processCustomRouteStatusSavedStatusChange(DocumentRouteStatusChange statusChangeEvent)
                                                     throws Exception
Throws:
Exception

getDocumentIdsToLock

public List<Long> getDocumentIdsToLock(DocumentLockingEvent arg0)
                                throws Exception
Specified by:
getDocumentIdsToLock in interface PostProcessor
Throws:
Exception

getProposalStateForRouteStatus

protected String getProposalStateForRouteStatus(String currentProposalState,
                                                String newWorkflowStatusCode)
Parameters:
currentProposalState - - the current state set on the proposal
newWorkflowStatusCode - - the new route status code that is getting set on the workflow document
Returns:
the proposal state to set or null if the proposal does not need it's state changed

getProposalStateFromNewState

protected String getProposalStateFromNewState(String currentProposalState,
                                              String newProposalState)
Default behavior is to return the newProposalState variable only if it differs from the currentProposalState value. Otherwise null will be returned.


getStateFromNewState

protected String getStateFromNewState(String currentState,
                                      String newState)
Default behavior is to return the newState variable only if it differs from the currentState value. Otherwise null will be returned.


removeEditAdhocPermissions

protected void removeEditAdhocPermissions(String principalId,
                                          WorkflowDocument doc)

removeCommentAdhocPermissions

protected void removeCommentAdhocPermissions(String roleNamespace,
                                             String roleName,
                                             String principalId,
                                             WorkflowDocument doc)

getPrincipalIdForSystemUser

protected String getPrincipalIdForSystemUser()

updateProposal

protected void updateProposal(IDocumentEvent iDocumentEvent,
                              String proposalState,
                              ProposalInfo proposalInfo)
                       throws Exception
Throws:
Exception

preProcessProposalSave

protected boolean preProcessProposalSave(IDocumentEvent iDocumentEvent,
                                         ProposalInfo proposalInfo)

getProposalService

protected ProposalService getProposalService()


Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.