public class MergeAttributeEntryHandler extends AbstractSearchEntryHandler
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
attributeNames
Attribute names to read values from.
|
private static int |
HASH_CODE_SEED
hash code seed.
|
private java.lang.String |
mergeAttributeName
Attribute name to add merge values into.
|
logger| Constructor and Description |
|---|
MergeAttributeEntryHandler() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAttributeNames()
Returns the attribute names.
|
java.lang.String |
getMergeAttributeName()
Returns the merge attribute name.
|
protected void |
handleAttributes(Connection conn,
SearchRequest request,
SearchEntry entry)
Handle the attributes of a search entry.
|
int |
hashCode() |
void |
setAttributeNames(java.lang.String... names)
Sets the attribute names.
|
void |
setMergeAttributeName(java.lang.String name)
Sets the merge attribute name.
|
java.lang.String |
toString() |
equals, handle, handleAttribute, handleAttributeName, handleAttributeValue, handleAttributeValue, handleDn, initializeRequestprivate static final int HASH_CODE_SEED
private java.lang.String mergeAttributeName
private java.lang.String[] attributeNames
public java.lang.String getMergeAttributeName()
public void setMergeAttributeName(java.lang.String name)
name - of the merge attributepublic java.lang.String[] getAttributeNames()
public void setAttributeNames(java.lang.String... names)
names - of the attributesprotected void handleAttributes(Connection conn, SearchRequest request, SearchEntry entry) throws LdapException
AbstractSearchEntryHandlerhandleAttributes in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryentry - search entry to extract the attributes fromLdapException - if the LDAP returns an errorpublic int hashCode()
hashCode in class AbstractSearchEntryHandlerpublic java.lang.String toString()
toString in class java.lang.Object