1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kew.actionlist.service; |
18 | |
|
19 | |
import java.util.Collection; |
20 | |
import java.util.List; |
21 | |
|
22 | |
import org.kuali.rice.kew.actionitem.ActionItem; |
23 | |
import org.kuali.rice.kew.actionitem.OutboxItemActionListExtension; |
24 | |
import org.kuali.rice.kew.actionlist.ActionListFilter; |
25 | |
import org.kuali.rice.kew.actionrequest.ActionRequestValue; |
26 | |
import org.kuali.rice.kew.actionrequest.Recipient; |
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
|
36 | |
public interface ActionListService { |
37 | |
public ActionItem createActionItemForActionRequest(ActionRequestValue actionRequest); |
38 | |
|
39 | |
public Collection<ActionItem> getActionList(String principalId, ActionListFilter filter); |
40 | |
|
41 | |
public Collection<ActionItem> getActionListForSingleDocument(Long routeHeaderId); |
42 | |
|
43 | |
public Collection<Recipient> findUserSecondaryDelegators(String principalId); |
44 | |
|
45 | |
public Collection<Recipient> findUserPrimaryDelegations(String principalId); |
46 | |
|
47 | |
public boolean refreshActionList(String principalId); |
48 | |
|
49 | |
public void saveActionItem(ActionItem actionItem); |
50 | |
|
51 | |
public void deleteActionItem(ActionItem actionItem); |
52 | |
|
53 | |
public void deleteActionItem(ActionItem actionItem, boolean forceIntoOutbox); |
54 | |
|
55 | |
public void deleteByRouteHeaderId(Long routeHeaderId); |
56 | |
|
57 | |
public Collection<ActionItem> findByPrincipalId(String principalId); |
58 | |
|
59 | |
public Collection<ActionItem> findByWorkflowUserRouteHeaderId(String workflowUserId, Long routeHeaderId); |
60 | |
|
61 | |
public Collection<ActionItem> findByRouteHeaderId(Long routeHeaderId); |
62 | |
|
63 | |
public Collection<ActionItem> findByDocumentTypeName(String documentTypeName); |
64 | |
|
65 | |
public void updateActionItemsForTitleChange(Long routeHeaderId, String newTitle); |
66 | |
|
67 | |
public void validateActionItem(ActionItem actionItem); |
68 | |
|
69 | |
public ActionItem findByActionItemId(Long actionItemId); |
70 | |
|
71 | |
|
72 | |
|
73 | |
|
74 | |
public int getCount(String principalId); |
75 | |
|
76 | |
public void saveRefreshUserOption(String principalId); |
77 | |
|
78 | |
|
79 | |
|
80 | |
|
81 | |
|
82 | |
|
83 | |
|
84 | |
|
85 | |
|
86 | |
|
87 | |
public Collection<ActionItem> getOutbox(String principalId, ActionListFilter filter); |
88 | |
public Collection<ActionItem> getOutboxItemsByDocumentType(String documentTypeName); |
89 | |
public void removeOutboxItems(String principalId, List<String> outboxItems); |
90 | |
public void saveOutboxItem(ActionItem actionItem); |
91 | |
public void saveOutboxItem(ActionItem actionItem, boolean forceIntoOutbox); |
92 | |
} |