1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.kns.service;
17
18 import org.kuali.rice.kim.api.identity.Person;
19 import org.kuali.rice.kns.document.MaintenanceDocument;
20 import org.kuali.rice.kns.document.authorization.BusinessObjectRestrictions;
21 import org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictions;
22 import org.kuali.rice.kns.inquiry.InquiryRestrictions;
23 import org.kuali.rice.krad.bo.BusinessObject;
24 import org.kuali.rice.krad.document.Document;
25 import org.kuali.rice.krad.service.DataObjectAuthorizationService;
26 import org.kuali.rice.krad.util.LegacyDataFramework;
27
28
29
30
31
32
33
34
35
36
37
38 @Deprecated
39 @LegacyDataFramework
40 public interface BusinessObjectAuthorizationService extends DataObjectAuthorizationService {
41 public BusinessObjectRestrictions getLookupResultRestrictions(
42 Object dataObject, Person user);
43
44 public InquiryRestrictions getInquiryRestrictions(
45 BusinessObject businessObject, Person user);
46
47 public MaintenanceDocumentRestrictions getMaintenanceDocumentRestrictions(
48 MaintenanceDocument maintenanceDocument, Person user);
49
50 public boolean canFullyUnmaskField(Person user,
51 Class<?> dataObjectClass, String fieldName, Document document);
52
53 public boolean canPartiallyUnmaskField(
54 Person user, Class<?> businessObjectClass, String fieldName, Document document);
55
56 }