public class CaseChangeEntryHandler extends AbstractSearchEntryHandler
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
CaseChangeEntryHandler.CaseChange
Enum to define the type of case change. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
private CaseChangeEntryHandler.CaseChange | 
attributeNameCaseChange
Type of case modification to make to the attribute names. 
 | 
private String[] | 
attributeNames
Attribute names to modify. 
 | 
private CaseChangeEntryHandler.CaseChange | 
attributeValueCaseChange
Type of case modification to make to the attributes values. 
 | 
private CaseChangeEntryHandler.CaseChange | 
dnCaseChange
Type of case modification to make to the entry DN. 
 | 
private static int | 
HASH_CODE_SEED
hash code seed. 
 | 
logger| Constructor and Description | 
|---|
CaseChangeEntryHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
CaseChangeEntryHandler.CaseChange | 
getAttributeNameCaseChange()
Returns the attribute name case change. 
 | 
String[] | 
getAttributeNames()
Returns the attribute names. 
 | 
CaseChangeEntryHandler.CaseChange | 
getAttributeValueCaseChange()
Returns the attribute value case change. 
 | 
CaseChangeEntryHandler.CaseChange | 
getDnCaseChange()
Returns the DN case change. 
 | 
protected String | 
handleAttributeName(Connection conn,
                   SearchRequest request,
                   String name)
Returns the supplied attribute name unaltered. 
 | 
protected void | 
handleAttributes(Connection conn,
                SearchRequest request,
                SearchEntry entry)
Handle the attributes of a search entry. 
 | 
protected byte[] | 
handleAttributeValue(Connection conn,
                    SearchRequest request,
                    byte[] value)
Returns the supplied attribute value unaltered. 
 | 
protected String | 
handleAttributeValue(Connection conn,
                    SearchRequest request,
                    String value)
Returns the supplied attribute value unaltered. 
 | 
protected String | 
handleDn(Connection conn,
        SearchRequest request,
        SearchEntry entry)
Handle the dn of a search entry. 
 | 
int | 
hashCode()  | 
void | 
setAttributeNameCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the attribute name case change. 
 | 
void | 
setAttributeNames(String... names)
Sets the attribute names. 
 | 
void | 
setAttributeValueCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the attribute value case change. 
 | 
void | 
setDnCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the DN case change. 
 | 
String | 
toString()  | 
handle, handleAttribute, initializeRequestprivate static final int HASH_CODE_SEED
private CaseChangeEntryHandler.CaseChange dnCaseChange
private CaseChangeEntryHandler.CaseChange attributeNameCaseChange
private CaseChangeEntryHandler.CaseChange attributeValueCaseChange
private String[] attributeNames
public CaseChangeEntryHandler.CaseChange getDnCaseChange()
public void setDnCaseChange(CaseChangeEntryHandler.CaseChange cc)
cc - case changepublic CaseChangeEntryHandler.CaseChange getAttributeNameCaseChange()
public void setAttributeNameCaseChange(CaseChangeEntryHandler.CaseChange cc)
cc - case changepublic CaseChangeEntryHandler.CaseChange getAttributeValueCaseChange()
public void setAttributeValueCaseChange(CaseChangeEntryHandler.CaseChange cc)
cc - case changepublic String[] getAttributeNames()
public void setAttributeNames(String... names)
names - of the attributesprotected String handleDn(Connection conn, SearchRequest request, SearchEntry entry)
AbstractSearchEntryHandlerhandleDn in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryentry - search entry to extract the dn fromprotected 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 errorprotected String handleAttributeName(Connection conn, SearchRequest request, String name)
AbstractSearchEntryHandlerhandleAttributeName in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryname - to handleprotected String handleAttributeValue(Connection conn, SearchRequest request, String value)
AbstractSearchEntryHandlerhandleAttributeValue in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryvalue - to handleprotected byte[] handleAttributeValue(Connection conn, SearchRequest request, byte[] value)
AbstractSearchEntryHandlerhandleAttributeValue in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryvalue - to handlepublic boolean equals(Object o)
equals in class AbstractSearchEntryHandlerpublic int hashCode()
hashCode in class AbstractSearchEntryHandlerCopyright © 2003-2019 Virginia Tech. All Rights Reserved.