public final class AttributeTypeHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
addToRegistries(MutableAttributeType attributeType,
List<Throwable> errors,
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,
List<Throwable> errors,
Registries registries)
Remove the AttributeType from the registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(MutableAttributeType attributeType, List<Throwable> errors, Registries registries) throws LdapException
attributeType - The AttributeType to add to the Registrieserrors - The errors we got while adding the AttributeType to the Registriesregistries - The RegistriesIf - the AttributeType is not validLdapExceptionpublic static void removeFromRegistries(AttributeType attributeType, List<Throwable> errors, Registries registries) throws LdapException
attributeType - The AttributeType to remove from the Registrieserrors - The errors we got while removing the AttributeType from the Registriesregistries - The RegistriesIf - the AttributeType is not validLdapExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.