org.kuali.student.lum.program.client.rpc
Interface MajorDisciplineRpcService
- All Superinterfaces:
- AssemblerRpcService, AuthorizationRpcService, BaseDataOrchestrationRpcService, com.google.gwt.user.client.rpc.RemoteService
- All Known Subinterfaces:
- CoreProgramRpcService, CredentialProgramRpcService, MajorDisciplineProposalRpcService
- All Known Implementing Classes:
- CoreProgramRpcServlet, CredentialProgramRpcServlet, MajorDisciplineProposalRpcServlet, MajorDisciplineRpcServlet
@RemoteServiceRelativePath(value="rpcservices/majorDisciplineRpcService")
public interface MajorDisciplineRpcService
- extends BaseDataOrchestrationRpcService
getProgramRequirements
List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds)
throws Exception
- Throws:
Exception
storeProgramRequirements
Map<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states,
Map<Integer,ProgramRequirementInfo> progReqs)
throws Exception
- Throws:
Exception
createProgramRequirement
ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Throws:
Exception
deleteProgramRequirement
StatusInfo deleteProgramRequirement(String programRequirementId)
throws Exception
- Throws:
Exception
updateProgramRequirement
ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Throws:
Exception
isLatestVersion
Boolean isLatestVersion(String versionIndId,
Long versionSequenceNumber)
throws Exception
- Is the current version sequence number the latest version.
- 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.
- 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
isProposal
Boolean isProposal(String referenceTypeKey,
String referenceId)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.