Package ch.ivyteam.ivy.security
Enum Class GroupAccessState
- All Implemented Interfaces:
Serializable
,Comparable<GroupAccessState>
,java.lang.constant.Constable
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 ConstantDescriptionThe security member is denied all permissions of a groupThe security member is granted all permissions of a groupThe security member is not granted and not denied any permission of a groupThe security member is denied some permissions of a group, but not allThe security member is granted some permissions of a group, but not allThe security member is granted some and denied some permissions of a group, but not all -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks whether the security member is denied at least one permission of a groupboolean
Checks whether the security member is granted at least one permission of a group
-
Enum Constant Details
-
ALL_GRANTED
The security member is granted all permissions of a group- API:
- This public API is available in Java.
-
ALL_DENIED
The security member is denied all permissions of a group- API:
- This public API is available in Java.
-
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
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
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
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.
-