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