Search

Class LdapEntry

Extends java.lang.Object
This class provides a data structure for holding information about an LDAP entry. An entry contains a distinguished name (DN) and a set of attributes. An entry can be created from these components, and it can also be created from its LDIF representation as described in RFC 2849.

Attributes

None

Methods

Name Returns
LdapEntry(String dn, LdapAttribute[] values) constructor
LdapEntry(String[] entryLines) constructor
addAttribute(LdapAttribute ) boolean
addAttributeValue(String , String ) boolean
addAttributeValueAsByte(String , Number[] ) boolean
addAttributeValues(String , Object[] ) boolean
equals(Object ) boolean
getAttribute(String ) LdapAttribute
getAttributes() Object[]
getAttributeValue(String ) String
getAttributeValueAsBoolean(String ) boolean
getAttributeValueAsBytes(String ) Number[]
getAttributeValueAsDate(String ) java.util.Date
getAttributeValueAsDN(String ) com.unboundid.ldap.sdk.DN
getAttributeValueAsInteger(String ) Number
getAttributeValueAsLong(String ) Number
getAttributeValueByteArrays(String ) Number[][]
getAttributeValues(String ) String[]
getDelegate() com.unboundid.ldap.sdk.Entry
getDN() String
getObjectClassAttribute() LdapAttribute
getObjectClassValues() String[]
getParentDN() com.unboundid.ldap.sdk.DN
getParentDNString() String
getParsedDN() LdapDN
getRDN() com.unboundid.ldap.sdk.RDN
hasAttribute(LdapAttribute ) boolean
hasAttributeValue(String , String ) boolean
hasAttributeValueBytes(String , Number[] ) boolean
hasAttributeWithName(String ) boolean
hashCode() Number
hasObjectClass(String ) boolean
matchesBaseAndScope(String , LdapSearchScope ) boolean
matchesBaseAndScope(com.unboundid.ldap.sdk.DN , LdapSearchScope ) boolean
removeAttribute(String ) boolean
removeAttributeValue(String , String ) boolean
removeAttributeValueAsBytes(String , Number[] ) boolean
setAttributeValue(String , String ) void
setAttributeValueAsBytes(String , Number[] ) void
setAttributeValues(String , Object[] ) void
setDN(String ) void
setDN(com.unboundid.ldap.sdk.DN ) void
toLDIF() String[]
toLDIF(Number ) String[]
toLDIF(com.unboundid.util.ByteStringBuffer ) void
toLDIF(com.unboundid.util.ByteStringBuffer , Number ) void
toLDIFString() String
toLDIFString(Number ) String
toLDIFString(java.lang.StringBuilder ) void
toLDIFString(java.lang.StringBuilder , Number ) void
toString() String
toString(java.lang.StringBuilder ) void
unwrap(LdapEntry ) com.unboundid.ldap.sdk.Entry

Returned by

Method Returns
LdapClient.getEntry(String , String[] ) LdapEntry
LdapClient.searchForEntry(String , LdapSearchScope , Number , String , String[] ) LdapEntry
LdapSearchResult.getSearchEntry(String ) LdapEntry

Referenced in

Method Returns
LdapClient.addEntry(LdapEntry ) LdapResult
LdapEntry.unwrap(LdapEntry ) com.unboundid.ldap.sdk.Entry