Class JoinBaseDN
java.lang.Object
com.unboundid.ldap.sdk.unboundidds.controls.JoinBaseDN
- All Implemented Interfaces:
Serializable
@NotMutable
@ThreadSafety(level=COMPLETELY_THREADSAFE)
public final class JoinBaseDN
extends Object
implements Serializable
This class provides a data structure which may be used to indicate the base
DN to use for a join request. See the class-level documentation for the
JoinRequestControl class for additional information and an example
demonstrating its use.
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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final byteThe base type which indicates that the base DN for join processing should be a custom base DN.static final byteThe base type which indicates that the base DN for join processing should be the same as the base DN from the search request.static final byteThe base type which indicates that the base DN for join processing should be the DN of the source entry. -
Method Summary
Modifier and TypeMethodDescriptionstatic JoinBaseDNcreateUseCustomBaseDN(String baseDN) Creates a join base DN object which indicates that join processing should use the provided base DN.static JoinBaseDNCreates a join base DN object which indicates that join processing should use the base DN from the search request.static JoinBaseDNCreates a join base DN object which indicates that join processing should use the DN of the source entry.Retrieves the base DN value to use for the custom base DN type.bytegetType()Retrieves the base type for this join base DN.toString()Retrieves a string representation of this join base DN.voidtoString(StringBuilder buffer) Appends a string representation of this join base DN to the provided buffer.
-
Field Details
-
BASE_TYPE_SEARCH_BASE
The base type which indicates that the base DN for join processing should be the same as the base DN from the search request.- See Also:
-
BASE_TYPE_SOURCE_ENTRY_DN
The base type which indicates that the base DN for join processing should be the DN of the source entry.- See Also:
-
BASE_TYPE_CUSTOM
The base type which indicates that the base DN for join processing should be a custom base DN.- See Also:
-
-
Method Details
-
createUseSearchBaseDN
Creates a join base DN object which indicates that join processing should use the base DN from the search request.- Returns:
- A join base DN object which indicates that join processing should use the base DN from the search request.
-
createUseSourceEntryDN
Creates a join base DN object which indicates that join processing should use the DN of the source entry.- Returns:
- A join base DN object which indicates that join processing should use the DN of the source entry.
-
createUseCustomBaseDN
Creates a join base DN object which indicates that join processing should use the provided base DN.- Parameters:
baseDN- The custom base DN to use. It must not benull.- Returns:
- A join base DN object which indicates that join processing should use the provided base DN.
-
getType
Retrieves the base type for this join base DN.- Returns:
- The base type for this join base DN.
-
getCustomBaseDN
Retrieves the base DN value to use for the custom base DN type.- Returns:
- The base DN value to use for the custom base DN type, or
nullif the base DN should be the search base DN or the source entry DN.
-
toString
Retrieves a string representation of this join base DN. -
toString
Appends a string representation of this join base DN to the provided buffer.- Parameters:
buffer- The buffer to which the information should be appended.
-