org.kuali.student.lum.program.server
Class MajorDisciplineProposalRpcServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
org.kuali.student.common.ui.server.gwt.DataGwtServlet
org.kuali.student.lum.program.server.MajorDisciplineProposalRpcServlet
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, AssemblerRpcService, AuthorizationRpcService, BaseDataOrchestrationRpcService, MajorDisciplineProposalRpcService, MajorDisciplineRpcService
public class MajorDisciplineProposalRpcServlet
- extends DataGwtServlet
- implements MajorDisciplineProposalRpcService
- See Also:
- Serialized Form
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse |
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREVIOUS_VERSION_INFO
public static final String PREVIOUS_VERSION_INFO
- See Also:
- Constant Field Values
stateChangeService
protected StateChangeService stateChangeService
MajorDisciplineProposalRpcServlet
public MajorDisciplineProposalRpcServlet()
updateState
public DataSaveResult updateState(Data data,
String state)
throws Exception
- This method will update the state of a major discipline.
- Specified by:
updateState
in interface MajorDisciplineProposalRpcService
- 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
- See Also:
org.kuali.student.lum.program.client.rpc.MajorDisciplineRpcService#updateStatus(org.kuali.student.common.assembly.data.Data,
java.lang.String)
getProgramRequirements
public List<ProgramRequirementInfo> getProgramRequirements(List<String> programRequirementIds)
throws Exception
- Specified by:
getProgramRequirements
in interface MajorDisciplineProposalRpcService
- Specified by:
getProgramRequirements
in interface MajorDisciplineRpcService
- Throws:
Exception
storeProgramRequirements
public Map<Integer,ProgramRequirementInfo> storeProgramRequirements(Map<Integer,ProgramRequirementsDataModel.requirementState> states,
Map<Integer,ProgramRequirementInfo> progReqs)
throws Exception
- Specified by:
storeProgramRequirements
in interface MajorDisciplineProposalRpcService
- Specified by:
storeProgramRequirements
in interface MajorDisciplineRpcService
- Throws:
Exception
createProgramRequirement
public ProgramRequirementInfo createProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Specified by:
createProgramRequirement
in interface MajorDisciplineProposalRpcService
- Specified by:
createProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
deleteProgramRequirement
public StatusInfo deleteProgramRequirement(String programRequirementId)
throws Exception
- Specified by:
deleteProgramRequirement
in interface MajorDisciplineProposalRpcService
- Specified by:
deleteProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
updateProgramRequirement
public ProgramRequirementInfo updateProgramRequirement(ProgramRequirementInfo programRequirementInfo)
throws Exception
- Specified by:
updateProgramRequirement
in interface MajorDisciplineProposalRpcService
- Specified by:
updateProgramRequirement
in interface MajorDisciplineRpcService
- Throws:
Exception
isLatestVersion
public Boolean isLatestVersion(String versionIndId,
Long versionSequenceNumber)
throws Exception
- Description copied from interface:
MajorDisciplineProposalRpcService
- Is the current version sequence number the latest version.
- Specified by:
isLatestVersion
in interface MajorDisciplineProposalRpcService
- Specified by:
isLatestVersion
in interface MajorDisciplineRpcService
- Parameters:
versionIndId
- The version independent id of programversionSequenceNumber
- The sequence number to check.
- Returns:
-
- Throws:
Exception
setProgramService
public void setProgramService(ProgramService programService)
setStatementService
public void setStatementService(StatementService statementService)
setStateChangeService
public void setStateChangeService(StateChangeService stateChangeService)
isProposal
public Boolean isProposal(String referenceTypeKey,
String referenceId)
- This method will check to see if an object with the given reference ID is a
proposal.
At the moment, it is used by the UI to decide if we should hide the action box when
opening a draft proposal.
- Specified by:
isProposal
in interface MajorDisciplineRpcService
- See Also:
MajorDisciplineRpcService.isProposal(java.lang.String,
java.lang.String)
getProposalService
public ProposalService getProposalService()
- Proposal service is injected by spring in the lum-gwt-context.xml file
- Returns:
setProposalService
public void setProposalService(ProposalService proposalService)
setCluService
public void setCluService(CluService cluService)
Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.