SAP NetWeaver 7.1 Composition Environment

com.sap.security.api.acl
Class PermissionStatus

java.lang.Object
  extended by com.sap.security.api.acl.PermissionStatus

public class PermissionStatus
extends Object

Permission Status

The Permission Status.

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


Field Summary
static PermissionStatus IS_ALLOWED
           
static PermissionStatus IS_DENIED
           
static PermissionStatus IS_UNDEFINED
           
 
Method Summary
 boolean equals(Object otherPermissionStatus)
          Checks if a given PermissionStatus equals an other PermissionStatus.
 int getStatus()
          Gets the status of the IAclResult object.
 int hashCode()
          Provides the hashCode for this PermissionStatus 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
clone, finalize, getClass, 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(Object otherPermissionStatus)
Checks if a given PermissionStatus equals an other PermissionStatus.

Overrides:
equals in class Object
Returns:
true if given PermissionStatus equals the other PermissionStatus false otherwise

hashCode

public int hashCode()
Provides the hashCode for this PermissionStatus object.

Overrides:
hashCode in class Object

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

SAP NetWeaver 7.1 Composition Environment

Copyright © 2007 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.