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 public boolean canInitiate(String documentTypeName, Person user);
39
40 public boolean canOpen(Document document, Person user);
41
42 public boolean canEdit(Document document, Person user);
43
44 public boolean canAnnotate(Document document, Person user);
45
46 public boolean canReload(Document document, Person user);
47
48 public boolean canClose(Document document, Person user);
49
50 public boolean canSave(Document document, Person user);
51
52 public boolean canRoute(Document document, Person user);
53
54 public boolean canCancel(Document document, Person user);
55
56 public boolean canCopy(Document document, Person user);
57
58 public boolean canPerformRouteReport(Document document, Person user);
59
60 public boolean canBlanketApprove(Document document, Person user);
61
62 public boolean canApprove(Document document, Person user);
63
64 public boolean canDisapprove(Document document, Person user);
65
66 public boolean canSendNoteFyi(Document document, Person user);
67
68 public boolean canEditDocumentOverview(Document document, Person user);
69
70 public boolean canFyi(Document document, Person user);
71
72 public boolean canAcknowledge(Document document, Person user);
73
74 public boolean canReceiveAdHoc(Document document, Person user, String actionRequestCode);
75
76 public boolean canAddNoteAttachment(Document document, String attachmentTypeCode, Person user);
77
78 public boolean canDeleteNoteAttachment(Document document, String attachmentTypeCode,
79 String authorUniversalIdentifier, Person user);
80
81 public boolean canViewNoteAttachment(Document document, String attachmentTypeCode, String authorUniversalIdentifier,
82 Person user);
83
84 public boolean canSendAdHocRequests(Document document, String actionRequestCd, Person user);
85
86 public boolean canSendAnyTypeAdHocRequests(Document document, Person user);
87
88 public boolean canTakeRequestedAction(Document document, String actionRequestCode, Person user);
89 }