org.opends.server.admin.std.meta
Class SevenBitCleanPluginCfgDefn

java.lang.Object
  extended by org.opends.server.admin.AbstractManagedObjectDefinition<C,S>
      extended by org.opends.server.admin.ManagedObjectDefinition<SevenBitCleanPluginCfgClient,SevenBitCleanPluginCfg>
          extended by org.opends.server.admin.std.meta.SevenBitCleanPluginCfgDefn

public final class SevenBitCleanPluginCfgDefn
extends ManagedObjectDefinition<SevenBitCleanPluginCfgClient,SevenBitCleanPluginCfg>

An interface for querying the Seven Bit Clean Plugin managed object definition meta information.

The Seven Bit Clean Plugin ensures that values for a specified set of attributes are 7-bit clean.


Method Summary
 SevenBitCleanPluginCfgClient createClientConfiguration(ManagedObject<? extends SevenBitCleanPluginCfgClient> impl)
          Creates a client configuration view of the provided managed object.
 SevenBitCleanPluginCfg createServerConfiguration(ServerManagedObject<? extends SevenBitCleanPluginCfg> impl)
          Creates a server configuration view of the provided server managed object.
 AttributeTypePropertyDefinition getAttributeTypePropertyDefinition()
          Get the "attribute-type" property definition.
 DNPropertyDefinition getBaseDNPropertyDefinition()
          Get the "base-dn" property definition.
 BooleanPropertyDefinition getEnabledPropertyDefinition()
          Get the "enabled" property definition.
static SevenBitCleanPluginCfgDefn getInstance()
          Get the Seven Bit Clean Plugin configuration definition singleton.
 BooleanPropertyDefinition getInvokeForInternalOperationsPropertyDefinition()
          Get the "invoke-for-internal-operations" property definition.
 ClassPropertyDefinition getJavaClassPropertyDefinition()
          Get the "java-class" property definition.
 EnumPropertyDefinition<PluginCfgDefn.PluginType> getPluginTypePropertyDefinition()
          Get the "plugin-type" property definition.
 java.lang.Class<SevenBitCleanPluginCfg> getServerConfigurationClass()
          Gets the server configuration class instance associated with this managed object definition.
 
Methods inherited from class org.opends.server.admin.AbstractManagedObjectDefinition
getAggregationPropertyDefinition, getAggregationPropertyDefinitions, getAllAggregationPropertyDefinitions, getAllChildren, getAllConstraints, getAllPropertyDefinitions, getAllRelationDefinitions, getAllReverseAggregationPropertyDefinitions, getAllReverseRelationDefinitions, getAllTags, getChild, getChildren, getConstraints, getDescription, getDescription, getName, getParent, getPropertyDefinition, getPropertyDefinitions, getRelationDefinition, getRelationDefinitions, getReverseAggregationPropertyDefinitions, getReverseRelationDefinitions, getSynopsis, getSynopsis, getUserFriendlyName, getUserFriendlyName, getUserFriendlyPluralName, getUserFriendlyPluralName, hasChildren, hasOption, hasTag, initialize, isChildOf, isParentOf, isTop, registerConstraint, registerOption, registerPropertyDefinition, registerRelationDefinition, registerTag, resolveManagedObjectDefinition, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInstance

public static SevenBitCleanPluginCfgDefn getInstance()
Get the Seven Bit Clean Plugin configuration definition singleton.

Returns:
Returns the Seven Bit Clean Plugin configuration definition singleton.

createClientConfiguration

public SevenBitCleanPluginCfgClient createClientConfiguration(ManagedObject<? extends SevenBitCleanPluginCfgClient> impl)
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 class ManagedObjectDefinition<SevenBitCleanPluginCfgClient,SevenBitCleanPluginCfg>
Parameters:
impl - The managed object.
Returns:
Returns a client configuration view of the provided managed object.

createServerConfiguration

public SevenBitCleanPluginCfg createServerConfiguration(ServerManagedObject<? extends SevenBitCleanPluginCfg> impl)
Creates a server configuration view of the provided server managed object.

Specified by:
createServerConfiguration in class ManagedObjectDefinition<SevenBitCleanPluginCfgClient,SevenBitCleanPluginCfg>
Parameters:
impl - The server managed object.
Returns:
Returns a server configuration view of the provided server managed object.

getServerConfigurationClass

public java.lang.Class<SevenBitCleanPluginCfg> getServerConfigurationClass()
Gets the server configuration class instance associated with this managed object definition.

Specified by:
getServerConfigurationClass in class ManagedObjectDefinition<SevenBitCleanPluginCfgClient,SevenBitCleanPluginCfg>
Returns:
Returns the server configuration class instance associated with this managed object definition.

getAttributeTypePropertyDefinition

public AttributeTypePropertyDefinition getAttributeTypePropertyDefinition()
Get the "attribute-type" property definition.

Specifies the name or OID of an attribute type for which values should be checked to ensure that they are 7-bit clean.

Returns:
Returns the "attribute-type" property definition.

getBaseDNPropertyDefinition

public DNPropertyDefinition getBaseDNPropertyDefinition()
Get the "base-dn" property definition.

Specifies the base DN below which the checking is performed.

Any attempt to update a value for one of the configured attributes below this base DN must be 7-bit clean for the operation to be allowed.

Returns:
Returns the "base-dn" property definition.

getEnabledPropertyDefinition

public BooleanPropertyDefinition getEnabledPropertyDefinition()
Get the "enabled" property definition.

Indicates whether the plug-in is enabled for use.

Returns:
Returns the "enabled" property definition.

getInvokeForInternalOperationsPropertyDefinition

public BooleanPropertyDefinition getInvokeForInternalOperationsPropertyDefinition()
Get the "invoke-for-internal-operations" property definition.

Indicates whether the plug-in should be invoked for internal operations.

Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operatons that can cause the same plug-in to be re-invoked.

Returns:
Returns the "invoke-for-internal-operations" property definition.

getJavaClassPropertyDefinition

public ClassPropertyDefinition getJavaClassPropertyDefinition()
Get the "java-class" property definition.

Specifies the fully-qualified name of the Java class that provides the plug-in implementation.

Returns:
Returns the "java-class" property definition.

getPluginTypePropertyDefinition

public EnumPropertyDefinition<PluginCfgDefn.PluginType> getPluginTypePropertyDefinition()
Get the "plugin-type" property definition.

Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.

Returns:
Returns the "plugin-type" property definition.