public final class ReferencePropertyMapper extends PropertyMapper
| Modifier and Type | Method and Description |
|---|---|
T |
isMultiValued(boolean isMultiValued)
Indicates that the LDAP attribute is multi-valued and should be represented in JSON using an array of values.
|
T |
isRequired(boolean isRequired)
Indicates that the LDAP attribute is mandatory and must be provided during create requests.
|
static void |
putWritabilityProperties(WritabilityPolicy writabilityPolicy,
org.forgerock.json.JsonValue jsonSchema) |
ReferencePropertyMapper |
searchFilter(org.forgerock.opendj.ldap.Filter filter)
Sets the filter which should be used when searching for referenced LDAP
entries.
|
ReferencePropertyMapper |
searchFilter(String filter)
Sets the filter which should be used when searching for referenced LDAP
entries.
|
ReferencePropertyMapper |
searchScope(org.forgerock.opendj.ldap.SearchScope scope)
Sets the search scope which should be used when searching for referenced
LDAP entries.
|
String |
toString() |
T |
writability(WritabilityPolicy policy)
Indicates whether the LDAP attribute supports updates.
|
public ReferencePropertyMapper searchFilter(org.forgerock.opendj.ldap.Filter filter)
(objectClass=*).filter - The filter which should be used when searching for referenced
LDAP entries.public ReferencePropertyMapper searchFilter(String filter)
(objectClass=*).filter - The filter which should be used when searching for referenced
LDAP entries.public ReferencePropertyMapper searchScope(org.forgerock.opendj.ldap.SearchScope scope)
SearchScope.WHOLE_SUBTREE.scope - The search scope which should be used when searching for
referenced LDAP entries.public final T isRequired(boolean isRequired)
isRequired - true if this property is required.public final T isMultiValued(boolean isMultiValued)
isMultiValued - true if this property is multi-valued.public final T writability(WritabilityPolicy policy)
WritabilityPolicy.READ_WRITE.policy - The writability policy.public static void putWritabilityProperties(WritabilityPolicy writabilityPolicy, org.forgerock.json.JsonValue jsonSchema)
Copyright © 2017-2020 Wren Security. All Rights Reserved.