Class ElementPermissionsManager


  • @OpenApi
    public final class ElementPermissionsManager
    extends java.lang.Object
    Class responsible for managing permissions of element : readonly, can add children. This manager does not contain any logic, external ElementPermissions should be registered to handle permissions.
    • Method Detail

      • getElementPermissionsManager

        @OpenApi
        public static ElementPermissionsManager getElementPermissionsManager()
        Singleton getter
        Returns:
        instance
      • addPermisionsHandler

        @OpenApi
        @Deprecated
        public void addPermisionsHandler​(ElementPermissions permissions)
        Deprecated.
        spelling error. Use #addPermissionsHandler
        Register custom permission handler
        Parameters:
        permissions - permissions handler
      • addPermissionsHandler

        @OpenApi
        public void addPermissionsHandler​(ElementPermissions permissions)
        Register custom permission handler
        Parameters:
        permissions - permissions handler
      • removePermisionsHandler

        @OpenApi
        @Deprecated
        public void removePermisionsHandler​(ElementPermissions permissions)
        Deprecated.
        spelling error. Use #removePermissionsHandler
        Unregister custom permission handler
        Parameters:
        permissions - permissions handler
      • removePermissionsHandler

        @OpenApi
        public void removePermissionsHandler​(ElementPermissions permissions)
        Unregister custom permission handler
        Parameters:
        permissions - permissions handler