1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.document;
17
18 import org.kuali.rice.krad.uif.view.RequestAuthorizationCache;
19
20
21
22
23
24
25
26
27 public interface DocumentPresentationController {
28
29 public boolean canInitiate(String documentTypeName);
30
31 public boolean canEdit(Document document);
32
33 public boolean canAnnotate(Document document);
34
35 public boolean canReload(Document document);
36
37 public boolean canClose(Document document);
38
39 public boolean canSave(Document document);
40
41 public boolean canRoute(Document document);
42
43 public boolean canCancel(Document document);
44
45 public boolean canCopy(Document document);
46
47 public boolean canPerformRouteReport(Document document);
48
49 public boolean canAddAdhocRequests(Document document);
50
51 public boolean canBlanketApprove(Document document);
52
53 public boolean canApprove(Document document);
54
55 public boolean canDisapprove(Document document);
56
57 public boolean canSendAdhocRequests(Document document);
58
59 public boolean canSendNoteFyi(Document document);
60
61 public boolean canEditDocumentOverview(Document document);
62
63 public boolean canFyi(Document document);
64
65 public boolean canAcknowledge(Document document);
66
67 public boolean canComplete(Document document);
68
69
70
71
72 public boolean canRecall(Document document);
73
74
75
76
77
78
79
80
81
82
83 boolean canSuperUserTakeAction(Document document);
84
85
86
87
88
89
90
91
92
93
94 boolean canSuperUserApprove(Document document);
95
96
97
98
99
100
101
102
103
104
105 boolean canSuperUserDisapprove(Document document);
106
107 void setDocumentRequestAuthorizationCache(DocumentRequestAuthorizationCache documentRequestAuthorizationCache);
108
109 }