public class CaseChangeEntryHandler extends AbstractSearchEntryHandler
Modifier and Type | Class and Description |
---|---|
static class |
CaseChangeEntryHandler.CaseChange
Enum to define the type of case change.
|
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 String |
handleAttributeName(Connection conn,
SearchRequest request,
String name)
Returns the supplied attribute name unaltered.
|
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 |
setAttributeValueCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the attribute value case change.
|
void |
setDnCaseChange(CaseChangeEntryHandler.CaseChange cc)
Sets the DN case change.
|
String |
toString() |
equals, handle, handleAttribute, handleAttributes, initializeRequest
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 String handleDn(Connection conn, SearchRequest request, SearchEntry entry)
AbstractSearchEntryHandler
handleDn
in class AbstractSearchEntryHandler
conn
- the search was performed onrequest
- used to find the search entryentry
- search entry to extract the dn fromprotected String handleAttributeName(Connection conn, SearchRequest request, String name)
AbstractSearchEntryHandler
handleAttributeName
in class AbstractSearchEntryHandler
conn
- the search was performed onrequest
- used to find the search entryname
- to handleprotected String handleAttributeValue(Connection conn, SearchRequest request, String value)
AbstractSearchEntryHandler
handleAttributeValue
in class AbstractSearchEntryHandler
conn
- the search was performed onrequest
- used to find the search entryvalue
- to handleprotected byte[] handleAttributeValue(Connection conn, SearchRequest request, byte[] value)
AbstractSearchEntryHandler
handleAttributeValue
in class AbstractSearchEntryHandler
conn
- the search was performed onrequest
- used to find the search entryvalue
- to handlepublic int hashCode()
hashCode
in class AbstractSearchEntryHandler
Copyright © 2021. All rights reserved.