public class AttributeTypeHelper extends Object
Constructor and Description |
---|
AttributeTypeHelper() |
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 AttributeTypeHelper()
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 validLdapException
public 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 validLdapException
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.