Interface PermissionGroup

  • All Superinterfaces:
    HtmlObjectWrapper

    public interface PermissionGroup
    extends HtmlObjectWrapper
    A grouping of permissions. Adds no real functionality but is mainly intended for backward compatibility to support the depracated Supergod, maineditor and GX_users groups.
    Author:
    arjans
    • Method Detail

      • checkAccess

        boolean checkAccess​(String permissionValue)
        Returns true if this permission group contains the given permission.
        Parameters:
        permissionValue - Value that uniquely identifies the permission to check
        Returns:
        true if this permission group contains the given permission
      • getValue

        String getValue()
        Returns String representation of a value of a permission group.
        Returns:
        String representation of a value of a permission group
      • getPermissions

        Permission[] getPermissions()
        Returns all permissions assigned to the permission group.
        Returns:
        all permissions assigned to the permission group
      • isDevelopment

        boolean isDevelopment()
        Returns true if the permission group applies for developers only.
        Returns:
        true if the permission group applies for developers only
      • getName

        String getName()
        Return the language dependend name of this permission group.
        Returns:
        Language dependend name of this permission group