|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataObjectAuthorizationService
Provides methods for checking authorization for actions on a given data object class including the security of fields within the class
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
boolean attributeValueNeedsToBeEncryptedOnFormsAndLinks(Class<?> dataObjectClass,
String attributeName)
dataObjectClass - - class that contains the attributeattributeName - - name of the attribute (property) within the class
boolean 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 action
boolean 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 action
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||