Uses of Interface
org.forgerock.opendj.ldap.LdapPromise
Packages that use LdapPromise
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for constructing and querying LDAP schemas.
Interfaces and classes for service providers.
-
Uses of LdapPromise in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return LdapPromiseModifier and TypeMethodDescriptionAbstractConnectionWrapper.abandonAsync(AbandonRequest request) Abandons the unfinished operation identified in the provided abandon request.AbstractSynchronousConnection.abandonAsync(AbandonRequest request) Abandon operations are not supported because operations are performed synchronously and the ID of the request to be abandoned cannot be determined.Connection.abandonAsync(AbandonRequest request) Abandons the unfinished operation identified in the provided abandon request.AbstractConnection.addAsync(AddRequest request) AbstractConnectionWrapper.addAsync(AddRequest request) Asynchronously adds an entry to the Directory Server using the provided add request.AbstractConnectionWrapper.addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously adds an entry to the Directory Server using the provided add request.AbstractSynchronousConnection.addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.addAsync(AddRequest request) Asynchronously adds an entry to the Directory Server using the provided add request.Connection.addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously adds an entry to the Directory Server using the provided add request.AbstractConnection.applyChangeAsync(ChangeRecord request) AbstractConnection.applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler) AbstractConnectionWrapper.applyChangeAsync(ChangeRecord request) Asynchronously applies the provided change request to the Directory Server.AbstractConnectionWrapper.applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously applies the provided change request to the Directory Server.Connection.applyChangeAsync(ChangeRecord request) Asynchronously applies the provided change request to the Directory Server.Connection.applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously applies the provided change request to the Directory Server.AbstractConnection.bindAsync(BindRequest request) AbstractConnectionWrapper.bindAsync(BindRequest request) Asynchronously authenticates to the Directory Server using the provided bind request.AbstractConnectionWrapper.bindAsync(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously authenticates to the Directory Server using the provided bind request.AbstractSynchronousConnection.bindAsync(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.bindAsync(BindRequest request) Asynchronously authenticates to the Directory Server using the provided bind request.Connection.bindAsync(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously authenticates to the Directory Server using the provided bind request.AbstractConnection.compareAsync(CompareRequest request) AbstractConnectionWrapper.compareAsync(CompareRequest request) Asynchronously compares an entry in the Directory Server using the provided compare request.AbstractConnectionWrapper.compareAsync(CompareRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously compares an entry in the Directory Server using the provided compare request.AbstractSynchronousConnection.compareAsync(CompareRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.compareAsync(CompareRequest request) Asynchronously compares an entry in the Directory Server using the provided compare request.Connection.compareAsync(CompareRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously compares an entry in the Directory Server using the provided compare request.AbstractConnection.deleteAsync(DeleteRequest request) AbstractConnectionWrapper.deleteAsync(DeleteRequest request) Asynchronously deletes an entry from the Directory Server using the provided delete request.AbstractConnectionWrapper.deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously deletes an entry from the Directory Server using the provided delete request.AbstractSynchronousConnection.deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.deleteAsync(DeleteRequest request) Asynchronously deletes an entry from the Directory Server using the provided delete request.Connection.deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously deletes an entry from the Directory Server using the provided delete request.<R extends ExtendedResult>
LdapPromise<R> AbstractConnection.extendedRequestAsync(ExtendedRequest<R> request) <R extends ExtendedResult>
LdapPromise<R> AbstractConnectionWrapper.extendedRequestAsync(ExtendedRequest<R> request) Asynchronously performs the provided extended request in the Directory Server.<R extends ExtendedResult>
LdapPromise<R> AbstractConnectionWrapper.extendedRequestAsync(ExtendedRequest<R> request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously performs the provided extended request in the Directory Server.<R extends ExtendedResult>
LdapPromise<R> AbstractSynchronousConnection.extendedRequestAsync(ExtendedRequest<R> request, IntermediateResponseHandler intermediateResponseHandler) <R extends ExtendedResult>
LdapPromise<R> Connection.extendedRequestAsync(ExtendedRequest<R> request) Asynchronously performs the provided extended request in the Directory Server.<R extends ExtendedResult>
LdapPromise<R> Connection.extendedRequestAsync(ExtendedRequest<R> request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously performs the provided extended request in the Directory Server.AbstractConnection.modifyAsync(ModifyRequest request) AbstractConnectionWrapper.modifyAsync(ModifyRequest request) Asynchronously modifies an entry in the Directory Server using the provided modify request.AbstractConnectionWrapper.modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously modifies an entry in the Directory Server using the provided modify request.AbstractSynchronousConnection.modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.modifyAsync(ModifyRequest request) Asynchronously modifies an entry in the Directory Server using the provided modify request.Connection.modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously modifies an entry in the Directory Server using the provided modify request.AbstractConnection.modifyDNAsync(ModifyDNRequest request) AbstractConnectionWrapper.modifyDNAsync(ModifyDNRequest request) Asynchronously renames an entry in the Directory Server using the provided modify DN request.AbstractConnectionWrapper.modifyDNAsync(ModifyDNRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously renames an entry in the Directory Server using the provided modify DN request.AbstractSynchronousConnection.modifyDNAsync(ModifyDNRequest request, IntermediateResponseHandler intermediateResponseHandler) Connection.modifyDNAsync(ModifyDNRequest request) Asynchronously renames an entry in the Directory Server using the provided modify DN request.Connection.modifyDNAsync(ModifyDNRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously renames an entry in the Directory Server using the provided modify DN request.AbstractConnection.readEntryAsync(DN name, Collection<String> attributeDescriptions) AbstractConnectionWrapper.readEntryAsync(DN name, Collection<String> attributeDescriptions) Asynchronously reads the named entry from the Directory Server.Connection.readEntryAsync(DN name, Collection<String> attributeDescriptions) Asynchronously reads the named entry from the Directory Server.static LdapPromise<RootDSE> RootDSE.readRootDSEAsync(Connection connection) Asynchronously reads the Root DSE from the Directory Server using the provided connection.AbstractConnection.searchAsync(SearchRequest request, SearchResultHandler resultHandler) AbstractConnectionWrapper.searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.AbstractConnectionWrapper.searchAsync(SearchRequest request, SearchResultHandler resultHandler) Asynchronously searches the Directory Server using the provided search request.AbstractSynchronousConnection.searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Connection.searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.Connection.searchAsync(SearchRequest request, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.AbstractConnection.searchSingleEntryAsync(SearchRequest request) AbstractConnectionWrapper.searchSingleEntryAsync(SearchRequest request) Asynchronously searches the Directory Server for a single entry using the provided search request.Connection.searchSingleEntryAsync(SearchRequest request) Asynchronously searches the Directory Server for a single entry using the provided search request.<VOUT> LdapPromise<VOUT> LdapPromise.then(org.forgerock.util.Function<? super S, VOUT, LdapException> onResult) LdapPromise.thenAlways(Runnable onResultOrException) <VOUT> LdapPromise<VOUT> LdapPromise.thenAsync(org.forgerock.util.AsyncFunction<? super S, VOUT, LdapException> onResult) LdapPromise.thenFinally(Runnable onResultOrException) LdapPromise.thenOnException(org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException) LdapPromise.thenOnResult(org.forgerock.util.promise.ResultHandler<? super S> onResult) LdapPromise.thenOnResultOrException(Runnable onResultOrException) LdapPromise.thenOnResultOrException(org.forgerock.util.promise.ResultHandler<? super S> onResult, org.forgerock.util.promise.ExceptionHandler<? super LdapException> onException) -
Uses of LdapPromise in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return LdapPromiseModifier and TypeMethodDescriptionSchemaBuilder.addSchemaAsync(Connection connection, DN name, boolean overwrite) Asynchronously reads the schema elements contained in the named subschema sub-entry and adds them to this schema builder.SchemaBuilder.addSchemaForEntryAsync(Connection connection, DN name, boolean overwrite) Asynchronously reads the schema elements contained in the subschema sub-entry which applies to the named entry and adds them to this schema builder.static LdapPromise<Schema> Schema.readSchemaAsync(Connection connection, DN name) Asynchronously reads the schema contained in the named subschema sub-entry.static LdapPromise<Schema> Schema.readSchemaForEntryAsync(Connection connection, DN name) Asynchronously reads the schema contained in the subschema sub-entry which applies to the named entry. -
Uses of LdapPromise in org.forgerock.opendj.ldap.spi
Classes in org.forgerock.opendj.ldap.spi that implement LdapPromiseModifier and TypeClassDescriptionfinal classBind result promise implementation.final classExtendedResultLdapPromiseImpl<S extends ExtendedResult>Extended result promise implementation.classThis class provides an implementation of theLdapPromise.classResultLdapPromiseImpl<R extends Request,S extends Result> This class provides an implementation of theLdapPromise.final classSearch result promise implementation.Methods in org.forgerock.opendj.ldap.spi that return LdapPromiseModifier and TypeMethodDescriptionLDAPConnectionImpl.abandonAsync(AbandonRequest request) Abandons the unfinished operation identified in the provided abandon request.LDAPConnectionImpl.addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously adds an entry to the Directory Server using the provided add request.static <R> LdapPromise<R> LdapPromises.asPromise(org.forgerock.util.promise.Promise<R, LdapException> wrappedPromise) Converts aPromiseto aLdapPromise.LDAPConnectionImpl.bindAsync(BindRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously authenticates to the Directory Server using the provided bind request.LDAPConnectionImpl.compareAsync(CompareRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously compares an entry in the Directory Server using the provided compare request.LDAPConnectionImpl.deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously deletes an entry from the Directory Server using the provided delete request.<R extends ExtendedResult>
LdapPromise<R> LDAPConnectionImpl.extendedRequestAsync(ExtendedRequest<R> request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously performs the provided extended request in the Directory Server.LDAPConnectionImpl.modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously modifies an entry in the Directory Server using the provided modify request.LDAPConnectionImpl.modifyDNAsync(ModifyDNRequest request, IntermediateResponseHandler intermediateResponseHandler) Asynchronously renames an entry in the Directory Server using the provided modify DN request.static <R,E extends LdapException>
LdapPromise<R> LdapPromises.newFailedLdapPromise(E error) Returns aLdapPromiserepresenting an asynchronous task which has already failed with the provided error.static <R,E extends LdapException>
LdapPromise<R> LdapPromises.newFailedLdapPromise(E error, int requestID) Returns aLdapPromiserepresenting an asynchronous task, identified by the provided requestID, which has already failed with the provided error.static <R> LdapPromise<R> LdapPromises.newSuccessfulLdapPromise(R result) Returns aLdapPromiserepresenting an asynchronous task which has already succeeded with the provided result.static <R> LdapPromise<R> LdapPromises.newSuccessfulLdapPromise(R result, int requestID) Returns aLdapPromiserepresenting an asynchronous task, identified by the provided requestID, which has already succeeded with the provided result.LDAPConnectionImpl.searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler) Asynchronously searches the Directory Server using the provided search request.