|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.student.lum.program.server.CoreProgramStateChangeServiceImpl
@Transactional(noRollbackFor=DoesNotExistException.class,
rollbackFor=java.lang.Throwable.class)
public class CoreProgramStateChangeServiceImplThis class is called whenever the state of a major discipline changes.
We have a separate class because the operations need to be marked with the @Transactional annotation.
THIS CLASS IS DUPLICATED FOR MAJOR DISCIPLINE, CORE, AND CREDENTIAL PROGRAMS SINCE THERE ARE DIFFERENT SERVICE METHODS FOR EACH OF THESE TYPES (THOUGH THEY ARE SIMILAR)
| Constructor Summary | |
|---|---|
CoreProgramStateChangeServiceImpl()
|
|
| Method Summary | |
|---|---|
void |
changeState(String coreProgramId,
String newState)
This method is called by workflow when the state changes. |
void |
changeState(String endEntryTerm,
String endEnrollTerm,
String endInstAdmitTerm,
String coreProgramId,
String newState)
This method is called from the UI (servlet) when state changes. |
protected CoreProgramInfo |
getCurrentVersion(CoreProgramInfo coreProgramInfo)
Get the current version of program given the selected version of program |
void |
setProgramService(ProgramService programService)
This method is used by Spring to inject the program service into this bean. |
void |
updateRequirementsState(List<String> programRequirementIds,
String newState)
This method will update the requirement state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CoreProgramStateChangeServiceImpl()
| Method Detail |
|---|
public void changeState(String coreProgramId,
String newState)
throws Exception
changeState in interface StateChangeServicemajorDisciplineId - state -
Exception
public void changeState(String endEntryTerm,
String endEnrollTerm,
String endInstAdmitTerm,
String coreProgramId,
String newState)
throws Exception
changeState in interface StateChangeServiceendEntryTerm - endEnrollTerm - programType - majorDisciplineId - newState -
Exception
protected CoreProgramInfo getCurrentVersion(CoreProgramInfo coreProgramInfo)
throws Exception
verIndId -
Exception
public void updateRequirementsState(List<String> programRequirementIds,
String newState)
throws Exception
Note that it uses StatementUtil to update the statement tree.
coreProgramInfo - newState -
Exceptionpublic void setProgramService(ProgramService programService)
programService -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||