Interface UniqueAttributePluginCfgClient

  • All Superinterfaces:
    ConfigurationClient, PluginCfgClient

    public interface UniqueAttributePluginCfgClient
    extends PluginCfgClient
    A client-side interface for reading and modifying Unique Attribute Plugin settings.

    The Unique Attribute Plugin enforces constraints on the value of an attribute within a portion of the directory.

    • Method Detail

      • getBaseDN

        SortedSet<org.forgerock.opendj.ldap.DN> getBaseDN()
        Gets the "base-dn" property.

        Specifies a base DN within which the attribute must be unique.

        Returns:
        Returns the values of the "base-dn" property.
      • setBaseDN

        void setBaseDN​(Collection<org.forgerock.opendj.ldap.DN> values)
                throws PropertyException
        Sets the "base-dn" property.

        Specifies a base DN within which the attribute must be unique.

        Parameters:
        values - The values of the "base-dn" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.
      • getJavaClass

        String getJavaClass()
        Gets the "java-class" property.

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

        Specified by:
        getJavaClass in interface PluginCfgClient
        Returns:
        Returns the value of the "java-class" property.
      • setJavaClass

        void setJavaClass​(String value)
                   throws PropertyException
        Sets the "java-class" property.

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

        Specified by:
        setJavaClass in interface PluginCfgClient
        Parameters:
        value - The value of the "java-class" property.
        Throws:
        PropertyException - If the new value is invalid.
      • getPluginType

        SortedSet<PluginCfgDefn.PluginType> getPluginType()
        Gets the "plugin-type" property.

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

        Specified by:
        getPluginType in interface PluginCfgClient
        Returns:
        Returns the values of the "plugin-type" property.
      • getType

        SortedSet<org.forgerock.opendj.ldap.schema.AttributeType> getType()
        Gets the "type" property.

        Specifies the type of attributes to check for value uniqueness.

        Returns:
        Returns the values of the "type" property.
      • setType

        void setType​(Collection<org.forgerock.opendj.ldap.schema.AttributeType> values)
              throws PropertyException
        Sets the "type" property.

        Specifies the type of attributes to check for value uniqueness.

        Parameters:
        values - The values of the "type" property.
        Throws:
        PropertyException - If one or more of the new values are invalid.