org.kuali.student.lum.lu.ui.course.server.gwt
Class CourseRpcGwtServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.kuali.student.common.ui.server.gwt.DataGwtServlet
                      extended by org.kuali.student.lum.lu.ui.course.server.gwt.CourseRpcGwtServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, AssemblerRpcService, AuthorizationRpcService, BaseDataOrchestrationRpcService, CourseRpcService

public class CourseRpcGwtServlet
extends DataGwtServlet
implements CourseRpcService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
CourseRpcGwtServlet()
           
 
Method Summary
 StatusInfo changeState(String courseId, String newState)
           
 StatusInfo changeState(String courseId, String newState, String prevEndTerm)
           
 DataSaveResult createCopyCourse(String originalCluId)
           
 DataSaveResult createCopyCourseProposal(String originalProposalId, String documentType)
           
 StatementTreeViewInfo createCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo)
           
 StatusInfo deleteCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo)
           
 List<StatementTreeViewInfo> getCourseStatements(String courseId, String nlUsageTypeKey, String language)
           
 Boolean isAnyOtherRetireProposalsInWorkflow(String courseCluId)
          Perform a search using the proposal service to look for any retire proposals in saved or enroute state.
 Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber)
           
 void setCluService(CluService cluService)
           
 void setCourseService(CourseService courseService)
           
 void setProposalService(ProposalService proposalService)
           
 void setStateChangeService(CourseStateChangeServiceImpl stateChangeService)
           
 void setStatementService(StatementService statementService)
           
 Map<Integer,StatementTreeViewInfo> storeCourseStatements(String courseId, String courseState, Map<Integer,CourseRequirementsDataModel.requirementState> states, Map<Integer,StatementTreeViewInfo> rules)
           
 StatementTreeViewInfo updateCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo)
           
 
Methods inherited from class org.kuali.student.common.ui.server.gwt.DataGwtServlet
getData, getDataService, getMetadata, isAuthorized, saveData, setDataService, validate
 
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.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
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
 
Methods inherited from interface org.kuali.student.common.ui.client.service.AssemblerRpcService
getData, getMetadata, saveData, validate
 
Methods inherited from interface org.kuali.student.common.ui.client.service.AuthorizationRpcService
isAuthorized
 

Constructor Detail

CourseRpcGwtServlet

public CourseRpcGwtServlet()
Method Detail

getCourseStatements

public List<StatementTreeViewInfo> getCourseStatements(String courseId,
                                                       String nlUsageTypeKey,
                                                       String language)
                                                throws Exception
Specified by:
getCourseStatements in interface CourseRpcService
Throws:
Exception

storeCourseStatements

public Map<Integer,StatementTreeViewInfo> storeCourseStatements(String courseId,
                                                                String courseState,
                                                                Map<Integer,CourseRequirementsDataModel.requirementState> states,
                                                                Map<Integer,StatementTreeViewInfo> rules)
                                                         throws Exception
Specified by:
storeCourseStatements in interface CourseRpcService
Throws:
Exception

createCourseStatement

public StatementTreeViewInfo createCourseStatement(String courseId,
                                                   String courseState,
                                                   StatementTreeViewInfo statementTreeViewInfo)
                                            throws Exception
Specified by:
createCourseStatement in interface CourseRpcService
Throws:
Exception

deleteCourseStatement

public StatusInfo deleteCourseStatement(String courseId,
                                        StatementTreeViewInfo statementTreeViewInfo)
                                 throws Exception
Specified by:
deleteCourseStatement in interface CourseRpcService
Throws:
Exception

updateCourseStatement

public StatementTreeViewInfo updateCourseStatement(String courseId,
                                                   String courseState,
                                                   StatementTreeViewInfo statementTreeViewInfo)
                                            throws Exception
Specified by:
updateCourseStatement in interface CourseRpcService
Throws:
Exception

createCopyCourse

public DataSaveResult createCopyCourse(String originalCluId)
                                throws Exception
Specified by:
createCopyCourse in interface CourseRpcService
Throws:
Exception

createCopyCourseProposal

public DataSaveResult createCopyCourseProposal(String originalProposalId,
                                               String documentType)
                                        throws Exception
Specified by:
createCopyCourseProposal in interface CourseRpcService
Throws:
Exception

changeState

public StatusInfo changeState(String courseId,
                              String newState)
                       throws Exception
Specified by:
changeState in interface CourseRpcService
Throws:
Exception

changeState

public StatusInfo changeState(String courseId,
                              String newState,
                              String prevEndTerm)
                       throws Exception
Specified by:
changeState in interface CourseRpcService
Throws:
Exception

isAnyOtherRetireProposalsInWorkflow

public Boolean isAnyOtherRetireProposalsInWorkflow(String courseCluId)
                                            throws Exception
Perform a search using the proposal service to look for any retire proposals in saved or enroute state. Note that you can run this search through soapUI for quick testing/debugging.

Specified by:
isAnyOtherRetireProposalsInWorkflow in interface CourseRpcService
Throws:
Exception

isLatestVersion

public Boolean isLatestVersion(String versionIndId,
                               Long versionSequenceNumber)
                        throws Exception
Specified by:
isLatestVersion in interface CourseRpcService
Throws:
Exception

setCourseService

public void setCourseService(CourseService courseService)

setStatementService

public void setStatementService(StatementService statementService)

setStateChangeService

public void setStateChangeService(CourseStateChangeServiceImpl stateChangeService)

setCluService

public void setCluService(CluService cluService)

setProposalService

public void setProposalService(ProposalService proposalService)


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.