Package ch.ivyteam.ivy.security
Interface IPermissionAccess
-
public interface IPermissionAccessThe 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AccessStategetAccessState()Gets the access state of the permission for the security memberIPermissiongetPermission()Gets the permissionIRolegetPermissionHolder()Gets the permission holder.booleanisDenied()Is deniedbooleanisExplicit()Is explicit denied or grantedbooleanisGranted()Is granted
-
-
-
Method Detail
-
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.
-
-