1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kew.postprocessor;
17
18 import org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent;
19 import org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent;
20 import org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent;
21 import org.kuali.rice.kew.framework.postprocessor.DeleteEvent;
22 import org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent;
23 import org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange;
24 import org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange;
25 import org.kuali.rice.kew.framework.postprocessor.PostProcessor;
26 import org.kuali.rice.kew.framework.postprocessor.ProcessDocReport;
27
28 import java.util.List;
29
30
31
32
33
34
35
36
37
38
39
40 public class DefaultPostProcessor implements PostProcessor {
41
42 public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent) throws Exception {
43 return new ProcessDocReport(true, "");
44 }
45
46 public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent) throws Exception {
47 return new ProcessDocReport(true, "");
48 }
49
50 public ProcessDocReport doDeleteRouteHeader(DeleteEvent event) throws Exception {
51 return new ProcessDocReport(false, "");
52 }
53
54 public ProcessDocReport doActionTaken(ActionTakenEvent event) throws Exception {
55 return new ProcessDocReport(true, "");
56 }
57
58 public ProcessDocReport beforeProcess(BeforeProcessEvent event) throws Exception {
59 return new ProcessDocReport(true, "");
60 }
61
62 public ProcessDocReport afterProcess(AfterProcessEvent event) throws Exception {
63 return new ProcessDocReport(true, "");
64 }
65
66 public List<String> getDocumentIdsToLock(DocumentLockingEvent lockingEvent)
67 throws Exception {
68 return null;
69 }
70
71
72
73 }