Interface PermissionEnablerService
- All Known Implementing Classes:
DefaultPermissionEnablerService
public interface PermissionEnablerService
Service to tune permission checking for types and attributes.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanisAttributeVerifiable(String typeCode, String attribute) Method that tests whether the provided attribute part of theComposedTypeModelfor the giventypeCodecan be verified while permission checking.booleanisTypeVerifiable(String typeCode) Method that tests whether theComposedTypeModelfor the giventypeCodecan be verified while permission checking.
-
Method Details
-
isTypeVerifiable
Method that tests whether theComposedTypeModelfor the giventypeCodecan be verified while permission checking.- Parameters:
typeCode- The type code to be verified.- Returns:
TRUEif the permission checking is enabled for the given type,FALSEotherwise.
-
isAttributeVerifiable
Method that tests whether the provided attribute part of theComposedTypeModelfor the giventypeCodecan be verified while permission checking. This method also checks if the attribute is in all the super types of the given type.- Parameters:
typeCode- The type code to of the attribute to be verified.attribute- The attribute to be verified.- Returns:
TRUEif the permission checking is enabled for the given attribute within a type,FALSEotherwise.
-