Class LdifBackendCfgDefn
The LDIF Backend provides a mechanism for interacting with data stored in an LDIF file.
-
Method Summary
Modifier and TypeMethodDescriptioncreateClientConfiguration
(ManagedObject<? extends LdifBackendCfgClient> impl) Creates a client configuration view of the provided managed object.createServerConfiguration
(ServerManagedObject<? extends LdifBackendCfg> impl) Creates a server configuration view of the provided server managed object.Get the "backend-id" property definition.Get the "base-dn" property definition.Get the "enabled" property definition.static LdifBackendCfgDefn
Get the LDIF Backend configuration definition singleton.Get the "is-private-backend" property definition.Get the "java-class" property definition.Get the "ldif-file" property definition.Gets the server configuration class instance associated with this managed object definition.Get the "writability-mode" property definition.Methods inherited from class org.forgerock.opendj.config.AbstractManagedObjectDefinition
getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDeprecated, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerDeprecated, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
-
Method Details
-
getInstance
Get the LDIF Backend configuration definition singleton.- Returns:
- Returns the LDIF Backend configuration definition singleton.
-
createClientConfiguration
public LdifBackendCfgClient createClientConfiguration(ManagedObject<? extends LdifBackendCfgClient> impl) Description copied from class:ManagedObjectDefinition
Creates a client configuration view of the provided managed object. Modifications made to the underlying managed object will be reflected in the client configuration view and vice versa.- Specified by:
createClientConfiguration
in classManagedObjectDefinition<LdifBackendCfgClient,
LdifBackendCfg> - Parameters:
impl
- The managed object.- Returns:
- Returns a client configuration view of the provided managed object.
-
createServerConfiguration
Description copied from class:ManagedObjectDefinition
Creates a server configuration view of the provided server managed object.- Specified by:
createServerConfiguration
in classManagedObjectDefinition<LdifBackendCfgClient,
LdifBackendCfg> - Parameters:
impl
- The server managed object.- Returns:
- Returns a server configuration view of the provided server managed object.
-
getServerConfigurationClass
Description copied from class:ManagedObjectDefinition
Gets the server configuration class instance associated with this managed object definition.- Specified by:
getServerConfigurationClass
in classManagedObjectDefinition<LdifBackendCfgClient,
LdifBackendCfg> - Returns:
- Returns the server configuration class instance associated with this managed object definition.
-
getBackendIdPropertyDefinition
Get the "backend-id" property definition.Specifies a name to identify the associated backend.
The name must be unique among all backends in the server. The backend ID may not be altered after the backend is created in the server.
- Returns:
- Returns the "backend-id" property definition.
-
getBaseDnPropertyDefinition
Get the "base-dn" property definition.Specifies the base DN(s) for the data that the backend handles.
A single backend may be responsible for one or more base DNs. Note that no two backends may have the same base DN although one backend may have a base DN that is below a base DN provided by another backend (similar to the use of sub-suffixes in the Sun Java System Directory Server). If any of the base DNs is subordinate to a base DN for another backend, then all base DNs for that backend must be subordinate to that same base DN.
- Returns:
- Returns the "base-dn" property definition.
-
getEnabledPropertyDefinition
Get the "enabled" property definition.Indicates whether the backend is enabled in the server.
If a backend is not enabled, then its contents are not accessible when processing operations.
- Returns:
- Returns the "enabled" property definition.
-
getIsPrivateBackendPropertyDefinition
Get the "is-private-backend" property definition.Indicates whether the backend should be considered a private backend, which indicates that it is used for storing operational data rather than user-defined information.
- Returns:
- Returns the "is-private-backend" property definition.
-
getJavaClassPropertyDefinition
Get the "java-class" property definition.Specifies the fully-qualified name of the Java class that provides the backend implementation.
- Returns:
- Returns the "java-class" property definition.
-
getLdifFilePropertyDefinition
Get the "ldif-file" property definition.Specifies the path to the LDIF file containing the data for this backend.
- Returns:
- Returns the "ldif-file" property definition.
-
getWritabilityModePropertyDefinition
public EnumPropertyDefinition<LocalBackendCfgDefn.WritabilityMode> getWritabilityModePropertyDefinition()Get the "writability-mode" property definition.Specifies the behavior that the backend should use when processing write operations.
- Returns:
- Returns the "writability-mode" property definition.
-