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
private  CourseService courseService
           
private  LuService luService
           
private static long serialVersionUID
           
private  CourseStateChangeServiceImpl stateChangeService
           
private  StatementService statementService
           
 
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)
           
 StatementTreeViewInfo createCourseStatement(String courseId, String courseState, StatementTreeViewInfo statementTreeViewInfo)
           
 StatusInfo deleteCourseStatement(String courseId, StatementTreeViewInfo statementTreeViewInfo)
           
 List<StatementTreeViewInfo> getCourseStatements(String courseId, String nlUsageTypeKey, String language)
           
 Boolean isLatestVersion(String versionIndId, Long versionSequenceNumber)
           
 void setCourseService(CourseService courseService)
           
 void setLuService(LuService luService)
           
private  void setReqCompNL(StatementTreeViewInfo tree)
           
 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
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

courseService

private CourseService courseService

luService

private LuService luService

statementService

private StatementService statementService

stateChangeService

private CourseStateChangeServiceImpl stateChangeService
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)
                                        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

setReqCompNL

private void setReqCompNL(StatementTreeViewInfo tree)
                   throws Exception
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)

setLuService

public void setLuService(LuService luService)


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