Interface LDAPResultEvent
-
- All Known Subinterfaces:
LDAPCompareResultEvent
,LDAPSearchResultEvent
public interface LDAPResultEvent
Represents the result for an LDAP operation.- See Also:
LDAPProvider.sendRequest(LDAPRequest)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getErrorMessage()
Return the error message if the LDAP operation failed.String
getMatchedDN()
Return the matched DN if the LDAP operation failed (if applicable or null if not applicable).int
getResultCode()
Returns the result code of the LDAP operation.boolean
hasErrorInfo()
Reports whether there has been an error during the LDAP operation.boolean
isSuccess()
Reports whether the LDAP operation was successful.
-
-
-
Method Detail
-
isSuccess
boolean isSuccess()
Reports whether the LDAP operation was successful.- Returns:
- true if succeeded, or false otherwise.
-
hasErrorInfo
boolean hasErrorInfo()
Reports whether there has been an error during the LDAP operation.- Returns:
- true if there was an error.
-
getResultCode
int getResultCode()
Returns the result code of the LDAP operation.- Returns:
- the result code.
-
getErrorMessage
String getErrorMessage()
Return the error message if the LDAP operation failed.- Returns:
- the error message.
-
getMatchedDN
String getMatchedDN()
Return the matched DN if the LDAP operation failed (if applicable or null if not applicable).- Returns:
- the matched DN.
-
-