1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.service; |
18 | |
|
19 | |
import org.kuali.rice.kew.dto.AdHocRevokeDTO; |
20 | |
import org.kuali.rice.kew.dto.DocumentContentDTO; |
21 | |
import org.kuali.rice.kew.dto.MovePointDTO; |
22 | |
import org.kuali.rice.kew.dto.ReturnPointDTO; |
23 | |
import org.kuali.rice.kew.dto.RouteHeaderDTO; |
24 | |
import org.kuali.rice.kew.exception.WorkflowException; |
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
public interface WorkflowDocumentActions { |
32 | |
|
33 | |
public RouteHeaderDTO acknowledgeDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
34 | |
public RouteHeaderDTO approveDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
35 | |
public RouteHeaderDTO adHocRouteDocumentToPrincipal(String principalId, RouteHeaderDTO routeHeader, String actionRequested, String nodeName, String annotation, String targetPrincipalId, String responsibilityDesc, boolean forceAction, String requestLabel) throws WorkflowException; |
36 | |
public RouteHeaderDTO adHocRouteDocumentToGroup(String principalId, RouteHeaderDTO routeHeader, String actionRequested, String nodeName, String annotation, String groupId, String responsibilityDesc, boolean forceAction, String requestLabel) throws WorkflowException; |
37 | |
public RouteHeaderDTO cancelDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
38 | |
public RouteHeaderDTO clearFYIDocument(String principalId, RouteHeaderDTO routeHeader) throws WorkflowException; |
39 | |
public RouteHeaderDTO completeDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
40 | |
public RouteHeaderDTO createDocument(String principalId, RouteHeaderDTO routeHeader) throws WorkflowException; |
41 | |
public RouteHeaderDTO disapproveDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
42 | |
|
43 | |
public RouteHeaderDTO routeDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
44 | |
public RouteHeaderDTO saveRoutingData(String principalId, RouteHeaderDTO routeHeader) throws WorkflowException; |
45 | |
public RouteHeaderDTO saveDocument(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
46 | |
public void deleteDocument(String principalId, RouteHeaderDTO routeHeader) throws WorkflowException; |
47 | |
public void logDocumentAction(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
48 | |
public RouteHeaderDTO superUserApprove(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
49 | |
public RouteHeaderDTO superUserActionRequestApprove(String principalId, RouteHeaderDTO routeHeaderVO, Long actionRequestId, String annotation) throws WorkflowException; |
50 | |
public RouteHeaderDTO superUserDisapprove(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
51 | |
public RouteHeaderDTO superUserCancel(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
52 | |
|
53 | |
public DocumentContentDTO saveDocumentContent(DocumentContentDTO documentContent) throws WorkflowException; |
54 | |
|
55 | |
public RouteHeaderDTO placeInExceptionRouting(String principalId, RouteHeaderDTO routeHeader, String annotation) throws WorkflowException; |
56 | |
|
57 | |
|
58 | |
|
59 | |
|
60 | |
|
61 | |
|
62 | |
public RouteHeaderDTO blanketApproval(String principalId, RouteHeaderDTO routeHeader, String annotation, Integer routeLevel) throws WorkflowException; |
63 | |
|
64 | |
|
65 | |
|
66 | |
|
67 | |
public RouteHeaderDTO returnDocumentToPreviousRouteLevel(String principalId, RouteHeaderDTO routeHeader, Integer destRouteLevel, String annotation) throws WorkflowException; |
68 | |
|
69 | |
|
70 | |
|
71 | |
public RouteHeaderDTO blanketApprovalToNodes(String principalId, RouteHeaderDTO routeHeader, String annotation, String[] nodeNames) throws WorkflowException; |
72 | |
public RouteHeaderDTO returnDocumentToPreviousNode(String principalId, RouteHeaderDTO routeHeader, ReturnPointDTO returnPoint, String annotation) throws WorkflowException; |
73 | |
public RouteHeaderDTO takeGroupAuthority(String principalId, RouteHeaderDTO routeHeader, String groupId, String annotation) throws WorkflowException; |
74 | |
public RouteHeaderDTO releaseGroupAuthority(String principalId, RouteHeaderDTO routeHeader, String groupId, String annotation) throws WorkflowException; |
75 | |
public RouteHeaderDTO moveDocument(String principalId, RouteHeaderDTO routeHeader, MovePointDTO movePoint, String annotation) throws WorkflowException; |
76 | |
|
77 | |
|
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
public RouteHeaderDTO revokeAdHocRequests(String principalId, RouteHeaderDTO routeHeader, AdHocRevokeDTO revoke, String annotation) throws WorkflowException; |
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
public void superUserNodeApproveAction(String principalId, String documentId, String nodeName, String annotation) throws WorkflowException; |
88 | |
|
89 | |
|
90 | |
|
91 | |
|
92 | |
public void superUserReturnToPreviousNode(String principalId, String documentId, String destinationNodeName, String annotation) throws WorkflowException; |
93 | |
|
94 | |
|
95 | |
|
96 | |
|
97 | |
public void superUserActionRequestApproveAction(String principalId, String documentId, Long actionRequestId, String annotation) throws WorkflowException; |
98 | |
|
99 | |
|
100 | |
|
101 | |
|
102 | |
public void superUserNodeApproveAction(String principalId, String documentId, String nodeName, String annotation, boolean runPostProcessor) throws WorkflowException; |
103 | |
|
104 | |
|
105 | |
|
106 | |
|
107 | |
public RouteHeaderDTO superUserApprove(String principalId, RouteHeaderDTO routeHeader, String annotation, boolean runPostProcessor) throws WorkflowException; |
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
public RouteHeaderDTO superUserDisapprove(String principalId, RouteHeaderDTO routeHeader, String annotation, boolean runPostProcessor) throws WorkflowException; |
113 | |
|
114 | |
|
115 | |
|
116 | |
|
117 | |
public RouteHeaderDTO superUserCancel(String principalId, RouteHeaderDTO routeHeader, String annotation, boolean runPostProcessor) throws WorkflowException; |
118 | |
|
119 | |
|
120 | |
|
121 | |
|
122 | |
public void superUserReturnToPreviousNode(String principalId, String documentId, String destinationNodeName, String annotation, boolean runPostProcessor) throws WorkflowException; |
123 | |
|
124 | |
|
125 | |
|
126 | |
|
127 | |
public void superUserActionRequestApproveAction(String principalId, String documentId, Long actionRequestId, String annotation, boolean runPostProcessor) throws WorkflowException; |
128 | |
|
129 | |
|
130 | |
|
131 | |
|
132 | |
|
133 | |
|
134 | |
|
135 | |
public void indexDocument(String documentId); |
136 | |
|
137 | |
} |