public interface SchemaBackendCfgClient extends BackendCfgClient
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.
Modifier and Type | Method and Description |
---|---|
ManagedObjectDefinition<? extends SchemaBackendCfgClient,? extends SchemaBackendCfg> |
definition()
Get the configuration definition associated with this Schema Backend.
|
String |
getJavaClass()
Gets the "java-class" property.
|
SortedSet<DN> |
getSchemaEntryDN()
Gets the "schema-entry-dn" property.
|
BackendCfgDefn.WritabilityMode |
getWritabilityMode()
Gets the "writability-mode" property.
|
Boolean |
isShowAllAttributes()
Gets the "show-all-attributes" property.
|
void |
setJavaClass(String value)
Sets the "java-class" property.
|
void |
setSchemaEntryDN(Collection<DN> values)
Sets the "schema-entry-dn" property.
|
void |
setShowAllAttributes(boolean value)
Sets the "show-all-attributes" property.
|
void |
setWritabilityMode(BackendCfgDefn.WritabilityMode value)
Sets the "writability-mode" property.
|
getBackendId, getBaseDN, isEnabled, setBackendId, setBaseDN, setEnabled
commit, properties
ManagedObjectDefinition<? extends SchemaBackendCfgClient,? extends SchemaBackendCfg> definition()
definition
in interface BackendCfgClient
definition
in interface ConfigurationClient
String getJavaClass()
Specifies the fully-qualified name of the Java class that provides the backend implementation.
getJavaClass
in interface BackendCfgClient
void setJavaClass(String value) throws PropertyException
Specifies the fully-qualified name of the Java class that provides the backend implementation.
setJavaClass
in interface BackendCfgClient
value
- The value of the "java-class" property.PropertyException
- If the new value is invalid.SortedSet<DN> getSchemaEntryDN()
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.
void setSchemaEntryDN(Collection<DN> values) throws PropertyException
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.
values
- The values of the "schema-entry-dn" property.PropertyException
- If one or more of the new values are invalid.Boolean isShowAllAttributes()
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.
void setShowAllAttributes(boolean value) throws PropertyException
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.
value
- The value of the "show-all-attributes" property.PropertyException
- If the new value is invalid.BackendCfgDefn.WritabilityMode getWritabilityMode()
Specifies the behavior that the backend should use when processing write operations.
getWritabilityMode
in interface BackendCfgClient
void setWritabilityMode(BackendCfgDefn.WritabilityMode value) throws PropertyException
Specifies the behavior that the backend should use when processing write operations.
setWritabilityMode
in interface BackendCfgClient
value
- The value of the "writability-mode" property.PropertyException
- If the new value is invalid.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.