public final class AttributeTypeHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addToRegistries(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the AttributeType into the Registries, updating the references to
other SchemaObject
If one of the referenced SchemaObject does not exist (SUP, EQUALITY, ORDERING, SUBSTR, SYNTAX),
an exception is thrown.
|
static void |
removeFromRegistries(AttributeType attributeType,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the AttributeType from the registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries) throws LdapException
attributeType
- The AttributeType to add to the RegistrieserrorHandler
- Error handlerregistries
- The RegistriesLdapException
- If the AttributeType is not validpublic static void removeFromRegistries(AttributeType attributeType, SchemaErrorHandler errorHandler, Registries registries) throws LdapException
attributeType
- The AttributeType to remove from the RegistrieserrorHandler
- Error handlerregistries
- The RegistriesLdapException
- If the AttributeType is not validCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.