|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kuali.student.lum.workflow.KualiStudentPostProcessorBase
org.kuali.student.lum.workflow.CoursePostProcessorBase
@Transactional(readOnly=true, rollbackFor=java.lang.Throwable.class) public class CoursePostProcessorBase
A base post processor class for Course document types in Workflow.
Constructor Summary | |
---|---|
CoursePostProcessorBase()
|
Method Summary | |
---|---|
protected String |
getCluStateForRouteStatus(String currentCluState,
String newWorkflowStatusCode,
String docType)
This method returns the state a clu should go to, based on the Proposal's docType and the newWorkflow StatusCode which are passed in. |
protected String |
getCourseId(ProposalInfo proposalInfo)
|
protected CourseService |
getCourseService()
|
protected CourseStateChangeServiceImpl |
getCourseStateChangeService()
|
protected String |
getCourseStateFromNewState(String currentCourseState,
String newCourseState)
Default behavior is to return the newCluState variable only if it differs from the
currentCluState value. |
protected boolean |
preProcessCourseSave(IDocumentEvent iDocumentEvent,
CourseInfo courseInfo)
|
protected boolean |
processCustomActionTaken(ActionTakenEvent actionTakenEvent,
ActionTaken actionTaken,
ProposalInfo proposalInfo)
|
protected boolean |
processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent,
ProposalInfo proposalInfo)
This method takes a clu proposal, determines what the "new state" of the clu should be, then routes the clu I, and the new state to CourseStateChangeServiceImpl.java |
protected void |
processWithdrawActionTaken(ActionTakenEvent actionTakenEvent,
ProposalInfo proposalInfo)
This method changes the state of the course when a Withdraw action is processed on a proposal. |
protected void |
retireCourseByProposalCopyAndSave(String courseState,
CourseInfo courseInfo,
ProposalInfo proposalInfo)
In this method, the proposal object fields are copied to the cluInfo object fields to pass validation. |
void |
statementTreeViewInfoStateSetter(String courseState,
Iterator<StatementTreeViewInfo> itr)
|
protected void |
updateCourse(IDocumentEvent iDocumentEvent,
String courseState,
CourseInfo courseInfo,
ProposalInfo proposalInfo)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CoursePostProcessorBase()
Method Detail |
---|
protected void processWithdrawActionTaken(ActionTakenEvent actionTakenEvent, ProposalInfo proposalInfo) throws Exception
processWithdrawActionTaken
in class KualiStudentPostProcessorBase
actionTakenEvent
- - contains the docId, the action taken (code "d"), the principalId which submitted it, etcproposalInfo
- - The proposal object being withdrawn
Exception
protected boolean processCustomActionTaken(ActionTakenEvent actionTakenEvent, ActionTaken actionTaken, ProposalInfo proposalInfo) throws Exception
processCustomActionTaken
in class KualiStudentPostProcessorBase
Exception
protected boolean processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent, ProposalInfo proposalInfo) throws Exception
processCustomRouteStatusChange
in class KualiStudentPostProcessorBase
Exception
protected void retireCourseByProposalCopyAndSave(String courseState, CourseInfo courseInfo, ProposalInfo proposalInfo) throws Exception
courseState
- - used to confirm state is retiredcourseInfo
- - course object we are updatingproposalInfo
- - proposal object which has the on-screen fields we are copying from
Exception
protected String getCourseId(ProposalInfo proposalInfo) throws OperationFailedException
OperationFailedException
protected String getCluStateForRouteStatus(String currentCluState, String newWorkflowStatusCode, String docType)
currentCluState
- - the current state set on the CLUnewWorkflowStatusCode
- - the new route status code that is getting set on the workflow documentdocType
- - The doctype of the proposal which kicked off this workflow.
protected String getCourseStateFromNewState(String currentCourseState, String newCourseState)
newCluState
variable only if it differs from the
currentCluState
value. Otherwise null
will be returned.
@Transactional(readOnly=false, noRollbackFor=DoesNotExistException.class, rollbackFor=java.lang.Throwable.class) protected void updateCourse(IDocumentEvent iDocumentEvent, String courseState, CourseInfo courseInfo, ProposalInfo proposalInfo) throws Exception
Exception
protected boolean preProcessCourseSave(IDocumentEvent iDocumentEvent, CourseInfo courseInfo)
protected CourseService getCourseService()
protected CourseStateChangeServiceImpl getCourseStateChangeService()
public void statementTreeViewInfoStateSetter(String courseState, Iterator<StatementTreeViewInfo> itr)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |