Package com.netscape.cmscore.request
Class RequestAttrsMapper
java.lang.Object
com.netscape.certsrv.dbs.DBAttrMapper
com.netscape.cmscore.request.RequestAttrsMapper
Deprecated.
A mapper between an request attr set and its LDAP attribute representation.
The attr attribute is no longer used. This class is kept for historical
and migration purposes.
- Version:
- $Revision$ $Date$
- Author:
- thayes
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Retrieves a list of LDAP attributes that are used in the mapper.void
mapLDAPAttributeSetToObject
(netscape.ldap.LDAPAttributeSet attrs, String name, IDBObj parent) Deprecated.Implements IDBAttrMapper.mapLDAPAttributeSetToObjectvoid
mapObjectToLDAPAttributeSet
(IDBObj parent, String name, Object obj, netscape.ldap.LDAPAttributeSet attrs) Deprecated.Maps object attribute into LDAP attributes.mapSearchFilter
(String name, String op, String value) Deprecated.Maps search filters into LDAP search filter.
-
Field Details
-
logger
public static org.slf4j.Logger loggerDeprecated. -
mAttrs
Deprecated.
-
-
Constructor Details
-
RequestAttrsMapper
public RequestAttrsMapper()Deprecated.
-
-
Method Details
-
getSupportedLDAPAttributeNames
Deprecated.Description copied from class:DBAttrMapper
Retrieves a list of LDAP attributes that are used in the mapper. By having this, the framework can provide search on selective attributes.- Specified by:
getSupportedLDAPAttributeNames
in classDBAttrMapper
- Returns:
- a list of supported attribute names
-
mapObjectToLDAPAttributeSet
public void mapObjectToLDAPAttributeSet(IDBObj parent, String name, Object obj, netscape.ldap.LDAPAttributeSet attrs) throws EBaseException Deprecated.Description copied from class:DBAttrMapper
Maps object attribute into LDAP attributes.- Specified by:
mapObjectToLDAPAttributeSet
in classDBAttrMapper
- Parameters:
parent
- parent object where the object comes fromname
- name of db attributeobj
- object itselfattrs
- LDAP attribute set where the result should be stored- Throws:
EBaseException
- failed to map object
-
mapLDAPAttributeSetToObject
public void mapLDAPAttributeSetToObject(netscape.ldap.LDAPAttributeSet attrs, String name, IDBObj parent) throws EBaseException Deprecated.Implements IDBAttrMapper.mapLDAPAttributeSetToObject- Specified by:
mapLDAPAttributeSetToObject
in classDBAttrMapper
- Parameters:
attrs
- LDAP attribute setname
- name of db attribute to be processedparent
- parent object where the object should be added- Throws:
EBaseException
- failed to map object- See Also:
-
mapSearchFilter
Deprecated.Description copied from class:DBAttrMapper
Maps search filters into LDAP search filter.- Specified by:
mapSearchFilter
in classDBAttrMapper
- Parameters:
name
- name of db attributeop
- filte operation (i.e. "=", ">=")value
- attribute value
-