Interface SchemaBackendCfgClient
- All Superinterfaces:
- BackendCfgClient,- ConfigurationClient,- LocalBackendCfgClient
The Schema Backend provides access to the directory server schema information, including the attribute types, object classes, attribute syntaxes, matching rules, matching rule uses, DIT content rules, and DIT structure rules that it contains.
- 
Method SummaryModifier and TypeMethodDescriptionManagedObjectDefinition<? extends SchemaBackendCfgClient,? extends SchemaBackendCfg> Get the configuration definition associated with this Schema Backend.Gets the "java-class" property.Gets the "schema-entry-dn" property.Gets the "writability-mode" property.Gets the "show-all-attributes" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidsetSchemaEntryDn(Collection<ValueOrExpression<Dn>> values) Sets the "schema-entry-dn" property.voidSets the "show-all-attributes" property.voidSets the "writability-mode" property.Methods inherited from interface org.forgerock.opendj.server.config.client.BackendCfgClientgetBackendId, isEnabled, setBackendId, setEnabledMethods inherited from interface org.forgerock.opendj.config.ConfigurationClientcommit, properties
- 
Method Details- 
definitionManagedObjectDefinition<? extends SchemaBackendCfgClient,? extends SchemaBackendCfg> definition()Get the configuration definition associated with this Schema Backend.- Specified by:
- definitionin interface- BackendCfgClient
- Specified by:
- definitionin interface- ConfigurationClient
- Specified by:
- definitionin interface- LocalBackendCfgClient
- Returns:
- Returns the configuration definition associated with this Schema Backend.
 
- 
getJavaClassGets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation. Default value: org.opends.server.backends.SchemaBackend- Specified by:
- getJavaClassin interface- BackendCfgClient
- Returns:
- Returns the value of the "java-class" property.
 
- 
setJavaClassSets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the backend implementation. - Specified by:
- setJavaClassin interface- BackendCfgClient
- Parameters:
- value- The value of the "java-class" property.
- Throws:
- PropertyException- If the new value is invalid.
 
- 
getSchemaEntryDnSortedSet<ValueOrExpression<Dn>> getSchemaEntryDn()Gets the "schema-entry-dn" property.Defines the base DNs of the subtrees in which the schema information is published in addition to the value included in the base-dn property. The value provided in the base-dn property is the only one that appears in the subschemaSubentry operational attribute of the server's root DSE (which is necessary because that is a single-valued attribute) and as a virtual attribute in other entries. The schema-entry-dn attribute may be used to make the schema information available in other locations to accommodate certain client applications that have been hard-coded to expect the schema to reside in a specific location. Default value: cn=schema- Returns:
- Returns the values of the "schema-entry-dn" property.
 
- 
setSchemaEntryDnSets the "schema-entry-dn" property.Defines the base DNs of the subtrees in which the schema information is published in addition to the value included in the base-dn property. The value provided in the base-dn property is the only one that appears in the subschemaSubentry operational attribute of the server's root DSE (which is necessary because that is a single-valued attribute) and as a virtual attribute in other entries. The schema-entry-dn attribute may be used to make the schema information available in other locations to accommodate certain client applications that have been hard-coded to expect the schema to reside in a specific location. - Parameters:
- values- The values of the "schema-entry-dn" property.
- Throws:
- PropertyException- If one or more of the new values are invalid.
 
- 
isShowAllAttributesGets the "show-all-attributes" property.Indicates whether to treat all attributes in the schema entry as if they were user attributes regardless of their configuration. This may provide compatibility with some applications that expect schema attributes like attributeTypes and objectClasses to be included by default even if they are not requested. Note that the ldapSyntaxes attribute is always treated as operational in order to avoid problems with attempts to modify the schema over protocol. - Returns:
- Returns the value of the "show-all-attributes" property.
 
- 
setShowAllAttributes@MandatoryProperty void setShowAllAttributes(ValueOrExpression<Boolean> value) throws PropertyException Sets the "show-all-attributes" property.Indicates whether to treat all attributes in the schema entry as if they were user attributes regardless of their configuration. This may provide compatibility with some applications that expect schema attributes like attributeTypes and objectClasses to be included by default even if they are not requested. Note that the ldapSyntaxes attribute is always treated as operational in order to avoid problems with attempts to modify the schema over protocol. - Parameters:
- value- The value of the "show-all-attributes" property.
- Throws:
- PropertyException- If the new value is invalid.
 
- 
getWritabilityModeGets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations. Default value: enabled- Specified by:
- getWritabilityModein interface- LocalBackendCfgClient
- Returns:
- Returns the value of the "writability-mode" property.
 
- 
setWritabilityMode@MandatoryProperty void setWritabilityMode(ValueOrExpression<LocalBackendCfgDefn.WritabilityMode> value) throws PropertyException Sets the "writability-mode" property.Specifies the behavior that the backend should use when processing write operations. - Specified by:
- setWritabilityModein interface- LocalBackendCfgClient
- Parameters:
- value- The value of the "writability-mode" property.
- Throws:
- PropertyException- If the new value is invalid.
 
 
-