/** * Appends a string representation of this DN to the provided buffer. * * @param buffer The buffer to which to append the string representation of * this DN. */ public void toString(final StringBuilder buffer) { toString(buffer, false); }
/** * Creates a new distinguished name (DN) identity. * * @param dn The DN, must not be {@code null}. */ public DNIdentity(final DN dn) { super(dn.toString()); this.dn = dn; }
/** * Appends a string representation of this DN to the provided buffer. * * @param buffer The buffer to which to append the string representation of * this DN. */ public void toString(final StringBuilder buffer) { toString(buffer, false); }
/** * Specifies the base DN for this search request. * * @param baseDN The base DN for this search request. It must not be * {@code null}. */ public void setBaseDN(final DN baseDN) { ensureNotNull(baseDN); this.baseDN = baseDN.toString(); }
/** * Specifies the DN of the entry in which the comparison is to be performed. * * @param dn The DN of the entry in which the comparison is to be performed. * It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Creates a search request containing the base DN, scope, filter, and * requested attributes from this LDAP URL. * * @return The search request created from the base DN, scope, filter, and * requested attributes from this LDAP URL. */ public SearchRequest toSearchRequest() { return new SearchRequest(baseDN.toString(), scope, filter, attributes); }
/** * Specifies the base DN for this search request. * * @param baseDN The base DN for this search request. It must not be * {@code null}. */ public void setBaseDN(final DN baseDN) { ensureNotNull(baseDN); this.baseDN = baseDN.toString(); }
/** * Creates a new delete request with the provided DN. * * @param dn The DN of the entry to delete. It must not be {@code null}. */ public DeleteRequest(final DN dn) { super(null); ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the current DN of the entry to move/rename. * * @param dn The current DN of the entry to move/rename. It must not be * {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN of the entry to delete. * * @param dn The DN of the entry to delete. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN for this add request. * * @param dn The DN for this add request. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN of the entry in which the comparison is to be performed. * * @param dn The DN of the entry in which the comparison is to be performed. * It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN for this add request. * * @param dn The DN for this add request. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN for this entry. * * @param dn The DN for this entry. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); parsedDN = dn; this.dn = parsedDN.toString(); }
/** * Creates a search request containing the base DN, scope, filter, and * requested attributes from this LDAP URL. * * @return The search request created from the base DN, scope, filter, and * requested attributes from this LDAP URL. */ public SearchRequest toSearchRequest() { return new SearchRequest(baseDN.toString(), scope, filter, attributes); }
/** * Specifies the DN for this entry. * * @param dn The DN for this entry. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); parsedDN = dn; this.dn = parsedDN.toString(); }
/** * Specifies the DN of the entry to modify. * * @param dn The DN of the entry to modify. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * Creates a new delete request with the provided DN. * * @param dn The DN of the entry to delete. It must not be {@code null}. */ public DeleteRequest(final DN dn) { super(null); ensureNotNull(dn); this.dn = dn.toString(); }
/** * Specifies the DN of the entry to delete. * * @param dn The DN of the entry to delete. It must not be {@code null}. */ public void setDN(final DN dn) { ensureNotNull(dn); this.dn = dn.toString(); }
/** * {@inheritDoc} */ public void doPostDeleteProcessing(final DN entryDN) { wrapOut(0, 79, INFO_MOVE_SUBTREE_DELETE_SUCCESSFUL.get(entryDN.toString())); }