org.kuali.student.lum.program.client.rpc
Interface MajorDisciplineProposalRpcService
- All Superinterfaces:
- AssemblerRpcService, AuthorizationRpcService, BaseDataOrchestrationRpcService, MajorDisciplineRpcService, com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
- MajorDisciplineProposalRpcServlet
@RemoteServiceRelativePath(value="rpcservices/majorDisciplineProposalRpcService")
public interface MajorDisciplineProposalRpcService
- extends MajorDisciplineRpcService
getProgramRequirements
List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds)
throws Exception
- Specified by:
getProgramRequirements
in interface MajorDisciplineRpcService
- Throws:
Exception
storeProgramRequirements
Map<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states,
Map<Integer,ProgramRequirementInfo> progReqs)
throws Exception
- Specified by:
storeProgramRequirements
in interface MajorDisciplineRpcService
- Throws:
Exception
createProgramRequirement
ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Specified by:
createProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
deleteProgramRequirement
StatusInfo deleteProgramRequirement(String programRequirementId)
throws Exception
- Specified by:
deleteProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
updateProgramRequirement
ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Specified by:
updateProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
isLatestVersion
Boolean isLatestVersion(String versionIndId,
Long versionSequenceNumber)
throws Exception
- Is the current version sequence number the latest version.
- Specified by:
isLatestVersion
in interface MajorDisciplineRpcService
- Parameters:
versionIndId
- The version independent id of programversionSequenceNumber
- The sequence number to check.
- Returns:
-
- Throws:
Exception
updateState
DataSaveResult updateState(Data data,
String state)
throws Exception
- 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.
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.
- Specified by:
updateState
in interface MajorDisciplineRpcService
- Parameters:
data
- the XML used to pass data between controller to viewstate
- the state we should update the program to
- Returns:
- the result of the save
- Throws:
Exception
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.