1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.actionrequest.dao; |
18 | |
|
19 | |
import org.kuali.rice.kew.actionrequest.ActionRequestValue; |
20 | |
|
21 | |
import java.util.Collection; |
22 | |
import java.util.List; |
23 | |
|
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
public interface ActionRequestDAO { |
31 | |
|
32 | |
public ActionRequestValue getActionRequestByActionRequestId(String actionRequestId); |
33 | |
|
34 | |
public void saveActionRequest(ActionRequestValue actionRequest); |
35 | |
|
36 | |
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteLevel(String documentId, Integer routeLevel); |
37 | |
|
38 | |
public List<ActionRequestValue> findPendingByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel); |
39 | |
|
40 | |
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtOrBelowRouteLevel(String documentId, Integer routeLevel); |
41 | |
|
42 | |
public void delete(String actionRequestId); |
43 | |
|
44 | |
public List<ActionRequestValue> findPendingByActionRequestedAndDocId(String actionRequestedCd, String documentId); |
45 | |
|
46 | |
public List<ActionRequestValue> findAllPendingByDocId(String documentId); |
47 | |
|
48 | |
public List<ActionRequestValue> findAllByDocId(String documentId); |
49 | |
|
50 | |
public List<ActionRequestValue> findAllRootByDocId(String documentId); |
51 | |
|
52 | |
public List<ActionRequestValue> findByStatusAndDocId(String statusCd, String documentId); |
53 | |
|
54 | |
public List<ActionRequestValue> findByDocumentIdIgnoreCurrentInd(String documentId); |
55 | |
|
56 | |
public List<ActionRequestValue> findActivatedByGroup(String groupId); |
57 | |
|
58 | |
public List<ActionRequestValue> findPendingByResponsibilityIds(Collection responsibilityIds); |
59 | |
|
60 | |
public void deleteByDocumentId(String documentId); |
61 | |
|
62 | |
public List<ActionRequestValue> findPendingRootRequestsByDocumentType(String documentTypeId); |
63 | |
|
64 | |
public List<ActionRequestValue> findPendingRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId); |
65 | |
|
66 | |
public List<ActionRequestValue> findRootRequestsByDocIdAtRouteNode(String documentId, String nodeInstanceId); |
67 | |
|
68 | |
|
69 | |
|
70 | |
public boolean doesDocumentHaveUserRequest(String workflowId, String documentId); |
71 | |
|
72 | |
public List<String> getRequestGroupIds(String documentId); |
73 | |
|
74 | |
} |