public final class ObjectClassHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addToRegistries(ObjectClass objectClass,
List<Throwable> errors,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
static void |
removeFromRegistries(ObjectClass objectClass,
List<Throwable> errors,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(ObjectClass objectClass, List<Throwable> errors, Registries registries) throws LdapException
objectClass
- The ObjectClass to add to the Registrieserrors
- The errors we got while adding the ObjectClass to the Registriesregistries
- The RegistriesLdapException
- on failurepublic static void removeFromRegistries(ObjectClass objectClass, List<Throwable> errors, Registries registries) throws LdapException
objectClass
- The ObjectClass to remove fro the registrieserrors
- The errors we got while removing the ObjectClass from the registriesregistries
- The RegistriesLdapException
- If the ObjectClass is not validCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.