org.kuali.student.common.ui.server.gwt
Class BaseRpcGwtServletAbstract<SEI>

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<SEI>
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, BaseRpcService
Direct Known Subclasses:
AtpRpcGwtServlet, CommentRpcGwtServlet, DocumentRpcGwtServlet, LuRpcGwtServlet, ProposalRpcGwtServlet, StatementRpcServlet

public abstract class BaseRpcGwtServletAbstract<SEI>
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements BaseRpcService

This abstract service delegates search & dictionary operations to the web service being remoted. Extend this class for gwt servlets only if you the service being remoted has dictionary and search operations

Author:
Kuali Student Team
See Also:
Serialized Form

Field Summary
(package private)  Logger LOG
           
protected  org.kuali.rice.kim.service.IdentityManagementService permissionService
           
private static long serialVersionUID
           
protected  SEI service
           
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
BaseRpcGwtServletAbstract()
           
 
Method Summary
protected  String getCurrentUser()
           
 ObjectStructure getObjectStructure(String objectTypeKey)
           
 List<String> getObjectTypes()
           
 org.kuali.rice.kim.service.IdentityManagementService getPermissionService()
           
 SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
           
 List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
           
 SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
           
 List<SearchResultTypeInfo> getSearchResultTypes()
           
 SearchTypeInfo getSearchType(String searchTypeKey)
           
 List<SearchTypeInfo> getSearchTypes()
           
 List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
           
 List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
           
 SEI getService()
           
 SearchResult search(SearchRequest searchRequest)
           
 void setPermissionService(org.kuali.rice.kim.service.IdentityManagementService permissionService)
           
 void setService(SEI service)
           
 
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
 

Field Detail

LOG

final Logger LOG

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

service

protected SEI service

permissionService

protected org.kuali.rice.kim.service.IdentityManagementService permissionService
Constructor Detail

BaseRpcGwtServletAbstract

public BaseRpcGwtServletAbstract()
Method Detail

getService

public SEI getService()

setService

public void setService(SEI service)

getPermissionService

public org.kuali.rice.kim.service.IdentityManagementService getPermissionService()

setPermissionService

public void setPermissionService(org.kuali.rice.kim.service.IdentityManagementService permissionService)

getObjectStructure

public ObjectStructure getObjectStructure(String objectTypeKey)
Specified by:
getObjectStructure in interface BaseRpcService
See Also:
DictionaryService.getObjectStructure(java.lang.String)

getObjectTypes

public List<String> getObjectTypes()
Specified by:
getObjectTypes in interface BaseRpcService
See Also:
DictionaryService.getObjectTypes()

getSearchCriteriaType

public SearchCriteriaTypeInfo getSearchCriteriaType(String searchCriteriaTypeKey)
Specified by:
getSearchCriteriaType in interface BaseRpcService
See Also:
SearchService.getSearchCriteriaType(java.lang.String)

getSearchCriteriaTypes

public List<SearchCriteriaTypeInfo> getSearchCriteriaTypes()
Specified by:
getSearchCriteriaTypes in interface BaseRpcService
Throws:
OperationFailedException
See Also:
SearchService.getSearchCriteriaTypes()

getSearchResultType

public SearchResultTypeInfo getSearchResultType(String searchResultTypeKey)
Specified by:
getSearchResultType in interface BaseRpcService
See Also:
SearchService.getSearchResultType(java.lang.String)

getSearchResultTypes

public List<SearchResultTypeInfo> getSearchResultTypes()
Specified by:
getSearchResultTypes in interface BaseRpcService
See Also:
SearchService.getSearchResultTypes()

getSearchType

public SearchTypeInfo getSearchType(String searchTypeKey)
Specified by:
getSearchType in interface BaseRpcService
See Also:
SearchService.getSearchType(java.lang.String)

getSearchTypes

public List<SearchTypeInfo> getSearchTypes()
Specified by:
getSearchTypes in interface BaseRpcService
See Also:
SearchService.getSearchTypes()

getSearchTypesByCriteria

public List<SearchTypeInfo> getSearchTypesByCriteria(String searchCriteriaTypeKey)
Specified by:
getSearchTypesByCriteria in interface BaseRpcService
See Also:
SearchService.getSearchTypesByCriteria(java.lang.String)

getSearchTypesByResult

public List<SearchTypeInfo> getSearchTypesByResult(String searchResultTypeKey)
Specified by:
getSearchTypesByResult in interface BaseRpcService
See Also:
SearchService.getSearchTypesByResult(java.lang.String)

search

public SearchResult search(SearchRequest searchRequest)
Specified by:
search in interface BaseRpcService
See Also:
SearchService.search(org.kuali.student.core.search.dto.SearchRequest)

getCurrentUser

protected String getCurrentUser()


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