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,
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 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
luService
private LuService luService
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
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.