Enum Class GroupAccessState

java.lang.Object
java.lang.Enum<GroupAccessState>
ch.ivyteam.ivy.security.GroupAccessState
All Implemented Interfaces:
Serializable, Comparable<GroupAccessState>, java.lang.constant.Constable

public enum GroupAccessState extends Enum<GroupAccessState>
State information about whether permissions in a group are granted or denied to a certain security member
Since:
16.05.2008
API:
This is a public API.
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The security member is denied all permissions of a group
    The security member is granted all permissions of a group
    The security member is not granted and not denied any permission of a group
    The security member is denied some permissions of a group, but not all
    The security member is granted some permissions of a group, but not all
    The security member is granted some and denied some permissions of a group, but not all
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks whether the security member is denied at least one permission of a group
    boolean
    Checks whether the security member is granted at least one permission of a group
  • Enum Constant Details

    • ALL_GRANTED

      public static final GroupAccessState ALL_GRANTED
      The security member is granted all permissions of a group
      API:
      This public API is available in Java.
    • ALL_DENIED

      public static final GroupAccessState ALL_DENIED
      The security member is denied all permissions of a group
      API:
      This public API is available in Java.
    • SOME_GRANTED

      public static final GroupAccessState SOME_GRANTED
      The security member is granted some permissions of a group, but not all
      API:
      This public API is available in Java.
    • SOME_DENIED

      public static final GroupAccessState SOME_DENIED
      The security member is denied some permissions of a group, but not all
      API:
      This public API is available in Java.
    • SOME_GRANTED_AND_SOME_DENIED

      public static final GroupAccessState SOME_GRANTED_AND_SOME_DENIED
      The security member is granted some and denied some permissions of a group, but not all
      API:
      This public API is available in Java.
    • NONE_GRANTED_OR_DENIED

      public static final GroupAccessState NONE_GRANTED_OR_DENIED
      The security member is not granted and not denied any permission of a group
      API:
      This public API is available in Java.
  • Method Details

    • isAnyGranted

      public boolean isAnyGranted()
      Checks whether the security member is granted at least one permission of a group
      Returns:
      true if the member is granted one or more permissions, false otherwise
      API:
      This public API is available in Java.
    • isAnyDenied

      public boolean isAnyDenied()
      Checks whether the security member is denied at least one permission of a group
      Returns:
      true if the member is denied one or more permissions, false otherwise
      API:
      This public API is available in Java.