public interface DataObjectAuthorizationService
Modifier and Type | Method and Description |
---|---|
boolean |
attributeValueNeedsToBeEncryptedOnFormsAndLinks(Class<?> dataObjectClass,
String attributeName)
Indicates whether the given attribute of the given data object class has any
security defined (such as read-only, masked, ...) and therefore data for the
attribute should be securely passed
|
boolean |
canCreate(Class<?> dataObjectClass,
Person user,
String docTypeName)
Indicates whether the given user has permission to create records of the given data
object class with the given document type
|
boolean |
canMaintain(Object dataObject,
Person user,
String docTypeName)
Indicates whether the given user has permission to maintain (edit/delete) the
give data object instance with the given document type
|
boolean attributeValueNeedsToBeEncryptedOnFormsAndLinks(Class<?> dataObjectClass, String attributeName)
dataObjectClass
- - class that contains the attributeattributeName
- - name of the attribute (property) within the classboolean canCreate(Class<?> dataObjectClass, Person user, String docTypeName)
dataObjectClass
- - class of data object to check authorization foruser
- - person requesting actiondocTypeName
- - name of the document type that provides the actionboolean canMaintain(Object dataObject, Person user, String docTypeName)
dataObject
- - data object instance to check authorization foruser
- - person requesting actiondocTypeName
- - name of the document type that provides the actionCopyright © 2005–2016 The Kuali Foundation. All rights reserved.