@Deprecated public class BusinessObjectAuthorizationServiceImpl extends DataObjectAuthorizationServiceImpl implements BusinessObjectAuthorizationService
Constructor and Description |
---|
BusinessObjectAuthorizationServiceImpl()
Deprecated.
|
attributeValueNeedsToBeEncryptedOnFormsAndLinks, canCreate, canMaintain, getDataDictionaryService, getDocumentDictionaryService, setDataDictionaryService, setDocumentDictionaryService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
attributeValueNeedsToBeEncryptedOnFormsAndLinks, canCreate, canMaintain
public BusinessObjectAuthorizationServiceImpl()
public BusinessObjectRestrictions getLookupResultRestrictions(Object dataObject, Person user)
getLookupResultRestrictions
in interface BusinessObjectAuthorizationService
public InquiryRestrictions getInquiryRestrictions(BusinessObject businessObject, Person user)
getInquiryRestrictions
in interface BusinessObjectAuthorizationService
public MaintenanceDocumentRestrictions getMaintenanceDocumentRestrictions(MaintenanceDocument maintenanceDocument, Person user)
getMaintenanceDocumentRestrictions
in interface BusinessObjectAuthorizationService
protected void considerBusinessObjectFieldUnmaskAuthorization(Object dataObject, Person user, BusinessObjectRestrictions businessObjectRestrictions, String propertyPrefix, Document document)
protected void considerBusinessObjectFieldViewAuthorization(DataObjectEntry dataObjectEntry, Object primaryDataObject, BusinessObject collectionItemBusinessObject, Person user, BusinessObjectAuthorizer businessObjectAuthorizer, InquiryOrMaintenanceDocumentRestrictions inquiryOrMaintenanceDocumentRestrictions, String propertyPrefix)
dataObjectEntry
- if collectionItemBusinessObject is not null, then it is the DD entry for collectionItemBusinessObject.
Otherwise, it is the entry for primaryBusinessObjectprimaryDataObject
- the top-level BO that is being inquiried or maintainedcollectionItemBusinessObject
- an element of a collection under the primaryBusinessObject that we are evaluating view auths foruser
- the logged in userbusinessObjectAuthorizer
- inquiryOrMaintenanceDocumentRestrictions
- propertyPrefix
- protected void considerBusinessObjectFieldModifyAuthorization(DataObjectEntry dataObjectEntry, Object primaryDataObject, BusinessObject collectionItemBusinessObject, Person user, BusinessObjectAuthorizer businessObjectAuthorizer, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions, String propertyPrefix)
dataObjectEntry
- if collectionItemBusinessObject is not null, then it is the DD entry for collectionItemBusinessObject.
Otherwise, it is the entry for primaryBusinessObjectprimaryDataObject
- the top-level BO that is being inquiried or maintainedcollectionItemBusinessObject
- an element of a collection under the primaryBusinessObject that we are evaluating view auths foruser
- the logged in userbusinessObjectAuthorizer
- inquiryOrMaintenanceDocumentRestrictions
- propertyPrefix
- protected void considerCustomButtonFieldAuthorization(DataObjectEntry dataObjectEntry, Object primaryDataObject, BusinessObject collectionItemBusinessObject, Person user, BusinessObjectAuthorizer businessObjectAuthorizer, MaintenanceDocumentRestrictions maintenanceDocumentRestrictions, String propertyPrefix)
dataObjectEntry
- if collectionItemBusinessObject is not null, then it is the DD entry for collectionItemBusinessObject.
Otherwise, it is the entry for primaryBusinessObjectprimaryDataObject
- the top-level BO that is being inquiried or maintainedcollectionItemBusinessObject
- an element of a collection under the primaryBusinessObject that we are evaluating view auths foruser
- the logged in userbusinessObjectAuthorizer
- inquiryOrMaintenanceDocumentRestrictions
- propertyPrefix
- protected void considerInquiryOrMaintenanceDocumentPresentationController(InquiryOrMaintenanceDocumentPresentationController businessObjectPresentationController, Object businessObject, InquiryOrMaintenanceDocumentRestrictions inquiryOrMaintenanceDocumentRestrictions)
protected void considerInquiryOrMaintenanceDocumentAuthorizer(InquiryOrMaintenanceDocumentAuthorizer authorizer, Object businessObject, Person user, InquiryOrMaintenanceDocumentRestrictions restrictions)
protected void considerMaintenanceDocumentPresentationController(MaintenanceDocumentPresentationController presentationController, MaintenanceDocument document, MaintenanceDocumentRestrictions restrictions)
protected void considerMaintenanceDocumentAuthorizer(MaintenanceDocumentAuthorizer authorizer, MaintenanceDocument document, Person user, MaintenanceDocumentRestrictions restrictions)
protected void addInquirableItemRestrictions(Collection sectionDefinitions, InquiryAuthorizer authorizer, InquiryRestrictions restrictions, BusinessObject primaryBusinessObject, BusinessObject businessObject, String propertyPrefix, Person user)
protected void addMaintainableItemRestrictions(List<? extends MaintainableItemDefinition> itemDefinitions, MaintenanceDocumentAuthorizer authorizer, MaintenanceDocumentRestrictions restrictions, MaintenanceDocument maintenanceDocument, BusinessObject businessObject, String propertyPrefix, Person user)
public boolean canFullyUnmaskField(Person user, Class<?> dataObjectClass, String fieldName, Document document)
canFullyUnmaskField
in interface BusinessObjectAuthorizationService
public boolean canPartiallyUnmaskField(Person user, Class<?> dataObjectClass, String fieldName, Document document)
canPartiallyUnmaskField
in interface BusinessObjectAuthorizationService
protected Map<String,String> getFieldPermissionDetails(Class<?> dataObjectClass, String attributeName)
protected Map<String,String> getFieldPermissionDetails(Object dataObject, String attributeName)
protected Map<String,String> getButtonFieldPermissionDetails(Object businessObject, String attributeName)
protected DocumentHelperService getDocumentHelperService()
Copyright © 2005–2015 The Kuali Foundation. All rights reserved.