org.kuali.student.lum.program.server
Class StatementRpcServlet

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.BaseRpcGwtServletAbstract<CluService>
                      extended by org.kuali.student.lum.program.server.StatementRpcServlet
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, BaseRpcService, StatementRpcService

public class StatementRpcServlet
extends BaseRpcGwtServletAbstract<CluService>
implements StatementRpcService

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.student.common.ui.server.gwt.BaseRpcGwtServletAbstract
permissionService, service
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
StatementRpcServlet()
           
 
Method Summary
 CluInfo getClu(String cluId)
           
 VersionDisplayInfo getCurrentVersion(String refObjectTypeURI, String refObjectId)
           
 List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String luStatementTypeKey)
           
 List<StatementTypeInfo> getStatementTypesForStatementType(String statementTypeKey)
           
 List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse(String statementTypeKey)
           
 void setStatmentDataService(StatementRpcService statmentDataService)
           
 String translateReqComponentToNL(ReqComponentInfo reqComponentInfo, String nlUsageTypeKey, String language)
           
 List<String> translateReqComponentToNLs(ReqComponentInfoUi reqComponentInfo, String[] nlUsageTypeKeys, String language)
           
 String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo, String nlUsageTypeKey, String language)
           
 
Methods inherited from class org.kuali.student.common.ui.server.gwt.BaseRpcGwtServletAbstract
getCurrentUser, getObjectStructure, getObjectTypes, getPermissionService, getSearchType, getSearchTypes, getService, search, setPermissionService, setService
 
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.BaseRpcService
getObjectStructure, getObjectTypes, getSearchType, getSearchTypes, search
 

Constructor Detail

StatementRpcServlet

public StatementRpcServlet()
Method Detail

setStatmentDataService

public void setStatmentDataService(StatementRpcService statmentDataService)

getStatementTypesForStatementTypeForCourse

public List<StatementTypeInfo> getStatementTypesForStatementTypeForCourse(String statementTypeKey)
                                                                   throws Exception
Specified by:
getStatementTypesForStatementTypeForCourse in interface StatementRpcService
Throws:
Exception

getStatementTypesForStatementType

public List<StatementTypeInfo> getStatementTypesForStatementType(String statementTypeKey)
                                                          throws Exception
Specified by:
getStatementTypesForStatementType in interface StatementRpcService
Throws:
Exception

getReqComponentTypesForStatementType

public List<ReqComponentTypeInfo> getReqComponentTypesForStatementType(String luStatementTypeKey)
                                                                throws Exception
Specified by:
getReqComponentTypesForStatementType in interface StatementRpcService
Throws:
Exception

translateReqComponentToNL

public String translateReqComponentToNL(ReqComponentInfo reqComponentInfo,
                                        String nlUsageTypeKey,
                                        String language)
                                 throws Exception
Specified by:
translateReqComponentToNL in interface StatementRpcService
Throws:
Exception

translateStatementTreeViewToNL

public String translateStatementTreeViewToNL(StatementTreeViewInfo statementTreeViewInfo,
                                             String nlUsageTypeKey,
                                             String language)
                                      throws Exception
Specified by:
translateStatementTreeViewToNL in interface StatementRpcService
Throws:
Exception

translateReqComponentToNLs

public List<String> translateReqComponentToNLs(ReqComponentInfoUi reqComponentInfo,
                                               String[] nlUsageTypeKeys,
                                               String language)
                                        throws Exception
Specified by:
translateReqComponentToNLs in interface StatementRpcService
Throws:
Exception

getClu

public CluInfo getClu(String cluId)
               throws Exception
Specified by:
getClu in interface StatementRpcService
Throws:
Exception

getCurrentVersion

public VersionDisplayInfo getCurrentVersion(String refObjectTypeURI,
                                            String refObjectId)
                                     throws Exception
Specified by:
getCurrentVersion in interface StatementRpcService
Throws:
Exception


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