1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.actionitem.dao;
17
18 import java.util.Collection;
19
20 import org.kuali.rice.kew.actionitem.ActionItem;
21 import org.kuali.rice.kew.actionitem.OutboxItemActionListExtension;
22 import org.kuali.rice.kew.actionrequest.Recipient;
23
24
25
26
27
28
29
30
31 public interface ActionItemDAO {
32
33 public ActionItem findByActionItemId(String actionItemId);
34
35 public void deleteActionItem(ActionItem actionItem);
36
37 public void deleteByDocumentId(String documentId);
38
39 public void deleteByDocumentIdWorkflowUserId(String documentId,
40 String workflowUserId);
41
42 public void saveActionItem(ActionItem actionItem);
43
44 public Collection<ActionItem> findByPrincipalId(String principalId);
45
46 public Collection<ActionItem> findByDocumentId(String documentId);
47
48 public Collection<ActionItem> findByActionRequestId(String actionRequestId);
49
50 public Collection<ActionItem> findByWorkflowUserDocumentId(
51 String workflowUserId, String documentId);
52
53 public Collection<ActionItem> findByDocumentTypeName(String documentTypeName);
54
55 public Collection<Recipient> findSecondaryDelegators(String principalId);
56
57 public Collection<Recipient> findPrimaryDelegationRecipients(String principalId);
58
59 public Collection<OutboxItemActionListExtension> getOutboxItemsByDocumentType(String documentTypeName);
60 }