Interface PermissionEnablerService

All Known Implementing Classes:
DefaultPermissionEnablerService

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

    Modifier and Type
    Method
    Description
    boolean
    isAttributeVerifiable(String typeCode, String attribute)
    Method that tests whether the provided attribute part of the ComposedTypeModel for the given typeCode can be verified while permission checking.
    boolean
    Method that tests whether the ComposedTypeModel for the given typeCode can be verified while permission checking.
  • Method Details

    • isTypeVerifiable

      boolean isTypeVerifiable(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(String typeCode, 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.