Uses of Interface
org.forgerock.opendj.ldap.messages.Result
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for reading and writing LDIF.
-
Uses of Result in org.forgerock.opendj.io
Modifier and TypeMethodDescriptionvoid
LdapWriter.writeAddResult
(int messageID, Result result) Writes the provided add result.void
LdapWriter.writeBindResult
(int messageID, Result result) Writes the provided bind result.void
LdapWriter.writeCompareResult
(int messageID, Result result) Writes the provided compare result.void
LdapWriter.writeDeleteResult
(int messageID, Result result) Writes the provided delete result.void
LdapWriter.writeExtendedResult
(int messageID, Result result) Writes the provided extended result.void
LdapWriter.writeModifyDnResult
(int messageID, Result result) Writes the provided modify DN result.void
LdapWriter.writeModifyResult
(int messageID, Result result) Writes the provided extended result.void
LdapWriter.writeSearchResult
(int messageID, Result result) Writes the provided search result. -
Uses of Result in org.forgerock.opendj.ldap
Modifier and TypeMethodDescriptionAbstractAsynchronousConnection.add
(AddRequest request) Adds an entry to the Directory Server using the provided lines of LDIF.Adds the provided entry to the Directory Server.AbstractConnectionWrapper.add
(AddRequest request) Adds an entry to the Directory Server using the provided add request.Adds an entry to the Directory Server using the provided lines of LDIF.Adds the provided entry to the Directory Server.Connection.add
(AddRequest request) Adds an entry to the Directory Server using the provided add request.AbstractConnection.applyChange
(ChangeRecord request) AbstractConnectionWrapper.applyChange
(ChangeRecord request) Applies the provided change request to the Directory Server.Connection.applyChange
(ChangeRecord request) Applies the provided change request to the Directory Server.AbstractAsynchronousConnection.delete
(DeleteRequest request) Deletes the named entry from the Directory Server.AbstractConnectionWrapper.delete
(DeleteRequest request) Deletes an entry from the Directory Server using the provided delete request.Deletes the named entry from the Directory Server.default Result
Deletes the named entry from the Directory Server.Connection.delete
(DeleteRequest request) Deletes an entry from the Directory Server using the provided delete request.AbstractConnection.deleteSubtree
(String name) AbstractConnectionWrapper.deleteSubtree
(String name) Deletes the named entry and all of its subordinates from the Directory Server.Connection.deleteSubtree
(String name) Deletes the named entry and all of its subordinates from the Directory Server.final Result
LdapException.getResult()
Returns the error result which caused this exception to be thrown.AbstractAsynchronousConnection.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided lines of LDIF.AbstractConnectionWrapper.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided modify request.Modifies an entry in the Directory Server using the provided lines of LDIF.Connection.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided modify request.AbstractAsynchronousConnection.modifyDn
(ModifyDnRequest request) Renames the named entry in the Directory Server using the provided new RDN.AbstractConnectionWrapper.modifyDn
(ModifyDnRequest request) Renames an entry in the Directory Server using the provided modify DN request.Renames the named entry in the Directory Server using the provided new RDN.Connection.modifyDn
(ModifyDnRequest request) Renames an entry in the Directory Server using the provided modify DN request.AbstractAsynchronousConnection.search
(SearchRequest request, SearchResultHandler handler) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) AbstractConnection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.AbstractConnectionWrapper.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, Collection<? super SearchResultEntry> entries, Collection<? super SearchResultReference> references) Searches the Directory Server using the provided search request.Connection.search
(SearchRequest request, SearchResultHandler handler) Searches the Directory Server using the provided search request.Modifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single<Result>
LdapClientSocket.add
(AddRequest request) Adds an entry to the Directory Server using the provided add 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.default io.reactivex.rxjava3.core.Single<Result>
LdapClientSocket.applyChange
(ChangeRecord request) Applies the provided change request to the Directory Server.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.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.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.default io.reactivex.rxjava3.core.Single<Result>
LdapClientSocket.modify
(ModifyRequest request) Modifies an entry in the Directory Server using the provided modify request.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.default io.reactivex.rxjava3.core.Single<Result>
LdapClientSocket.modifyDn
(ModifyDnRequest request) Renames an entry in the Directory Server using the provided modify DN 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.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.Modifier and TypeMethodDescriptionstatic LdapException
LdapException.newLdapException
(Result result) Creates a new LDAP exception using the provided result.ModifierConstructorDescriptionprotected
LdapException
(Result result) Creates a new LDAP exception using the provided result. -
Uses of Result in org.forgerock.opendj.ldap.messages
Modifier and TypeInterfaceDescriptioninterface
A Bind result indicates the status of the client's request for authentication.interface
An Compare result indicates the final status of an Compare operation.interface
A 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.interface
A Generic Extended result indicates the final status of an Generic Extended operation.interface
The password modify extended result as defined in RFC 3062.interface
The start tls extended result as defined in RFC 4511.interface
The who am I extended result as defined in RFC 4532.Modifier and TypeClassDescriptionclass
AbstractExtendedResult<S extends ExtendedResult>
An abstract Extended result which can be used as the basis for implementing new Extended operations.Modifier and TypeMethodDescriptionResult.addControl
(Control control) Result.addControls
(Iterable<? extends Control> controls) Result.addReferralUri
(String uri) Adds the provided referral URI to this result.default Result
Copies the result code, cause, diagnostic message, matched DN and referral URIs from the provided result to this result.static Result
Responses.copyOfResult
(Result result) Creates a new result that is an exact copy of the provided result.static Result
Responses.newResult
(ResultCode resultCode) Creates a new result using the provided result code.Result.removeControls
(String oid) Sets the throwable cause associated with this result if available.Result.setDiagnosticMessage
(CharSequence message) Sets the diagnostic message associated with this result.Result.setMatchedDn
(String dn) Sets the matched DN associated with this result.Result.setMatchedDn
(Dn dn) Sets the matched DN associated with this result.Result.setResultCode
(ResultCode resultCode) Sets the result code associated with this result.static Result
Responses.unmodifiableResult
(Result result) Creates an unmodifiable result using the provided response.Modifier and TypeMethodDescriptiondefault Result
Copies the result code, cause, diagnostic message, matched DN and referral URIs from the provided result to this result.static Result
Responses.copyOfResult
(Result result) Creates a new result that is an exact copy of the provided result.static LdapMessage
LdapMessage.newSearchResultDoneMessage
(int messageId, Result result) Builds and returns anLdapMessage
for a search result done operation type.static Result
Responses.unmodifiableResult
(Result result) Creates an unmodifiable result using the provided response. -
Uses of Result in org.forgerock.opendj.ldif
Modifier and TypeMethodDescriptionConnectionEntryReader.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.