Interface PermissionEnablerService

  • All Known Implementing Classes:
    DefaultPermissionEnablerService

    public interface PermissionEnablerService
    Service to tune permission checking for types and attributes.
    • Method Detail

      • isTypeVerifiable

        boolean isTypeVerifiable​(java.lang.String typeCode)
        Method that tests whether the ComposedTypeModel for the given typeCode can be verified while permission checking.
        Parameters:
        typeCode - The type code to be verified.
        Returns:
        TRUE if the permission checking is enabled for the given type, FALSE otherwise.
      • isAttributeVerifiable

        boolean isAttributeVerifiable​(java.lang.String typeCode,
                                      java.lang.String attribute)
        Method that tests whether the provided attribute part of the ComposedTypeModel for the given typeCode can 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:
        TRUE if the permission checking is enabled for the given attribute within a type, FALSE otherwise.