@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class SubtreeAccessibilityRestriction extends java.lang.Object implements java.io.Serializable
GetSubtreeAccessibilityExtendedResult
.
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.
Constructor and Description |
---|
SubtreeAccessibilityRestriction(java.lang.String subtreeBaseDN,
SubtreeAccessibilityState accessibilityState,
java.lang.String bypassUserDN,
java.util.Date effectiveTime)
Creates a new subtree accessibility restriction object with the provided
information.
|
Modifier and Type | Method and Description |
---|---|
SubtreeAccessibilityState |
getAccessibilityState()
Retrieves the accessibility state for the affected subtree.
|
java.lang.String |
getBypassUserDN()
Retrieves the DN of a user that will be allowed to bypass any restrictions
on the affected subtree.
|
java.util.Date |
getEffectiveTime()
Retrieves the time the accessibility restriction was put into place.
|
java.lang.String |
getSubtreeBaseDN()
Retrieves the base DN for the affected subtree.
|
java.lang.String |
toString()
Retrieves a string representation of this accessibility restriction.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this accessibility restriction to the
provided buffer.
|
public SubtreeAccessibilityRestriction(@NotNull java.lang.String subtreeBaseDN, @NotNull SubtreeAccessibilityState accessibilityState, @Nullable java.lang.String bypassUserDN, @NotNull java.util.Date effectiveTime)
subtreeBaseDN
- The base DN of the affected subtree.accessibilityState
- The accessibility state of the affected
subtree.bypassUserDN
- The DN of a user allowed to bypass any
associated restrictions, if defined.effectiveTime
- The time this restriction was put into place.@NotNull public java.lang.String getSubtreeBaseDN()
@NotNull public SubtreeAccessibilityState getAccessibilityState()
@Nullable public java.lang.String getBypassUserDN()
null
if no bypass user is
defined.@NotNull public java.util.Date getEffectiveTime()
@NotNull public java.lang.String toString()
toString
in class java.lang.Object