com.sap.security.api.acl
Class PermissionStatus

java.lang.Object
  |
  +--com.sap.security.api.acl.PermissionStatus

public class PermissionStatus
extends java.lang.Object

Permission Status

The Permission Status.

This Enumaration Class defines three possible Permission Status, if a permission is allowed, is denied or is undefined.

Version:
1.0

Field Summary
static PermissionStatus IS_ALLOWED
           
static PermissionStatus IS_DENIED
           
static PermissionStatus IS_UNDEFINED
           
 
Method Summary
 boolean equals(PermissionStatus otherPermissionStatus)
          Checks if a given PermissionStatus equals an other PermissionStatus.
 int getStatus()
          Gets the status of the IAclResult object.
 boolean isAllowed()
          This methods checks if the status of the PermissionStatus is allowed.
 boolean isDenied()
          This methods checks if the status of the PermissionStatus is denied
 boolean isUndefined()
          This methods checks if the status of the PermissionStatus is undefined
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IS_ALLOWED

public static final PermissionStatus IS_ALLOWED

IS_DENIED

public static final PermissionStatus IS_DENIED

IS_UNDEFINED

public static final PermissionStatus IS_UNDEFINED
Method Detail

equals

public boolean equals(PermissionStatus otherPermissionStatus)
Checks if a given PermissionStatus equals an other PermissionStatus.
Returns:
true if given PermissionStatus equals the other PermissionStatus false otherwise

getStatus

public int getStatus()
Gets the status of the IAclResult object.
Returns:
status of the object

isAllowed

public boolean isAllowed()
This methods checks if the status of the PermissionStatus is allowed.
Returns:
true when the status is allowed false otherwise

isDenied

public boolean isDenied()
This methods checks if the status of the PermissionStatus is denied
Returns:
true when the status is denied false otherwise

isUndefined

public boolean isUndefined()
This methods checks if the status of the PermissionStatus is undefined
Returns:
true when the status is undefined false otherwise


Copyright © 2002 SAP AG All Rights Reserved.