public interface IDBAttrMapper
Modifier and Type | Method and Description |
---|---|
java.util.Enumeration |
getSupportedLDAPAttributeNames()
Retrieves a list of LDAP attributes that are used
in the mapper.
|
void |
mapLDAPAttributeSetToObject(netscape.ldap.LDAPAttributeSet attrs,
java.lang.String name,
IDBObj parent)
Maps LDAP attributes into object, and puts the object
into 'parent'.
|
void |
mapObjectToLDAPAttributeSet(IDBObj parent,
java.lang.String name,
java.lang.Object obj,
netscape.ldap.LDAPAttributeSet attrs)
Maps object attribute into LDAP attributes.
|
java.lang.String |
mapSearchFilter(java.lang.String name,
java.lang.String op,
java.lang.String value)
Maps search filters into LDAP search filter.
|
java.util.Enumeration getSupportedLDAPAttributeNames()
void mapObjectToLDAPAttributeSet(IDBObj parent, java.lang.String name, java.lang.Object obj, netscape.ldap.LDAPAttributeSet attrs) throws EBaseException
parent
- parent object where the object comes fromname
- name of db attributeobj
- object itselfattrs
- LDAP attribute set where the result should be storedEBaseException
- failed to map objectvoid mapLDAPAttributeSetToObject(netscape.ldap.LDAPAttributeSet attrs, java.lang.String name, IDBObj parent) throws EBaseException
attrs
- LDAP attribute setname
- name of db attribute to be processedparent
- parent object where the object should be addedEBaseException
- failed to map objectjava.lang.String mapSearchFilter(java.lang.String name, java.lang.String op, java.lang.String value) throws EBaseException
name
- name of db attributeop
- filte operation (i.e. "=", ">=")value
- attribute valueEBaseException
- failed to map filter