Class JDAPSearchResult
java.lang.Object
netscape.ldap.client.opers.JDAPResult
netscape.ldap.client.opers.JDAPSearchResult
- All Implemented Interfaces:
JDAPProtocolOp
This class implements the search result. This object
is sent from the ldap server to the interface. Note
that search response is separated into search response
and search result. The search response contains the
result from the server, while the research result indicates
the end of the search response sequence.
resultCode [APPLICATION 5] LDAPResult
- Version:
- 1.0
-
Field Summary
Fields inherited from class JDAPResult
ADMIN_LIMIT_EXCEEDED, AFFECTS_MULTIPLE_DSAS, ALIAS_DEREFERENCING_PROBLEM, ALIAS_PROBLEM, ATTRIBUTE_OR_VALUE_EXISTS, AUTH_METHOD_NOT_SUPPORTED, BUSY, CLIENT_LOOP, COMPARE_FALSE, COMPARE_TRUE, CONFIDENTIALITY_REQUIRED, CONNECT_ERROR, CONSTRAINT_VIOLATION, CONTROL_NOT_FOUND, ENTRY_ALREADY_EXISTS, INAPPROPRIATE_AUTHENTICATION, INAPPROPRIATE_MATCHING, INSUFFICIENT_ACCESS_RIGHTS, INVALID_ATTRIBUTE_SYNTAX, INVALID_CREDENTIALS, INVALID_DN_SYNTAX, IS_LEAF, LDAP_NOT_SUPPORTED, LDAP_PARTIAL_RESULTS, LOOP_DETECT, m_element, m_error_message, m_matched_dn, m_referrals, m_result_code, MORE_RESULTS_TO_RETURN, NAMING_VIOLATION, NO_RESULTS_RETURNED, NO_SUCH_ATTRIBUTE, NO_SUCH_OBJECT, NOT_ALLOWED_ON_NONLEAF, NOT_ALLOWED_ON_RDN, OBJECT_CLASS_MODS_PROHIBITED, OBJECT_CLASS_VIOLATION, OPERATION_ERROR, OTHER, PARAM_ERROR, PROTOCOL_ERROR, REFERRAL, REFERRAL_LIMIT_EXCEEDED, SASL_BIND_IN_PROGRESS, SERVER_DOWN, SIZE_LIMIT_EXCEEDED, STRONG_AUTH_REQUIRED, SUCCESS, TIME_LIMIT_EXCEEDED, UNAVAILABLE, UNAVAILABLE_CRITICAL_EXTENSION, UNDEFINED_ATTRIBUTE_TYPE, UNWILLING_TO_PERFORMModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intprotected BERElementPrivate variableprotected Stringprotected Stringprotected String[]protected intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intResult code based on RFC1777static final intstatic final intstatic final intstatic final intstatic final intFields inherited from interface JDAPProtocolOp
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUESTModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intProtocol operation typesstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JDAPResult
getBERElement, getErrorMessage, getMatchedDN, getParamString, getReferrals, getResultCodeModifier and TypeMethodDescriptionRetrieves the ber representation of the result.Gets the error message.Gets the matched dn.Retrieves string representation of the result.String[]Retrieves referrals from the LDAP Result.intGets the result code.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface JDAPProtocolOp
getBERElementModifier and TypeMethodDescriptionRetrieves the ber representation of the operation.
-
Constructor Details
-
JDAPSearchResult
Constructs search result.- Parameters:
element- ber element of search result- Throws:
IOException
-
-
Method Details
-
getType
public int getType()Retrieves the protocol operation type.- Specified by:
getTypein interfaceJDAPProtocolOp- Returns:
- protocol type
-
toString
Retrieve the string representation.- Specified by:
toStringin interfaceJDAPProtocolOp- Overrides:
toStringin classJDAPResult- Returns:
- string representation
-