@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.
|
isProposal
getData, getMetadata, saveData, validate
isAuthorized
List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds) throws Exception
getProgramRequirements
in interface MajorDisciplineRpcService
Exception
Map<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states, Map<Integer,ProgramRequirementInfo> progReqs) throws Exception
storeProgramRequirements
in interface MajorDisciplineRpcService
Exception
ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
createProgramRequirement
in interface MajorDisciplineRpcService
Exception
StatusInfo deleteProgramRequirement(String programRequirementId) throws Exception
deleteProgramRequirement
in interface MajorDisciplineRpcService
Exception
ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
updateProgramRequirement
in interface MajorDisciplineRpcService
Exception
Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception
isLatestVersion
in interface MajorDisciplineRpcService
versionIndId
- The version independent id of programversionSequenceNumber
- The sequence number to check.Exception
DataSaveResult 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 MajorDisciplineRpcService
data
- the XML used to pass data between controller to viewstate
- the state we should update the program toException
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.