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 Details

    • AbstractReverseResourceReferencePropertyMapper

      public AbstractReverseResourceReferencePropertyMapper()
  • Method Details

    • isMultiValued

      public AbstractReverseResourceReferencePropertyMapper<T> isMultiValued(boolean multiValued)
      Sets this property mapper to be multi-valued or not.
      Parameters:
      multiValued - whether this property mapper is multi-valued
      Returns:
      this property mapper
    • 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.