Package ch.ivyteam.ivy.security
Enum GroupAccessState
- java.lang.Object
-
- java.lang.Enum<GroupAccessState>
-
- ch.ivyteam.ivy.security.GroupAccessState
-
- All Implemented Interfaces:
Serializable
,Comparable<GroupAccessState>
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 ALL_DENIED
The security member is denied all permissions of a groupALL_GRANTED
The security member is granted all permissions of a groupNONE_GRANTED_OR_DENIED
The security member is not granted and not denied any permission of a groupSOME_DENIED
The security member is denied some permissions of a group, but not allSOME_GRANTED
The security member is granted some permissions of a group, but not allSOME_GRANTED_AND_SOME_DENIED
The security member is granted some and denied some permissions of a group, but not all
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isAnyDenied()
Checks whether the security member is denied at least one permission of a groupboolean
isAnyGranted()
Checks whether the security member is granted at least one permission of a group
-
-
-
Enum Constant Detail
-
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 Detail
-
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.
-
-