Package ch.ivyteam.ivy.security
Interface IPermissionAccess
public interface IPermissionAccess
The permission access descripes if a security member is granted or denied a certain
permission.
- Version:
- ReW 11.12.2002 created
- API:
- This is a public API.
-
Method Summary
Modifier and TypeMethodDescriptionGets the access state of the permission for the security memberGets the permissionGets the permission holder.boolean
isDenied()
Is deniedboolean
Is explicit denied or grantedboolean
Is granted
-
Method Details
-
getAccessState
AccessState getAccessState()Gets the access state of the permission for the security member- Returns:
- access state
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
isGranted
boolean isGranted()Is granted- Returns:
- true if granted, otherwise false
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
isDenied
boolean isDenied()Is denied- Returns:
- true if denied, otherwise false
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
isExplicit
boolean isExplicit()Is explicit denied or granted- Returns:
- true if explicit, otherwise false
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getPermissionHolder
IRole getPermissionHolder()Gets the permission holder. If the state is not explicit set, the permission holder is a role that is responsible why the state is GRANTED or DENIED. It is null if the permission is explicit DENIED or GRANTED, or if the permission is NOT_GRANTED_OR_DENIED.- Returns:
- permission holder
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-
getPermission
IPermission getPermission()Gets the permission- Returns:
- the permission
- API:
- This public API is available in IvyScript and Java. It has the visibility EXPERT.
-