Package org.forgerock.opendj.rest2ldap
Class AbstractReverseResourceReferencePropertyMapper<T extends AbstractReverseResourceReferencePropertyMapper<T>>
- java.lang.Object
-
- org.forgerock.opendj.rest2ldap.PropertyMapper
-
- org.forgerock.opendj.rest2ldap.AbstractReverseResourceReferencePropertyMapper<T>
-
- Type Parameters:
T
- the class of this property mapper
public abstract class AbstractReverseResourceReferencePropertyMapper<T extends AbstractReverseResourceReferencePropertyMapper<T>> extends PropertyMapper
A property mapper which provides a mapping from a JSON value to a DN valued LDAP attribute in another resource.
-
-
Constructor Summary
Constructors Constructor Description AbstractReverseResourceReferencePropertyMapper()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description AbstractReverseResourceReferencePropertyMapper<T>
isMultiValued(boolean multiValued)
abstract T
searchFilter(String filter)
Sets the filter which should be used when searching for referenced LDAP entries.abstract T
searchFilter(Filter filter)
Sets the filter which should be used when searching for referenced LDAP entries.
-
-
-
Method Detail
-
isMultiValued
public AbstractReverseResourceReferencePropertyMapper<T> isMultiValued(boolean multiValued)
-
searchFilter
public abstract T searchFilter(Filter filter)
Sets the filter which should be used when searching for referenced LDAP entries. The default is(objectClass=*)
.- Parameters:
filter
- The filter which should be used when searching for referenced LDAP entries.- Returns:
- This property mapper.
-
searchFilter
public abstract T searchFilter(String filter)
Sets the filter which should be used when searching for referenced LDAP entries. The default is(objectClass=*)
.- Parameters:
filter
- The filter which should be used when searching for referenced LDAP entries.- Returns:
- This property mapper.
-
-