org.kuali.student.common.ui.client.service
Interface DocumentRpcServiceAsync
- All Superinterfaces:
- BaseRpcServiceAsync
public interface DocumentRpcServiceAsync
- extends BaseRpcServiceAsync
Method Summary |
void |
addDocumentCategoryToDocument(String documentId,
String documentCategoryKey,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
|
void |
deleteDocument(String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
|
void |
deleteRefDocRelation(String docRelationId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
|
void |
deleteRefDocRelationAndOrphanedDoc(String docRelationId,
String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
|
void |
getDocument(String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<DocumentInfo> callback)
|
void |
getDocumentsByIdList(List<String> documentIdList,
com.google.gwt.user.client.rpc.AsyncCallback<List<DocumentInfo>> callback)
|
void |
getRefDocIdsForRef(String refObjectTypeKey,
String refObjectId,
com.google.gwt.user.client.rpc.AsyncCallback<List<RefDocRelationInfo>> callback)
|
void |
isAuthorizedUploadDocuments(String id,
String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
Check for authorization to upload documents |
void |
removeDocumentCategoryFromDocument(String documentId,
String documentCategoryKey,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
|
void |
updateDocument(String documentId,
DocumentInfo documentInfo,
com.google.gwt.user.client.rpc.AsyncCallback<DocumentInfo> callback)
|
Methods inherited from interface org.kuali.student.common.ui.client.service.BaseRpcServiceAsync |
getObjectStructure, getObjectTypes, getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
getDocument
void getDocument(String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<DocumentInfo> callback)
throws Exception
- Throws:
Exception
getDocumentsByIdList
void getDocumentsByIdList(List<String> documentIdList,
com.google.gwt.user.client.rpc.AsyncCallback<List<DocumentInfo>> callback)
throws Exception
- Throws:
Exception
deleteDocument
void deleteDocument(String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
throws Exception
- Throws:
Exception
updateDocument
void updateDocument(String documentId,
DocumentInfo documentInfo,
com.google.gwt.user.client.rpc.AsyncCallback<DocumentInfo> callback)
throws Exception
- Throws:
Exception
addDocumentCategoryToDocument
void addDocumentCategoryToDocument(String documentId,
String documentCategoryKey,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
throws Exception
- Throws:
Exception
removeDocumentCategoryFromDocument
void removeDocumentCategoryFromDocument(String documentId,
String documentCategoryKey,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
throws Exception
- Throws:
Exception
isAuthorizedUploadDocuments
void isAuthorizedUploadDocuments(String id,
String referenceTypeKey,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
- Check for authorization to upload documents
- Parameters:
id
- identifier of the object related to the reference type keyreferenceTypeKey
- reference type key of the object document is being put on
deleteRefDocRelation
void deleteRefDocRelation(String docRelationId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
deleteRefDocRelationAndOrphanedDoc
void deleteRefDocRelationAndOrphanedDoc(String docRelationId,
String documentId,
com.google.gwt.user.client.rpc.AsyncCallback<StatusInfo> callback)
throws Exception
- Throws:
Exception
getRefDocIdsForRef
void getRefDocIdsForRef(String refObjectTypeKey,
String refObjectId,
com.google.gwt.user.client.rpc.AsyncCallback<List<RefDocRelationInfo>> callback)
Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.