org.kuali.student.common.ui.server.gwt
Class DocumentRpcGwtServlet
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.BaseRpcGwtServletAbstract<DocumentService>
org.kuali.student.common.ui.server.gwt.DocumentRpcGwtServlet
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, Servlet, ServletConfig, BaseRpcService, DocumentRpcService
public class DocumentRpcGwtServlet
- extends BaseRpcGwtServletAbstract<DocumentService>
- implements DocumentRpcService
- See Also:
- Serialized Form
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet |
perThreadRequest, perThreadResponse |
Methods inherited from class org.kuali.student.common.ui.server.gwt.BaseRpcGwtServletAbstract |
getCurrentUser, getObjectStructure, getObjectTypes, getPermissionService, getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, getService, search, setPermissionService, setService |
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 |
Methods inherited from interface org.kuali.student.common.ui.client.service.BaseRpcService |
getObjectStructure, getObjectTypes, getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
DocumentRpcGwtServlet
public DocumentRpcGwtServlet()
getDocument
public DocumentInfo getDocument(String documentId)
throws Exception
- Specified by:
getDocument
in interface DocumentRpcService
- Throws:
Exception
getDocumentsByIdList
public List<DocumentInfo> getDocumentsByIdList(List<String> documentIdList)
throws Exception
- Specified by:
getDocumentsByIdList
in interface DocumentRpcService
- Throws:
Exception
deleteDocument
public StatusInfo deleteDocument(String documentId)
throws Exception
- Specified by:
deleteDocument
in interface DocumentRpcService
- Throws:
Exception
updateDocument
public DocumentInfo updateDocument(String documentId,
DocumentInfo documentInfo)
throws Exception
- Specified by:
updateDocument
in interface DocumentRpcService
- Throws:
Exception
addDocumentCategoryToDocument
public StatusInfo addDocumentCategoryToDocument(String documentId,
String documentCategoryKey)
throws Exception
- Specified by:
addDocumentCategoryToDocument
in interface DocumentRpcService
- Throws:
Exception
removeDocumentCategoryFromDocument
public StatusInfo removeDocumentCategoryFromDocument(String documentId,
String documentCategoryKey)
throws Exception
- Specified by:
removeDocumentCategoryFromDocument
in interface DocumentRpcService
- Throws:
Exception
isAuthorizedUploadDocuments
public Boolean isAuthorizedUploadDocuments(String id,
String referenceTypeKey)
- Description copied from interface:
DocumentRpcService
- Check for authorization to upload documents
- Specified by:
isAuthorizedUploadDocuments
in interface DocumentRpcService
- Parameters:
id
- identifier of the objectreferenceTypeKey
- reference type key of the object
deleteRefDocRelation
public StatusInfo deleteRefDocRelation(String documentId)
throws Exception
- Specified by:
deleteRefDocRelation
in interface DocumentRpcService
- Throws:
Exception
getRefDocIdsForRef
public List<RefDocRelationInfo> getRefDocIdsForRef(String refObjectTypeKey,
String refObjectId)
throws Exception
- Specified by:
getRefDocIdsForRef
in interface DocumentRpcService
- Throws:
Exception
deleteRefDocRelationAndOrphanedDoc
public StatusInfo deleteRefDocRelationAndOrphanedDoc(String docRelationId,
String documentId)
throws Exception
- Specified by:
deleteRefDocRelationAndOrphanedDoc
in interface DocumentRpcService
- Throws:
Exception
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.