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(Long actionRequestId); |
33 | |
|
34 | |
public void saveActionRequest(ActionRequestValue actionRequest); |
35 | |
|
36 | |
public List findPendingRootRequestsByDocIdAtRouteLevel(Long routeHeaderId, Integer routeLevel); |
37 | |
|
38 | |
public List findPendingByDocIdAtOrBelowRouteLevel(Long routeHeaderId, Integer routeLevel); |
39 | |
|
40 | |
public List findPendingRootRequestsByDocIdAtOrBelowRouteLevel(Long routeHeaderId, Integer routeLevel); |
41 | |
|
42 | |
public void delete(Long actionRequestId); |
43 | |
|
44 | |
public List findPendingByActionRequestedAndDocId(String actionRequestedCd, Long routeHeaderId); |
45 | |
|
46 | |
public List findAllPendingByDocId(Long routeHeaderId); |
47 | |
|
48 | |
public List findAllByDocId(Long routeHeaderId); |
49 | |
|
50 | |
public List findAllRootByDocId(Long routeHeaderId); |
51 | |
|
52 | |
public List<ActionRequestValue> findByStatusAndDocId(String statusCd, Long routeHeaderId); |
53 | |
|
54 | |
public List findByRouteHeaderIdIgnoreCurrentInd(Long routeHeaderId); |
55 | |
|
56 | |
public List findActivatedByGroup(String groupId); |
57 | |
|
58 | |
public List findPendingByResponsibilityIds(Collection responsibilityIds); |
59 | |
|
60 | |
public void deleteByRouteHeaderId(Long routeHeaderId); |
61 | |
|
62 | |
public List findPendingRootRequestsByDocumentType(Long documentTypeId); |
63 | |
|
64 | |
public List findPendingRootRequestsByDocIdAtRouteNode(Long routeHeaderId, Long nodeInstanceId); |
65 | |
|
66 | |
public List findRootRequestsByDocIdAtRouteNode(Long documentId, Long nodeInstanceId); |
67 | |
|
68 | |
|
69 | |
|
70 | |
public boolean doesDocumentHaveUserRequest(String workflowId, Long documentId); |
71 | |
|
72 | |
public List<String> getRequestGroupIds(Long documentId); |
73 | |
|
74 | |
} |