1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.student.core.workflow.ui.client.service; |
17 | |
|
18 | |
import java.util.List; |
19 | |
|
20 | |
import org.kuali.student.core.rice.StudentWorkflowConstants.ActionRequestType; |
21 | |
|
22 | |
import com.google.gwt.user.client.rpc.AsyncCallback; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
public interface WorkflowRpcServiceAsync { |
29 | |
|
30 | |
public void getWorkflowIdFromDataId(String workflowDocType, String dataId, AsyncCallback<String> callback); |
31 | |
public void getDataIdFromWorkflowId(String workflowId, AsyncCallback<String> callback); |
32 | |
public void getDocumentStatus(String workflowId, AsyncCallback<String> callback); |
33 | |
public void getWorkflowNodes(String workflowId, AsyncCallback<List<String>> callback); |
34 | |
|
35 | |
public void getActionsRequested(String workflowId, AsyncCallback<String> callback); |
36 | |
|
37 | |
public void submitDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
38 | |
public void cancelDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
39 | |
public void approveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
40 | |
public void disapproveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
41 | |
public void acknowledgeDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
42 | |
public void fyiDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
43 | |
public void withdrawDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
44 | |
public void blanketApproveDocumentWithId(String workflowId, AsyncCallback<Boolean> callback); |
45 | |
public void returnDocumentWithId(String workflowId, String nodeName, AsyncCallback<Boolean> callback); |
46 | |
public void getPreviousRouteNodeNames(String workflowId, AsyncCallback<List<String>> callback); |
47 | |
|
48 | |
public void adhocRequest(String workflowId, String recipientPrincipalId, ActionRequestType requestType, String annotation, AsyncCallback<Boolean> callback); |
49 | |
|
50 | |
public void isAuthorizedAddReviewer(String docId, AsyncCallback<Boolean> callback); |
51 | |
public void isAuthorizedRemoveReviewers(String docId, AsyncCallback<Boolean> callback); |
52 | |
} |