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.kim.api.identity.Person;
19 import org.kuali.rice.krad.bo.DataObjectAuthorizer;
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 public interface DocumentAuthorizer extends DataObjectAuthorizer {
37
38
39
40
41
42
43
44 public boolean canInitiate(String documentTypeName, Person user);
45
46
47
48
49
50
51
52
53 public boolean canOpen(Document document, Person user);
54
55
56
57
58
59
60
61
62
63 public boolean canEdit(Document document, Person user);
64
65 public boolean canAnnotate(Document document, Person user);
66
67 public boolean canReload(Document document, Person user);
68
69 public boolean canClose(Document document, Person user);
70
71 public boolean canSave(Document document, Person user);
72
73
74
75
76
77
78
79 public boolean canRoute(Document document, Person user);
80
81
82
83
84
85
86
87 public boolean canCancel(Document document, Person user);
88
89
90
91
92
93
94
95 public boolean canCopy(Document document, Person user);
96
97 public boolean canPerformRouteReport(Document document, Person user);
98
99 public boolean canBlanketApprove(Document document, Person user);
100
101 public boolean canApprove(Document document, Person user);
102
103 public boolean canDisapprove(Document document, Person user);
104
105 public boolean canSendNoteFyi(Document document, Person user);
106
107 public boolean canEditDocumentOverview(Document document, Person user);
108
109 public boolean canFyi(Document document, Person user);
110
111 public boolean canAcknowledge(Document document, Person user);
112
113 public boolean canReceiveAdHoc(Document document, Person user, String actionRequestCode);
114
115 public boolean canAddNoteAttachment(Document document, String attachmentTypeCode, Person user);
116
117 public boolean canDeleteNoteAttachment(Document document, String attachmentTypeCode,
118 String authorUniversalIdentifier, Person user);
119
120 public boolean canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier,
121 Person user);
122
123 public boolean canSendAdHocRequests(Document document, String actionRequestCd, Person user);
124
125 public boolean canSendAnyTypeAdHocRequests(Document document, Person user);
126
127 public boolean canTakeRequestedAction(Document document, String actionRequestCode, Person user);
128
129
130
131
132 public boolean canRecall(Document document, Person user);
133 }