public enum SubtreeAccessibilityState extends java.lang.Enum<SubtreeAccessibilityState>
SetSubtreeAccessibilityExtendedRequest
.
NOTE: This class, and other classes within the
com.unboundid.ldap.sdk.unboundidds
package structure, are only
supported for use against Ping Identity, UnboundID, and
Nokia/Alcatel-Lucent 8661 server products. These classes provide support
for proprietary functionality or for external specifications that are not
considered stable or mature enough to be guaranteed to work in an
interoperable way with other types of LDAP servers.
Enum Constant and Description |
---|
ACCESSIBLE
Indicates that the subtree should return to normal accessibility so that
all appropriately-authorized users will be able to perform all kinds of
operations in the target subtree.
|
HIDDEN
Indicates that the subtree should be made hidden so that is is not
accessible to most clients for any kinds of operations.
|
READ_ONLY_BIND_ALLOWED
Indicates that the subtree should be made read-only so that search and
compare operations targeting those entries will be allowed, but add,
delete, modify, and modify DN operations will only be allowed for one
specified user (as indicated in the set subtree accessibility request).
|
READ_ONLY_BIND_DENIED
Indicates that the subtree should be made read-only so that search and
compare operations targeting those entries will be allowed, but add,
delete, modify, and modify DN operations will only be allowed for one
specified user (as indicated in the set subtree accessibility request).
|
Modifier and Type | Method and Description |
---|---|
static SubtreeAccessibilityState |
forName(java.lang.String name)
Retrieves the subtree accessibility state with the provided name.
|
java.lang.String |
getStateName()
Retrieves the name for this subtree accessibility state.
|
int |
intValue()
Retrieves the integer value for this subtree accessibility state.
|
boolean |
isAccessible()
Indicates whether this state object represents the ACCESSIBLE state.
|
boolean |
isHidden()
Indicates whether this state object represents the HIDDEN state.
|
boolean |
isReadOnly()
Indicates whether this state object represents one of the read-only states.
|
java.lang.String |
toString()
Retrieves a string representation of this subtree accessibility state.
|
static SubtreeAccessibilityState |
valueOf(int intValue)
Retrieves the subtree accessibility state with the specified integer value.
|
static SubtreeAccessibilityState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubtreeAccessibilityState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubtreeAccessibilityState ACCESSIBLE
public static final SubtreeAccessibilityState READ_ONLY_BIND_ALLOWED
public static final SubtreeAccessibilityState READ_ONLY_BIND_DENIED
public static final SubtreeAccessibilityState HIDDEN
public static SubtreeAccessibilityState[] values()
for (SubtreeAccessibilityState c : SubtreeAccessibilityState.values()) System.out.println(c);
public static SubtreeAccessibilityState 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 int intValue()
@NotNull public java.lang.String getStateName()
public boolean isAccessible()
true
if this state object represents the ACCESSIBLE state,
or false
if not.public boolean isHidden()
true
if this state object represents the HIDDEN state,
or false
if not.public boolean isReadOnly()
true
if this state object represents one of the read-only
states, or false
if not.@Nullable public static SubtreeAccessibilityState valueOf(int intValue)
intValue
- The integer value for the state to retrieve.null
if there is no accessibility state with the
specified integer value.@Nullable public static SubtreeAccessibilityState forName(@NotNull java.lang.String name)
name
- The name for the subtree accessibility state to retrieve. It
must not be null
.null
if no state has the provided name.@NotNull public java.lang.String toString()
toString
in class java.lang.Enum<SubtreeAccessibilityState>