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 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 |
|---|---|
CaseChangeEntryHandler.CaseChange |
getAttributeNameCaseChange()
Returns the attribute name case change.
|
CaseChangeEntryHandler.CaseChange |
getAttributeValueCaseChange()
Returns the attribute value case change.
|
CaseChangeEntryHandler.CaseChange |
getDnCaseChange()
Returns the DN case change.
|
protected java.lang.String |
handleAttributeName(Connection conn,
SearchRequest request,
java.lang.String name)
Returns the supplied attribute name unaltered.
|
protected byte[] |
handleAttributeValue(Connection conn,
SearchRequest request,
byte[] value)
Returns the supplied attribute value unaltered.
|
protected java.lang.String |
handleAttributeValue(Connection conn,
SearchRequest request,
java.lang.String value)
Returns the supplied attribute value unaltered.
|
protected java.lang.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 |
setAttributeValueCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the attribute value case change.
|
void |
setDnCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the DN case change.
|
java.lang.String |
toString() |
equals, handle, handleAttribute, handleAttributes, initializeRequestprivate static final int HASH_CODE_SEED
private CaseChangeEntryHandler.CaseChange dnCaseChange
private CaseChangeEntryHandler.CaseChange attributeNameCaseChange
private CaseChangeEntryHandler.CaseChange attributeValueCaseChange
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 changeprotected java.lang.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 java.lang.String handleAttributeName(Connection conn, SearchRequest request, java.lang.String name)
AbstractSearchEntryHandlerhandleAttributeName in class AbstractSearchEntryHandlerconn - the search was performed onrequest - used to find the search entryname - to handleprotected java.lang.String handleAttributeValue(Connection conn, SearchRequest request, java.lang.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 int hashCode()
hashCode in class AbstractSearchEntryHandlerpublic java.lang.String toString()
toString in class java.lang.Object