@Transactional(readOnly=true,
rollbackFor=java.lang.Throwable.class)
public class CoursePostProcessorBase
extends KualiStudentPostProcessorBase
| Constructor and Description |
|---|
CoursePostProcessorBase() |
| Modifier and Type | Method and Description |
|---|---|
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) |
afterActionTaken, afterProcess, beforeProcess, doActionTaken, doDeleteRouteHeader, doRouteLevelChange, doRouteStatusChange, getDocumentIdsToLock, getPrincipalIdForSystemUser, getProposalService, getProposalStateForRouteStatus, getProposalStateFromNewState, getStateFromNewState, getWorkflowDocumentService, preProcessProposalSave, processActionTakenOnAdhocRequest, processCustomRouteLevelChange, processCustomRouteStatusSavedStatusChange, processCustomSaveActionTaken, processSuperUserDisapproveActionTaken, removeCommentAdhocPermissions, removeEditAdhocPermissions, updateProposalpublic CoursePostProcessorBase()
protected void processWithdrawActionTaken(ActionTakenEvent actionTakenEvent, ProposalInfo proposalInfo) throws Exception
processWithdrawActionTaken in class KualiStudentPostProcessorBaseactionTakenEvent - - contains the docId, the action taken (code "d"), the principalId which submitted it, etcproposalInfo - - The proposal object being withdrawnExceptionprotected boolean processCustomActionTaken(ActionTakenEvent actionTakenEvent, ActionTaken actionTaken, ProposalInfo proposalInfo) throws Exception
processCustomActionTaken in class KualiStudentPostProcessorBaseExceptionprotected boolean processCustomRouteStatusChange(DocumentRouteStatusChange statusChangeEvent, ProposalInfo proposalInfo) throws Exception
processCustomRouteStatusChange in class KualiStudentPostProcessorBaseExceptionprotected 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 fromExceptionprotected String getCourseId(ProposalInfo proposalInfo) throws OperationFailedException
OperationFailedExceptionprotected 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
Exceptionprotected boolean preProcessCourseSave(IDocumentEvent iDocumentEvent, CourseInfo courseInfo)
protected CourseService getCourseService()
protected CourseStateChangeServiceImpl getCourseStateChangeService()
public void statementTreeViewInfoStateSetter(String courseState, Iterator<StatementTreeViewInfo> itr)
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.