org.kuali.student.lum.lu.ui.course.server.gwt
Class CourseRpcGwtServlet
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.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
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
Method Summary |
StatusInfo |
changeState(String courseId,
String newState)
|
StatusInfo |
changeState(String courseId,
String newState,
Date currentVersionStart)
|
StatementTreeViewInfo |
createCourseStatement(String courseId,
String courseState,
StatementTreeViewInfo statementTreeViewInfo)
|
StatusInfo |
deleteCourseStatement(String courseId,
StatementTreeViewInfo statementTreeViewInfo)
|
List<StatementTreeViewInfo> |
getCourseStatements(String courseId,
String nlUsageTypeKey,
String language)
|
void |
setCourseService(CourseService courseService)
|
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 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.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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
courseService
private CourseService courseService
statementService
private StatementService statementService
stateChangeService
private CourseStateChangeServiceImpl stateChangeService
CourseRpcGwtServlet
public CourseRpcGwtServlet()
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
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,
Date currentVersionStart)
throws Exception
- Specified by:
changeState
in interface CourseRpcService
- Throws:
Exception
setReqCompNL
private void setReqCompNL(StatementTreeViewInfo tree)
throws Exception
- Throws:
Exception
setCourseService
public void setCourseService(CourseService courseService)
setStatementService
public void setStatementService(StatementService statementService)
setStateChangeService
public void setStateChangeService(CourseStateChangeServiceImpl stateChangeService)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.