org.kuali.student.lum.workflow
Class CoursePostProcessorBase
java.lang.Object
org.kuali.student.lum.workflow.KualiStudentPostProcessorBase
org.kuali.student.lum.workflow.CoursePostProcessorBase
- All Implemented Interfaces:
- PostProcessor
@Transactional(readOnly=true,
rollbackFor=java.lang.Throwable.class)
public class CoursePostProcessorBase
- extends KualiStudentPostProcessorBase
A base post processor class for Course document types in Workflow.
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 |
LOG
private static final Logger LOG
courseService
private CourseService courseService
CoursePostProcessorBase
public CoursePostProcessorBase()
processWithdrawActionTaken
protected void processWithdrawActionTaken(ActionTakenEvent actionTakenEvent,
ProposalInfo proposalInfo)
throws Exception
- Overrides:
processWithdrawActionTaken
in class KualiStudentPostProcessorBase
- Throws:
Exception
processCustomActionTaken
protected boolean processCustomActionTaken(ActionTakenEvent actionTakenEvent,
ActionTakenValue actionTaken,
ProposalInfo proposalInfo)
throws Exception
- Overrides:
processCustomActionTaken
in class KualiStudentPostProcessorBase
- Throws:
Exception
processCustomRouteStatusChange
protected boolean processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent,
ProposalInfo proposalInfo)
throws Exception
- Overrides:
processCustomRouteStatusChange
in class KualiStudentPostProcessorBase
- Throws:
Exception
getCourseId
protected String getCourseId(ProposalInfo proposalInfo)
throws OperationFailedException
- Throws:
OperationFailedException
getCluStateForRouteStatus
protected String getCluStateForRouteStatus(String currentCluState,
String newWorkflowStatusCode)
- Parameters:
currentCluState
- - the current state set on the CLUnewWorkflowStatusCode
- - 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.
updateCourse
@Transactional(readOnly=false)
protected void updateCourse(IDocumentEvent iDocumentEvent,
String courseState,
CourseInfo courseInfo)
throws Exception
- Throws:
Exception
preProcessCourseSave
protected boolean preProcessCourseSave(IDocumentEvent iDocumentEvent,
CourseInfo courseInfo)
getCourseService
protected CourseService getCourseService()
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.