Uses of Class
org.forgerock.opendj.ldap.schema.DitContentRule.Builder
Package
Description
Classes and interfaces for constructing and querying LDAP schemas.
-
Uses of DitContentRule.Builder in org.forgerock.opendj.ldap.schema
Modifier and TypeMethodDescriptionDitContentRule.Builder.auxiliaryObjectClasses
(String... objectClassNamesOrOids) Adds the provided auxiliary classes to the list of auxiliary object classes that entries subject to this DIT content rule may belong to.DitContentRule.Builder.auxiliaryObjectClasses
(Collection<String> objectClassNamesOrOids) Adds the provided auxiliary classes to the list of auxiliary object classes that entries subject to this DIT content rule may belong to.SchemaBuilder.buildDitContentRule
(String structuralClassOid) Returns a builder which can be used for incrementally constructing a new DIT content rule before adding it to the schema.SchemaBuilder.buildDitContentRule
(DitContentRule contentRule) Returns a DIT content rule builder whose fields are initialized to the values of the provided DIT content rule.DitContentRule.Builder.description
(String description) DitContentRule.Builder.extraProperties
(String extensionName, String... extensionValues) DitContentRule.Builder.extraProperties
(Map<String, List<String>> extraProperties) Adds the provided user friendly names.DitContentRule.Builder.names
(Collection<String> names) Adds the provided user friendly names.DitContentRule.Builder.obsolete
(boolean isObsolete) Specifies whether this schema element is obsolete.DitContentRule.Builder.optionalAttributes
(String... attributeNamesOrOids) Adds the provided optional attributes to the list of attribute types that entries subject to this DIT content rule may contain.DitContentRule.Builder.optionalAttributes
(Collection<String> attributeNamesOrOids) Adds the provided optional attributes to the list of attribute types that entries subject to this DIT content rule may contain.DitContentRule.Builder.prohibitedAttributes
(String... attributeNamesOrOids) Adds the provided prohibited attributes to the list of attribute types that entries subject to this DIT content rule must not contain.DitContentRule.Builder.prohibitedAttributes
(Collection<String> attributeNamesOrOids) Adds the provided prohibited attributes to the list of attribute types that entries subject to this DIT content rule must not contain.DitContentRule.Builder.removeAllAuxiliaryObjectClasses()
Clears the list of auxiliary object classes that entries subject to this DIT content rule may belong to.DitContentRule.Builder.removeAllExtraProperties()
DitContentRule.Builder.removeAllNames()
Removes all user defined names.DitContentRule.Builder.removeAllOptionalAttributes()
Clears the list of attribute types that entries subject to this DIT content rule may contain.DitContentRule.Builder.removeAllProhibitedAttributes()
Clears the list of attribute types that entries subject to this DIT content rule must not contain.DitContentRule.Builder.removeAllRequiredAttributes()
Clears the list of attribute types that entries subject to this DIT content rule must contain.DitContentRule.Builder.removeAuxiliaryObjectClass
(String objectClassNameOrOid) Removes the provided object class in the list of auxiliary object classes that entries subject to this DIT content rule may belong to.DitContentRule.Builder.removeExtraProperty
(String extensionName, String... extensionValues) DitContentRule.Builder.removeName
(String name) Removes the provided user defined name.DitContentRule.Builder.removeOptionalAttribute
(String attributeNameOrOid) Removes the provided optional attribute in the list of attribute types that entries subject to this DIT content rule may contain.DitContentRule.Builder.removeProhibitedAttribute
(String attributeNameOrOid) Removes the provided prohibited attribute in the list of attribute types that entries subject to this DIT content rule must not contain.DitContentRule.Builder.removeRequiredAttribute
(String attributeNameOrOid) Removes the provided required attribute in the list of attribute types that entries subject to this DIT content rule must contain.DitContentRule.Builder.requiredAttributes
(String... attributeNamesOrOids) Adds the provided attribute to the list of attribute types that entries subject to this DIT content rule must contain.DitContentRule.Builder.requiredAttributes
(Collection<String> attributeNamesOrOids) Adds the provided attribute to the list of attribute types that entries subject to this DIT content rule must contain.DitContentRule.Builder.structuralClassOid
(String structuralClassOid) Sets the structural class OID which uniquely identifies this DIT content rule.Modifier and TypeMethodDescriptionvoid
SchemaBuilder.SchemaBuilderHook.beforeAddDitContentRule
(DitContentRule.Builder builder) Allow to modify the builder before its inclusion in schema.