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.bo.Person; |
19 | |
import org.kuali.rice.kns.document.authorization.BusinessObjectRestrictions; |
20 | |
import org.kuali.rice.kns.document.authorization.MaintenanceDocumentRestrictions; |
21 | |
import org.kuali.rice.kns.inquiry.InquiryRestrictions; |
22 | |
import org.kuali.rice.krad.bo.BusinessObject; |
23 | |
import org.kuali.rice.kns.document.MaintenanceDocument; |
24 | |
import org.kuali.rice.krad.document.Document; |
25 | |
import org.kuali.rice.krad.service.DataObjectAuthorizationService; |
26 | |
|
27 | |
|
28 | |
|
29 | |
|
30 | |
|
31 | |
|
32 | |
|
33 | |
|
34 | |
|
35 | |
@Deprecated |
36 | |
public interface BusinessObjectAuthorizationService extends DataObjectAuthorizationService { |
37 | |
public BusinessObjectRestrictions getLookupResultRestrictions( |
38 | |
Object dataObject, Person user); |
39 | |
|
40 | |
public InquiryRestrictions getInquiryRestrictions( |
41 | |
BusinessObject businessObject, Person user); |
42 | |
|
43 | |
public MaintenanceDocumentRestrictions getMaintenanceDocumentRestrictions( |
44 | |
MaintenanceDocument maintenanceDocument, Person user); |
45 | |
|
46 | |
public boolean canFullyUnmaskField(Person user, |
47 | |
Class<?> dataObjectClass, String fieldName, Document document); |
48 | |
|
49 | |
public boolean canPartiallyUnmaskField( |
50 | |
Person user, Class<?> businessObjectClass, String fieldName, Document document); |
51 | |
|
52 | |
} |