public interface PermissionCRUDService
PermissionCheckingService that use
permission names defined in: PermissionsConstants| Modifier and Type | Method and Description |
|---|---|
boolean |
canChangeAttribute(AttributeDescriptorModel attributeDescriptor)
Returns true if the current user is granted
PermissionsConstants.CHANGE permission to the given attribute
descriptor. |
boolean |
canChangeAttribute(String typeCode,
String attributeQualifier)
Returns true if the current user is granted
PermissionsConstants.CHANGE permission to the given attribute
descriptor. |
boolean |
canChangeAttributePermission(AttributeDescriptorModel attributeDescriptor)
Returns true if the current user is granted
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given attribute descriptor. |
boolean |
canChangeAttributePermission(String typeCode,
String attributeQualifier)
Returns true if the current user is granted
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given attribute descriptor. |
boolean |
canChangeType(ComposedTypeModel type)
Returns true if the current user is granted
PermissionsConstants.CHANGE permission to the given type. |
boolean |
canChangeType(String typeCode)
Returns true if the current user is granted
PermissionsConstants.CHANGE permission to the given type. |
boolean |
canChangeTypePermission(ComposedTypeModel type)
Returns true if the current user is granted
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given type. |
boolean |
canChangeTypePermission(String typeCode)
Returns true if the current user is granted
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given type. |
boolean |
canCreateTypeInstance(ComposedTypeModel type)
Returns true if the current user is granted
PermissionsConstants.CREATE permission to the given type. |
boolean |
canCreateTypeInstance(String typeCode)
Returns true if the current user is granted
PermissionsConstants.CREATE permission to the given type. |
boolean |
canReadAttribute(AttributeDescriptorModel attributeDescriptor)
Returns true if the current user is granted
PermissionsConstants.READ permission to the given attribute
descriptor. |
boolean |
canReadAttribute(String typeCode,
String attributeQualifier)
Returns true if the current user is granted
PermissionsConstants.READ permission to the given attribute
descriptor. |
boolean |
canReadType(ComposedTypeModel type)
Returns true if the current user is granted
PermissionsConstants.READ permission to the given type. |
boolean |
canReadType(String typeCode)
Returns true if the current user is granted
PermissionsConstants.READ permission to the given type. |
boolean |
canRemoveTypeInstance(ComposedTypeModel type)
Returns true if the current user is granted
PermissionsConstants.REMOVE permission to the given type. |
boolean |
canRemoveTypeInstance(String typeCode)
Returns true if the current user is granted
PermissionsConstants.REMOVE permission to the given type. |
boolean canReadType(ComposedTypeModel type)
PermissionsConstants.READ permission to the given type.
Returns false otherwise.boolean canReadType(String typeCode)
PermissionsConstants.READ permission to the given type.
Returns false otherwise.boolean canReadAttribute(AttributeDescriptorModel attributeDescriptor)
PermissionsConstants.READ permission to the given attribute
descriptor. Returns false otherwise.boolean canReadAttribute(String typeCode, String attributeQualifier)
PermissionsConstants.READ permission to the given attribute
descriptor. Returns false otherwise.boolean canChangeType(ComposedTypeModel type)
PermissionsConstants.CHANGE permission to the given type.
Returns false otherwise.boolean canChangeType(String typeCode)
PermissionsConstants.CHANGE permission to the given type.
Returns false otherwise.boolean canChangeAttribute(AttributeDescriptorModel attributeDescriptor)
PermissionsConstants.CHANGE permission to the given attribute
descriptor. Returns false otherwise.boolean canChangeAttribute(String typeCode, String attributeQualifier)
PermissionsConstants.CHANGE permission to the given attribute
descriptor. Returns false otherwise.boolean canCreateTypeInstance(ComposedTypeModel type)
PermissionsConstants.CREATE permission to the given type.
Returns false otherwise.boolean canCreateTypeInstance(String typeCode)
PermissionsConstants.CREATE permission to the given type.
Returns false otherwise.boolean canRemoveTypeInstance(ComposedTypeModel type)
PermissionsConstants.REMOVE permission to the given type.
Returns false otherwise.boolean canRemoveTypeInstance(String typeCode)
PermissionsConstants.REMOVE permission to the given type.
Returns false otherwise.boolean canChangeTypePermission(ComposedTypeModel type)
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given type. Returns false otherwise.boolean canChangeTypePermission(String typeCode)
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given type. Returns false otherwise.boolean canChangeAttributePermission(AttributeDescriptorModel attributeDescriptor)
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given attribute descriptor. Returns false otherwise.boolean canChangeAttributePermission(String typeCode, String attributeQualifier)
PermissionsConstants.CHANGE_PERMISSIONS permission to the
given attribute descriptor. Returns false otherwise.Copyright © 2017 SAP SE. All Rights Reserved.