@RemoteServiceRelativePath(value="rpcservices/majorDisciplineProposalRpcService") public interface MajorDisciplineProposalRpcService extends MajorDisciplineRpcService
| Modifier and Type | Method and Description |
|---|---|
ProgramRequirementInfo |
createProgramRequirement(ProgramRequirementInfo programRequirementInfo) |
StatusInfo |
deleteProgramRequirement(String programRequirementId) |
List<ProgramRequirementInfo> |
getProgramRequirements(List<String> programRequirementIds) |
Boolean |
isLatestVersion(String versionIndId,
Long versionSequenceNumber)
Is the current version sequence number the latest version.
|
Map<Integer,ProgramRequirementInfo> |
storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states,
Map<Integer,ProgramRequirementInfo> progReqs) |
ProgramRequirementInfo |
updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) |
DataSaveResult |
updateState(Data data,
String state)
This method is called when the user changes the program state using
the drop-down box, clicking certain buttons, or creating
a new version of the program.
|
isProposalgetData, getMetadata, saveData, validateisAuthorizedList<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds) throws Exception
getProgramRequirements in interface MajorDisciplineRpcServiceExceptionMap<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states, Map<Integer,ProgramRequirementInfo> progReqs) throws Exception
storeProgramRequirements in interface MajorDisciplineRpcServiceExceptionProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
createProgramRequirement in interface MajorDisciplineRpcServiceExceptionStatusInfo deleteProgramRequirement(String programRequirementId) throws Exception
deleteProgramRequirement in interface MajorDisciplineRpcServiceExceptionProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
updateProgramRequirement in interface MajorDisciplineRpcServiceExceptionBoolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception
isLatestVersion in interface MajorDisciplineRpcServiceversionIndId - The version independent id of programversionSequenceNumber - The sequence number to check.ExceptionDataSaveResult updateState(Data data, String state) throws Exception
For example, creating a new program or using the drop down box to modify with new version will change the state to DRAFT. Clicking the approve button will change the state to APPROVED, clicking the activate button will change the state to ACTIVE.
Other states will be added in the future.
updateState in interface MajorDisciplineRpcServicedata - the XML used to pass data between controller to viewstate - the state we should update the program toExceptionCopyright © 2004-2013 The Kuali Foundation. All Rights Reserved.