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