1 | |
package org.kuali.rice.kew.api.document; |
2 | |
|
3 | |
import java.util.List; |
4 | |
|
5 | |
import org.kuali.rice.kew.api.action.ActionRequest; |
6 | |
import org.kuali.rice.kew.api.action.AdHocRevokeFromGroup; |
7 | |
import org.kuali.rice.kew.api.action.AdHocRevokeFromPrincipal; |
8 | |
import org.kuali.rice.kew.api.action.AdHocToGroup; |
9 | |
import org.kuali.rice.kew.api.action.AdHocToPrincipal; |
10 | |
import org.kuali.rice.kew.api.action.MovePoint; |
11 | |
import org.kuali.rice.kew.api.action.ReturnPoint; |
12 | |
import org.kuali.rice.kew.api.action.ValidActions; |
13 | |
|
14 | |
|
15 | |
|
16 | |
public interface WorkflowDocumentEngineService { |
17 | |
|
18 | |
public Document createDocument(String documentTypeName, String initiatorPrincipalId, String title, DocumentContentUpdate documentContent); |
19 | |
|
20 | |
public Document retrieveDocument(String documentId); |
21 | |
|
22 | |
public DocumentContent retrieveDocumentContent(String documentId); |
23 | |
|
24 | |
public void updateDocumentTitle(String documentId, String documentTitle); |
25 | |
|
26 | |
public DocumentContent updateDocumentContent(String documentId, DocumentContentUpdate documentContent); |
27 | |
|
28 | |
public ValidActions determineValidActions(String documentId, String principalId); |
29 | |
|
30 | |
public void acknowledge(String documentId, String principalId, String annotation); |
31 | |
|
32 | |
public void approve(String documentId, String principalId, String annotation); |
33 | |
|
34 | |
public void adHocToPrincipal(String documentId, String principalId, AdHocToPrincipal adHocCommand, String annotation); |
35 | |
|
36 | |
public void adHocToGroup(String documentId, String principalId, AdHocToGroup adHocCommand, String annotation); |
37 | |
|
38 | |
public void revokeAdHocRequestsFromPrincipal(String documentId, String principalId, AdHocRevokeFromPrincipal revoke, String annotation); |
39 | |
|
40 | |
public void revokeAdHocRequestsFromGroup(String documentId, String principalId, AdHocRevokeFromGroup revoke, String annotation); |
41 | |
|
42 | |
public void cancel(String documentId, String principalId, String annotation); |
43 | |
|
44 | |
public void clearFyi(String documentId, String principalId, String annotation); |
45 | |
|
46 | |
public void complete(String documentId, String principalId, String annotation); |
47 | |
|
48 | |
public void disapprove(String documentId, String principalId, String annotation); |
49 | |
|
50 | |
public void submit(String documentId, String principalId, String annotation); |
51 | |
|
52 | |
public void blanketApproveToNodes(String documentId, String principalId, List<String> nodeNames, String annotation); |
53 | |
|
54 | |
public void returnToPreviousNode(String documentId, String principalId, ReturnPoint returnPoint, String annotation); |
55 | |
|
56 | |
public void moveDocument(String documentId, String principalId, MovePoint movePoint, String annotation); |
57 | |
|
58 | |
public void takeGroupAuthority(String documentId, String principalId, String groupId, String annotation); |
59 | |
|
60 | |
public void releaseGroupAuthority(String documentId, String principalId, String groupId, String annotation); |
61 | |
|
62 | |
public void save(String documentId, String principalId, String annotation); |
63 | |
|
64 | |
public void delete(String documentId); |
65 | |
|
66 | |
public void logAnnotation(String documentId, String principalId, String annotation); |
67 | |
|
68 | |
public void initiateDocumentIndexing(String documentId); |
69 | |
|
70 | |
public void superUserFullApprove(String documentId, String principalId, boolean executePostProcessor, String annotation); |
71 | |
|
72 | |
public void superUserNodeApprove(String documentId, String principalId, String nodeName, boolean executePostProcessor, String annotation); |
73 | |
|
74 | |
public void superUserTakeRequestedAction(String documentId, String principalId, String actionRequestId, boolean executePostProcessor, String annotation); |
75 | |
|
76 | |
public void superUserDisapprove(String documentId, String principalId, boolean executePostProcessor, String annotation); |
77 | |
|
78 | |
public void superUserCancel(String documentId, String principalId, boolean executePostProcessor, String annotation); |
79 | |
|
80 | |
public void superUserReturnToPreviousNode(String documentId, String principalId, ReturnPoint returnPoint, boolean executePostProcessor, String annotation); |
81 | |
|
82 | |
public void placeInExceptionRouting(String documentId, String principalId); |
83 | |
|
84 | |
public List<ActionRequest> getActionRequests(String documentId); |
85 | |
|
86 | |
} |