com.ibm.portal.resolver.webdav.tree
Enum WebdavAccessControlTreeModel.AclRestriction

java.lang.Object
  extended by java.lang.Enum<WebdavAccessControlTreeModel.AclRestriction>
      extended by com.ibm.portal.resolver.webdav.tree.WebdavAccessControlTreeModel.AclRestriction
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WebdavAccessControlTreeModel.AclRestriction>
Enclosing interface:
WebdavAccessControlTreeModel<T>

public static enum WebdavAccessControlTreeModel.AclRestriction
extends java.lang.Enum<WebdavAccessControlTreeModel.AclRestriction>

Enumeration about the supported acl-restrictions


Enum Constant Summary
DENY_BEFORE_GRANT
          indicates that all deny ACEs must precede all grant ACEs.
GRANT_ONLY
          indicates that ACEs with deny clauses are not allowed.
NO_INVERT
          indicates that ACEs with the element are not allowed.
REQUIRED_PRINCIPALS
          identify which principals must have an ACE defined in the ACL
 
Method Summary
static WebdavAccessControlTreeModel.AclRestriction valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WebdavAccessControlTreeModel.AclRestriction[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

GRANT_ONLY

public static final WebdavAccessControlTreeModel.AclRestriction GRANT_ONLY
indicates that ACEs with deny clauses are not allowed.


NO_INVERT

public static final WebdavAccessControlTreeModel.AclRestriction NO_INVERT
indicates that ACEs with the element are not allowed.


DENY_BEFORE_GRANT

public static final WebdavAccessControlTreeModel.AclRestriction DENY_BEFORE_GRANT
indicates that all deny ACEs must precede all grant ACEs.


REQUIRED_PRINCIPALS

public static final WebdavAccessControlTreeModel.AclRestriction REQUIRED_PRINCIPALS
identify which principals must have an ACE defined in the ACL

Method Detail

values

public static WebdavAccessControlTreeModel.AclRestriction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WebdavAccessControlTreeModel.AclRestriction c : WebdavAccessControlTreeModel.AclRestriction.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WebdavAccessControlTreeModel.AclRestriction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null