public enum AuthorizableType extends java.lang.Enum<AuthorizableType>
Enum Constant and Description |
---|
AUTHORIZABLE |
GROUP |
USER |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Authorizable> |
getAuthorizableClass() |
static AuthorizableType |
getType(int jcrUserType) |
boolean |
isType(Authorizable authorizable) |
static AuthorizableType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizableType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizableType USER
public static final AuthorizableType GROUP
public static final AuthorizableType AUTHORIZABLE
public static AuthorizableType[] values()
for (AuthorizableType c : AuthorizableType.values()) System.out.println(c);
public static AuthorizableType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static AuthorizableType getType(int jcrUserType)
public boolean isType(Authorizable authorizable)
public java.lang.Class<? extends Authorizable> getAuthorizableClass()
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"