| 1 | |
|
| 2 | |
|
| 3 | |
|
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
|
| 9 | |
|
| 10 | |
|
| 11 | |
|
| 12 | |
|
| 13 | |
|
| 14 | |
|
| 15 | |
|
| 16 | |
package org.kuali.student.core.document.ui.client.service; |
| 17 | |
|
| 18 | |
import java.util.List; |
| 19 | |
|
| 20 | |
import org.kuali.student.common.dto.StatusInfo; |
| 21 | |
import org.kuali.student.common.ui.client.service.BaseRpcServiceAsync; |
| 22 | |
import org.kuali.student.core.document.dto.DocumentInfo; |
| 23 | |
import org.kuali.student.core.document.dto.DocumentTypeInfo; |
| 24 | |
import org.kuali.student.core.document.dto.RefDocRelationInfo; |
| 25 | |
|
| 26 | |
import com.google.gwt.user.client.rpc.AsyncCallback; |
| 27 | |
|
| 28 | |
public interface DocumentRpcServiceAsync extends BaseRpcServiceAsync{ |
| 29 | |
|
| 30 | |
public void getDocumentTypes(AsyncCallback<List<DocumentTypeInfo>> callback) throws Exception; |
| 31 | |
|
| 32 | |
public void getDocument(String documentId, AsyncCallback<DocumentInfo> callback) throws Exception; |
| 33 | |
|
| 34 | |
public void getDocumentsByIdList(List<String> documentIdList, AsyncCallback<List<DocumentInfo>> callback) throws Exception; |
| 35 | |
|
| 36 | |
public void deleteDocument(String documentId, AsyncCallback<StatusInfo> callback) throws Exception; |
| 37 | |
|
| 38 | |
public void updateDocument(String documentId, DocumentInfo documentInfo, AsyncCallback<DocumentInfo> callback) throws Exception; |
| 39 | |
|
| 40 | |
public void addDocumentCategoryToDocument(String documentId, String documentCategoryKey, AsyncCallback<StatusInfo> callback) throws Exception; |
| 41 | |
|
| 42 | |
public void removeDocumentCategoryFromDocument(String documentId, String documentCategoryKey, AsyncCallback<StatusInfo> callback) throws Exception; |
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
|
| 48 | |
|
| 49 | |
public void isAuthorizedUploadDocuments(String id, String referenceTypeKey, AsyncCallback<Boolean> callback); |
| 50 | |
|
| 51 | |
public void deleteRefDocRelation(String docRelationId, AsyncCallback<StatusInfo> callback); |
| 52 | |
|
| 53 | |
public void deleteRefDocRelationAndOrphanedDoc(String docRelationId, String documentId, AsyncCallback<StatusInfo> callback) throws Exception; |
| 54 | |
|
| 55 | |
public void getRefDocIdsForRef(String refObjectTypeKey, String refObjectId, AsyncCallback<List<RefDocRelationInfo>> callback); |
| 56 | |
} |