org.kuali.student.lum.workflow
Class ProgramPostProcessorBase

java.lang.Object
  extended by org.kuali.student.lum.workflow.KualiStudentPostProcessorBase
      extended by org.kuali.student.lum.workflow.ProgramPostProcessorBase
All Implemented Interfaces:
org.kuali.rice.kew.postprocessor.PostProcessor

@Transactional(readOnly=true,
               rollbackFor=java.lang.Throwable.class)
public class ProgramPostProcessorBase
extends KualiStudentPostProcessorBase


Field Summary
private static Logger LOG
           
private  ProgramService programService
           
private  StateChangeService stateChangeService
           
 
Constructor Summary
ProgramPostProcessorBase()
           
 
Method Summary
protected  String getCluStateForRouteStatus(String currentCluState, String newWorkflowStatusCode)
           
protected  String getCourseStateFromNewState(String currentCourseState, String newCourseState)
          Default behavior is to return the newCluState variable only if it differs from the currentCluState value.
protected  String getProgramId(ProposalInfo proposalInfo)
           
protected  ProgramService getProgramService()
           
protected  StateChangeService getStateChangeService()
           
protected  boolean processCustomActionTaken(org.kuali.rice.kew.postprocessor.ActionTakenEvent actionTakenEvent, org.kuali.rice.kew.actiontaken.ActionTakenValue actionTaken, ProposalInfo proposalInfo)
           
protected  boolean processCustomRouteStatusChange(org.kuali.rice.kew.postprocessor.DocumentRouteStatusChange statusChangeEvent, ProposalInfo proposalInfo)
           
protected  void processWithdrawActionTaken(org.kuali.rice.kew.postprocessor.ActionTakenEvent actionTakenEvent, ProposalInfo proposalInfo)
           
 
Methods inherited from class org.kuali.student.lum.workflow.KualiStudentPostProcessorBase
afterProcess, beforeProcess, doActionTaken, doDeleteRouteHeader, doRouteLevelChange, doRouteStatusChange, getDocumentIdsToLock, getPrincipalIdForSystemUser, getProposalService, getProposalStateForRouteStatus, getProposalStateFromNewState, getStateFromNewState, preProcessProposalSave, processActionTakenOnAdhocRequest, processCustomRouteLevelChange, processCustomRouteStatusSavedStatusChange, processCustomSaveActionTaken, processSuperUserDisapproveActionTaken, removeCommentAdhocPermissions, removeEditAdhocPermissions, updateProposal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final Logger LOG

programService

private ProgramService programService

stateChangeService

private StateChangeService stateChangeService
Constructor Detail

ProgramPostProcessorBase

public ProgramPostProcessorBase()
Method Detail

processWithdrawActionTaken

protected void processWithdrawActionTaken(org.kuali.rice.kew.postprocessor.ActionTakenEvent actionTakenEvent,
                                          ProposalInfo proposalInfo)
                                   throws Exception
Overrides:
processWithdrawActionTaken in class KualiStudentPostProcessorBase
Throws:
Exception

processCustomActionTaken

protected boolean processCustomActionTaken(org.kuali.rice.kew.postprocessor.ActionTakenEvent actionTakenEvent,
                                           org.kuali.rice.kew.actiontaken.ActionTakenValue actionTaken,
                                           ProposalInfo proposalInfo)
                                    throws Exception
Overrides:
processCustomActionTaken in class KualiStudentPostProcessorBase
Throws:
Exception

processCustomRouteStatusChange

protected boolean processCustomRouteStatusChange(org.kuali.rice.kew.postprocessor.DocumentRouteStatusChange statusChangeEvent,
                                                 ProposalInfo proposalInfo)
                                          throws Exception
Overrides:
processCustomRouteStatusChange in class KualiStudentPostProcessorBase
Throws:
Exception

getProgramId

protected String getProgramId(ProposalInfo proposalInfo)
                       throws OperationFailedException
Throws:
OperationFailedException

getCluStateForRouteStatus

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

getCourseStateFromNewState

protected String getCourseStateFromNewState(String currentCourseState,
                                            String newCourseState)
Default behavior is to return the newCluState variable only if it differs from the currentCluState value. Otherwise null will be returned.


getProgramService

protected ProgramService getProgramService()

getStateChangeService

protected StateChangeService getStateChangeService()


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.