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 ActionTakenValue findByActionTakenId(String actionTakenId);
34
35 ActionTakenValue saveActionTaken(ActionTakenValue actionTaken);
36
37 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest);
38
39 ActionTakenValue getPreviousAction(ActionRequestValue actionRequest, List<ActionTakenValue> simulatedActionsTaken);
40
41 Collection<ActionTakenValue> findByDocumentId(String documentId);
42
43 List<ActionTakenValue> findByDocumentIdPrincipalId(String documentId, String workflowId);
44
45 void delete(ActionTakenValue actionTaken);
46
47 List<ActionTakenValue> findByDocumentIdIgnoreCurrentInd(String documentId);
48
49 boolean hasUserTakenAction(String principalId, String documentId);
50
51 Timestamp getLastApprovedDate(String documentId);
52
53 }