1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kew.actiontaken.service; |
17 | |
|
18 | |
import org.kuali.rice.kew.actionrequest.ActionRequestValue; |
19 | |
import org.kuali.rice.kew.actiontaken.ActionTakenValue; |
20 | |
|
21 | |
import java.sql.Timestamp; |
22 | |
import java.util.Collection; |
23 | |
import java.util.List; |
24 | |
|
25 | |
|
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
public interface ActionTakenService { |
32 | |
|
33 | |
public ActionTakenValue load(String id); |
34 | |
|
35 | |
public ActionTakenValue findByActionTakenId(String actionTakenId); |
36 | |
|
37 | |
public Collection getActionsTaken(String documentId); |
38 | |
|
39 | |
public void saveActionTaken(ActionTakenValue actionTaken); |
40 | |
|
41 | |
public ActionTakenValue getPreviousAction(ActionRequestValue actionRequest); |
42 | |
|
43 | |
public ActionTakenValue getPreviousAction(ActionRequestValue actionRequest, List<ActionTakenValue> simulatedActionsTaken); |
44 | |
|
45 | |
public Collection<ActionTakenValue> findByDocumentId(String documentId); |
46 | |
|
47 | |
public Collection findByDocIdAndAction(String docId, String action); |
48 | |
|
49 | |
public List<ActionTakenValue> findByDocumentIdWorkflowId(String documentId, String workflowId); |
50 | |
|
51 | |
public void delete(ActionTakenValue actionTaken); |
52 | |
|
53 | |
public List findByDocumentIdIgnoreCurrentInd(String documentId); |
54 | |
|
55 | |
public void deleteByDocumentId(String documentId); |
56 | |
|
57 | |
public void validateActionTaken(ActionTakenValue actionTaken); |
58 | |
|
59 | |
public boolean hasUserTakenAction(String principalId, String documentId); |
60 | |
|
61 | |
public Timestamp getLastApprovedDate(String documentId); |
62 | |
} |