public class MajorDisciplineProposalRpcServlet extends DataGwtServlet implements MajorDisciplineProposalRpcService
Modifier and Type | Field and Description |
---|---|
static String |
PREVIOUS_VERSION_INFO |
protected StateChangeService |
stateChangeService |
Constructor and Description |
---|
MajorDisciplineProposalRpcServlet() |
Modifier and Type | Method and Description |
---|---|
ProgramRequirementInfo |
createProgramRequirement(ProgramRequirementInfo programRequirementInfo) |
StatusInfo |
deleteProgramRequirement(String programRequirementId) |
List<ProgramRequirementInfo> |
getProgramRequirements(List<String> programRequirementIds) |
ProposalService |
getProposalService()
Proposal service is injected by spring in the lum-gwt-context.xml file
|
Boolean |
isLatestVersion(String versionIndId,
Long versionSequenceNumber)
Is the current version sequence number the latest version.
|
Boolean |
isProposal(String referenceTypeKey,
String referenceId)
This method will check to see if an object with the given reference ID is a
proposal.
|
void |
setCluService(CluService cluService) |
void |
setProgramService(ProgramService programService) |
void |
setProposalService(ProposalService proposalService) |
void |
setStateChangeService(StateChangeService stateChangeService) |
void |
setStatementService(StatementService statementService) |
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 will update the state of a major discipline.
|
getData, getDataService, getMetadata, isAuthorized, saveData, setDataService, validate
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getData, getMetadata, saveData, validate
isAuthorized
public static final String PREVIOUS_VERSION_INFO
protected StateChangeService stateChangeService
public MajorDisciplineProposalRpcServlet()
public DataSaveResult updateState(Data data, String state) throws Exception
updateState
in interface MajorDisciplineProposalRpcService
updateState
in interface MajorDisciplineRpcService
data
- the XML used to pass data between controller to viewstate
- the state we should update the program toException
org.kuali.student.lum.program.client.rpc.MajorDisciplineRpcService#updateStatus(org.kuali.student.common.assembly.data.Data,
java.lang.String)
public List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds) throws Exception
getProgramRequirements
in interface MajorDisciplineProposalRpcService
getProgramRequirements
in interface MajorDisciplineRpcService
Exception
public Map<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states, Map<Integer,ProgramRequirementInfo> progReqs) throws Exception
storeProgramRequirements
in interface MajorDisciplineProposalRpcService
storeProgramRequirements
in interface MajorDisciplineRpcService
Exception
public ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
createProgramRequirement
in interface MajorDisciplineProposalRpcService
createProgramRequirement
in interface MajorDisciplineRpcService
Exception
public StatusInfo deleteProgramRequirement(String programRequirementId) throws Exception
deleteProgramRequirement
in interface MajorDisciplineProposalRpcService
deleteProgramRequirement
in interface MajorDisciplineRpcService
Exception
public ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo) throws Exception
updateProgramRequirement
in interface MajorDisciplineProposalRpcService
updateProgramRequirement
in interface MajorDisciplineRpcService
Exception
public Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber) throws Exception
MajorDisciplineProposalRpcService
isLatestVersion
in interface MajorDisciplineProposalRpcService
isLatestVersion
in interface MajorDisciplineRpcService
versionIndId
- The version independent id of programversionSequenceNumber
- The sequence number to check.Exception
public void setProgramService(ProgramService programService)
public void setStatementService(StatementService statementService)
public void setStateChangeService(StateChangeService stateChangeService)
public Boolean isProposal(String referenceTypeKey, String referenceId)
At the moment, it is used by the UI to decide if we should hide the action box when opening a draft proposal.
isProposal
in interface MajorDisciplineRpcService
MajorDisciplineRpcService.isProposal(java.lang.String,
java.lang.String)
public ProposalService getProposalService()
public void setProposalService(ProposalService proposalService)
public void setCluService(CluService cluService)
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.