/** * Processes the provided modify request using a write 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 LDAPResult modify(final ReadOnlyModifyRequest modifyRequest) throws LDAPException { return writePool.modify(modifyRequest); }
/** * Applies the provided modification to the specified entry using a write * 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 LDAPResult modify(final String dn, final Modification mod) throws LDAPException { return writePool.modify(dn, mod); }
/** * Applies the provided set of modifications to the specified entry using a * write 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 LDAPResult modify(final String dn, final List<Modification> mods) throws LDAPException { return writePool.modify(dn, mods); }
/** * Applies the provided set of modifications to the specified entry using a * write 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 LDAPResult modify(final String dn, final Modification... mods) throws LDAPException { return writePool.modify(dn, mods); }
/** * Processes the provided modify request using a write 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 LDAPResult modify(final ModifyRequest modifyRequest) throws LDAPException { return writePool.modify(modifyRequest); }
/** * Processes a modify request from the provided LDIF representation of the * changes using a write 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 LDAPResult modify(final String... ldifModificationLines) throws LDIFException, LDAPException { return writePool.modify(ldifModificationLines); }
ldapResult = ldapConnPool.modify(modifyRequest);
ldapResult = ldapConnPool.modify(modifyRequest);
try modifyResult = pool.modify(modifyRequest);