/** * Processes the provided modify request using a connection from this * connection pool. * * @param modifyRequest The modify request to be processed. It must not be * {@code null}. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final ReadOnlyModifyRequest modifyRequest) throws LDAPException { return modify((ModifyRequest) modifyRequest); }
/** * Processes the provided modify request using a connection from this * connection pool. * * @param modifyRequest The modify request to be processed. It must not be * {@code null}. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final ReadOnlyModifyRequest modifyRequest) throws LDAPException { return modify((ModifyRequest) modifyRequest); }
/** * Applies the provided set of modifications to the specified entry using a * connection from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mods The set of modifications to apply to the target entry. It * must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final Modification... mods) throws LDAPException { return modify(new ModifyRequest(dn, mods)); }
/** * Applies the provided set of modifications to the specified entry using a * connection from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mods The set of modifications to apply to the target entry. It * must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final Modification... mods) throws LDAPException { return modify(new ModifyRequest(dn, mods)); }
/** * Applies the provided modification to the specified entry using a connection * from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mod The modification to apply to the target entry. It must not * be {@code null}. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final Modification mod) throws LDAPException { return modify(new ModifyRequest(dn, mod)); }
/** * Applies the provided set of modifications to the specified entry using a * connection from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mods The set of modifications to apply to the target entry. It * must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final List<Modification> mods) throws LDAPException { return modify(new ModifyRequest(dn, mods)); }
/** * Applies the provided set of modifications to the specified entry using a * connection from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mods The set of modifications to apply to the target entry. It * must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final List<Modification> mods) throws LDAPException { return modify(new ModifyRequest(dn, mods)); }
/** * Applies the provided modification to the specified entry using a connection * from this connection pool. * * @param dn The DN of the entry to modify. It must not be {@code null}. * @param mod The modification to apply to the target entry. It must not * be {@code null}. * * @return The result of processing the modify operation. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. */ public final LDAPResult modify(final String dn, final Modification mod) throws LDAPException { return modify(new ModifyRequest(dn, mod)); }
/** * Processes a modify request from the provided LDIF representation of the * changes using a connection from this connection pool. * * @param ldifModificationLines The lines that comprise an LDIF * representation of a modify change record. * It must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDIFException If the provided set of lines cannot be parsed as an * LDIF modify change record. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. * */ public final LDAPResult modify(final String... ldifModificationLines) throws LDIFException, LDAPException { return modify(new ModifyRequest(ldifModificationLines)); }
/** * Processes a modify request from the provided LDIF representation of the * changes using a connection from this connection pool. * * @param ldifModificationLines The lines that comprise an LDIF * representation of a modify change record. * It must not be {@code null} or empty. * * @return The result of processing the modify operation. * * @throws LDIFException If the provided set of lines cannot be parsed as an * LDIF modify change record. * * @throws LDAPException If the server rejects the modify request, or if a * problem is encountered while sending the request or * reading the response. * */ public final LDAPResult modify(final String... ldifModificationLines) throws LDIFException, LDAPException { return modify(new ModifyRequest(ldifModificationLines)); }