Interface PermissionEnablerService
-
- All Known Implementing Classes:
DefaultPermissionEnablerService
public interface PermissionEnablerServiceService to tune permission checking for types and attributes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisAttributeVerifiable(java.lang.String typeCode, java.lang.String attribute)Method that tests whether the provided attribute part of theComposedTypeModelfor the giventypeCodecan be verified while permission checking.booleanisTypeVerifiable(java.lang.String typeCode)Method that tests whether theComposedTypeModelfor the giventypeCodecan be verified while permission checking.
-
-
-
Method Detail
-
isTypeVerifiable
boolean isTypeVerifiable(java.lang.String typeCode)
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
boolean isAttributeVerifiable(java.lang.String typeCode, java.lang.String attribute)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.
-
-