|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.unboundidds.extensions.SubtreeAccessibilityRestriction
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class SubtreeAccessibilityRestriction
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class defines a data structure with information about a subtree with restricted access, as may be included in a
GetSubtreeAccessibilityExtendedResult
.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubtreeAccessibilityRestriction(java.lang.String subtreeBaseDN, SubtreeAccessibilityState accessibilityState, java.lang.String bypassUserDN, 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.Method Detail |
---|
public java.lang.String getSubtreeBaseDN()
public SubtreeAccessibilityState getAccessibilityState()
public java.lang.String getBypassUserDN()
null
if no bypass user is
defined.public java.util.Date getEffectiveTime()
public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.lang.StringBuilder buffer)
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |