Uses of Interface
org.forgerock.opendj.ldap.messages.Result
-
Packages that use Result Package Description org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses.org.forgerock.opendj.ldif Classes and interfaces for reading and writing LDIF. -
-
Uses of Result in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io with parameters of type Result Modifier and Type Method Description voidLdapWriter. writeAddResult(int messageID, Result result)Writes the provided add result.voidLdapWriter. writeBindResult(int messageID, Result result)Writes the provided bind result.voidLdapWriter. writeCompareResult(int messageID, Result result)Writes the provided compare result.voidLdapWriter. writeDeleteResult(int messageID, Result result)Writes the provided delete result.voidLdapWriter. writeExtendedResult(int messageID, Result result)Writes the provided extended result.voidLdapWriter. writeModifyDnResult(int messageID, Result result)Writes the provided modify DN result.voidLdapWriter. writeModifyResult(int messageID, Result result)Writes the provided extended result.voidLdapWriter. writeSearchResult(int messageID, Result result)Writes the provided search result. -
Uses of Result in org.forgerock.opendj.ldap
Methods in org.forgerock.opendj.ldap that return Result Modifier and Type Method Description ResultAbstractAsynchronousConnection. add(AddRequest request)ResultAbstractConnection. add(String... ldifLines)ResultAbstractConnection. add(Entry entry)ResultAbstractConnectionWrapper. add(String... ldifLines)Adds an entry to the Directory Server using the provided lines of LDIF.ResultAbstractConnectionWrapper. add(Entry entry)Adds the provided entry to the Directory Server.ResultAbstractConnectionWrapper. add(AddRequest request)Adds an entry to the Directory Server using the provided add request.ResultConnection. add(String... ldifLines)Adds an entry to the Directory Server using the provided lines of LDIF.ResultConnection. add(Entry entry)Adds the provided entry to the Directory Server.ResultConnection. add(AddRequest request)Adds an entry to the Directory Server using the provided add request.ResultAbstractConnection. applyChange(ChangeRecord request)ResultAbstractConnectionWrapper. applyChange(ChangeRecord request)Applies the provided change request to the Directory Server.ResultConnection. applyChange(ChangeRecord request)Applies the provided change request to the Directory Server.ResultAbstractAsynchronousConnection. delete(DeleteRequest request)ResultAbstractConnection. delete(String name)ResultAbstractConnectionWrapper. delete(String name)Deletes the named entry from the Directory Server.ResultAbstractConnectionWrapper. delete(DeleteRequest request)Deletes an entry from the Directory Server using the provided delete request.ResultConnection. delete(String name)Deletes the named entry from the Directory Server.default ResultConnection. delete(Dn name)Deletes the named entry from the Directory Server.ResultConnection. delete(DeleteRequest request)Deletes an entry from the Directory Server using the provided delete request.ResultAbstractConnection. deleteSubtree(String name)ResultAbstractConnectionWrapper. deleteSubtree(String name)Deletes the named entry and all of its subordinates from the Directory Server.ResultConnection. deleteSubtree(String name)Deletes the named entry and all of its subordinates from the Directory Server.ResultLdapException. getResult()Returns the error result which caused this exception to be thrown.ResultAbstractAsynchronousConnection. modify(ModifyRequest request)ResultAbstractConnection. modify(String... ldifLines)ResultAbstractConnectionWrapper. modify(String... ldifLines)Modifies an entry in the Directory Server using the provided lines of LDIF.ResultAbstractConnectionWrapper. modify(ModifyRequest request)Modifies an entry in the Directory Server using the provided modify request.ResultConnection. modify(String... ldifLines)Modifies an entry in the Directory Server using the provided lines of LDIF.ResultConnection. modify(ModifyRequest request)Modifies an entry in the Directory Server using the provided modify request.ResultAbstractAsynchronousConnection. modifyDn(ModifyDnRequest request)ResultAbstractConnection. modifyDn(String name, String newRDN)ResultAbstractConnectionWrapper. modifyDn(String name, String newRDN)Renames the named entry in the Directory Server using the provided new RDN.ResultAbstractConnectionWrapper. modifyDn(ModifyDnRequest request)Renames an entry in the Directory Server using the provided modify DN request.ResultConnection. modifyDn(String name, String newRDN)Renames the named entry in the Directory Server using the provided new RDN.ResultConnection. modifyDn(ModifyDnRequest request)Renames an entry in the Directory Server using the provided modify DN request.ResultAbstractAsynchronousConnection. search(SearchRequest request, SearchResultHandler handler)ResultAbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)ResultAbstractConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)ResultAbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries)Searches the Directory Server using the provided search request.ResultAbstractConnectionWrapper. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)Searches the Directory Server using the provided search request.ResultAbstractConnectionWrapper. search(SearchRequest request, SearchResultHandler handler)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references)Searches the Directory Server using the provided search request.ResultConnection. search(SearchRequest request, SearchResultHandler handler)Searches the Directory Server using the provided search request.Methods in org.forgerock.opendj.ldap that return types with arguments of type Result Modifier and Type Method Description default io.reactivex.rxjava3.core.Single<Result>LdapClientSocket. add(AddRequest request)Adds an entry to the Directory Server using the provided add request.LdapPromise<Result>AbstractConnection. addAsync(AddRequest request)LdapPromise<Result>AbstractConnectionWrapper. addAsync(AddRequest request)Asynchronously adds an entry to the Directory Server using the provided add request.LdapPromise<Result>AbstractConnectionWrapper. addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously adds an entry to the Directory Server using the provided add request.LdapPromise<Result>AbstractSynchronousConnection. addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler)LdapPromise<Result>Connection. addAsync(AddRequest request)Asynchronously adds an entry to the Directory Server using the provided add request.LdapPromise<Result>Connection. addAsync(AddRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously adds an entry to the Directory Server using the provided add request.default io.reactivex.rxjava3.core.Single<Result>LdapClientSocket. applyChange(ChangeRecord request)Applies the provided change request to the Directory Server.LdapPromise<Result>AbstractConnection. applyChangeAsync(ChangeRecord request)LdapPromise<Result>AbstractConnection. applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler)LdapPromise<Result>AbstractConnectionWrapper. applyChangeAsync(ChangeRecord request)Asynchronously applies the provided change request to the Directory Server.LdapPromise<Result>AbstractConnectionWrapper. applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously applies the provided change request to the Directory Server.LdapPromise<Result>Connection. applyChangeAsync(ChangeRecord request)Asynchronously applies the provided change request to the Directory Server.LdapPromise<Result>Connection. applyChangeAsync(ChangeRecord request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously applies the provided change request to the Directory Server.io.reactivex.rxjava3.core.Single<Result>RequestHandle. cancel()Returns aSingle<Result>which, once subscribed, will attempt to cancel the operation.default io.reactivex.rxjava3.core.Single<Result>LdapClientSocket. delete(DeleteRequest request)Deletes an entry from the Directory Server using the provided delete request.LdapPromise<Result>AbstractConnection. deleteAsync(DeleteRequest request)LdapPromise<Result>AbstractConnectionWrapper. deleteAsync(DeleteRequest request)Asynchronously deletes an entry from the Directory Server using the provided delete request.LdapPromise<Result>AbstractConnectionWrapper. deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously deletes an entry from the Directory Server using the provided delete request.LdapPromise<Result>AbstractSynchronousConnection. deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler)LdapPromise<Result>Connection. deleteAsync(DeleteRequest request)Asynchronously deletes an entry from the Directory Server using the provided delete request.LdapPromise<Result>Connection. deleteAsync(DeleteRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously deletes an entry from the Directory Server using the provided delete request.default io.reactivex.rxjava3.core.Single<Result>LdapClientSocket. modify(ModifyRequest request)Modifies an entry in the Directory Server using the provided modify request.LdapPromise<Result>AbstractConnection. modifyAsync(ModifyRequest request)LdapPromise<Result>AbstractConnectionWrapper. modifyAsync(ModifyRequest request)Asynchronously modifies an entry in the Directory Server using the provided modify request.LdapPromise<Result>AbstractConnectionWrapper. modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously modifies an entry in the Directory Server using the provided modify request.LdapPromise<Result>AbstractSynchronousConnection. modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler)LdapPromise<Result>Connection. modifyAsync(ModifyRequest request)Asynchronously modifies an entry in the Directory Server using the provided modify request.LdapPromise<Result>Connection. modifyAsync(ModifyRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously modifies an entry in the Directory Server using the provided modify request.default io.reactivex.rxjava3.core.Single<Result>LdapClientSocket. modifyDn(ModifyDnRequest request)Renames an entry in the Directory Server using the provided modify DN request.LdapPromise<Result>AbstractConnection. modifyDnAsync(ModifyDnRequest request)LdapPromise<Result>AbstractConnectionWrapper. modifyDnAsync(ModifyDnRequest request)Asynchronously renames an entry in the Directory Server using the provided modify DN request.LdapPromise<Result>AbstractConnectionWrapper. modifyDnAsync(ModifyDnRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously renames an entry in the Directory Server using the provided modify DN request.LdapPromise<Result>AbstractSynchronousConnection. modifyDnAsync(ModifyDnRequest request, IntermediateResponseHandler intermediateResponseHandler)LdapPromise<Result>Connection. modifyDnAsync(ModifyDnRequest request)Asynchronously renames an entry in the Directory Server using the provided modify DN request.LdapPromise<Result>Connection. modifyDnAsync(ModifyDnRequest request, IntermediateResponseHandler intermediateResponseHandler)Asynchronously renames an entry in the Directory Server using the provided modify DN request.LdapPromise<Result>AbstractConnection. searchAsync(SearchRequest request, SearchResultHandler resultHandler)LdapPromise<Result>AbstractConnectionWrapper. searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler)Asynchronously searches the Directory Server using the provided search request.LdapPromise<Result>AbstractConnectionWrapper. searchAsync(SearchRequest request, SearchResultHandler resultHandler)Asynchronously searches the Directory Server using the provided search request.LdapPromise<Result>AbstractSynchronousConnection. searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler)LdapPromise<Result>Connection. searchAsync(SearchRequest request, IntermediateResponseHandler intermediateResponseHandler, SearchResultHandler entryHandler)Asynchronously searches the Directory Server using the provided search request.LdapPromise<Result>Connection. searchAsync(SearchRequest request, SearchResultHandler entryHandler)Asynchronously searches the Directory Server using the provided search request.Methods in org.forgerock.opendj.ldap with parameters of type Result Modifier and Type Method Description static LdapExceptionLdapException. newLdapException(Result result)Creates a new LDAP exception using the provided result.Constructors in org.forgerock.opendj.ldap with parameters of type Result Constructor Description LdapException(Result result)Creates a new LDAP exception using the provided result. -
Uses of Result in org.forgerock.opendj.ldap.messages
Subinterfaces of Result in org.forgerock.opendj.ldap.messages Modifier and Type Interface Description interfaceBindResultA Bind result indicates the status of the client's request for authentication.interfaceCompareResultAn Compare result indicates the final status of an Compare operation.interfaceExtendedResultA Extended result indicates the status of an Extended operation and any additional information associated with the Extended operation, including the optional response name and value.interfaceGenericExtendedResultA Generic Extended result indicates the final status of an Generic Extended operation.interfacePasswordModifyExtendedResultThe password modify extended result as defined in RFC 3062.interfaceStartTlsExtendedResultThe start tls extended result as defined in RFC 4511.interfaceWhoAmIExtendedResultThe who am I extended result as defined in RFC 4532.Classes in org.forgerock.opendj.ldap.messages that implement Result Modifier and Type Class Description classAbstractExtendedResult<S extends ExtendedResult>An abstract Extended result which can be used as the basis for implementing new Extended operations.Methods in org.forgerock.opendj.ldap.messages that return Result Modifier and Type Method Description ResultResult. addControl(Control control)ResultResult. addControls(Iterable<? extends Control> controls)ResultResult. addReferralUri(String uri)Adds the provided referral URI to this result.default ResultResult. copyFrom(Result result)Copies the result code, cause, diagnostic message, matched DN and referral URIs from the provided result to this result.static ResultResponses. copyOfResult(Result result)Creates a new result that is an exact copy of the provided result.static ResultResponses. newResult(ResultCode resultCode)Creates a new result using the provided result code.ResultResult. setCause(Throwable cause)Sets the throwable cause associated with this result if available.ResultResult. setDiagnosticMessage(CharSequence message)Sets the diagnostic message associated with this result.ResultResult. setMatchedDn(String dn)Sets the matched DN associated with this result.ResultResult. setMatchedDn(Dn dn)Sets the matched DN associated with this result.ResultResult. setResultCode(ResultCode resultCode)Sets the result code associated with this result.static ResultResponses. unmodifiableResult(Result result)Creates an unmodifiable result using the provided response.Methods in org.forgerock.opendj.ldap.messages with parameters of type Result Modifier and Type Method Description default ResultResult. copyFrom(Result result)Copies the result code, cause, diagnostic message, matched DN and referral URIs from the provided result to this result.static ResultResponses. copyOfResult(Result result)Creates a new result that is an exact copy of the provided result.static LdapMessageLdapMessage. newSearchResultDoneMessage(int messageId, Result result)Builds and returns anLdapMessagefor a search result done operation type.static ResultResponses. unmodifiableResult(Result result)Creates an unmodifiable result using the provided response. -
Uses of Result in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that return Result Modifier and Type Method Description ResultConnectionEntryReader. readResult()Waits for the next search response to become available and returns it if it is a search result indicating that the search completed successfully.
-