Interface PermissionCategory

  • All Superinterfaces:
    HtmlObjectWrapper

    public interface PermissionCategory
    extends HtmlObjectWrapper
    Category bundling a number of permissions. Each permission is assigned to exactly one category.
    Author:
    arjans
    • Method Detail

      • getValue

        String getValue()
        Returns a unique identifying value of the category.
        Returns:
        a unique identifying value of the category
      • getLabelId

        String getLabelId()
        Return the id of the label assosiated with this permission category.
        Returns:
        The label id of the category.
      • getPermissions

        Permission[] getPermissions()
        Returns an array of all permission class instances in the category.
        Returns:
        an array of all permission class instances in the category
      • addPermission

        void addPermission​(Permission permission)
        Adds a permission to the volatile permissions.
        Parameters:
        permission - Permission to add
      • getName

        String getName()
        Return the language dependent description of the permission category.
        Returns:
        the language dependent description of the permission category
      • getShowAsComponent

        boolean getShowAsComponent()
        Return if the permission category should also be visible in the components tab of the Web Initiative configuration panel.
        Returns:
        true if the permission category should also be visible in the components tab of the Web Initiative configuration panel, false otherwise