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 RegistriesException - on failureLdapExceptionpublic 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 RegistriesIf - the ObjectClass is not validLdapExceptionCopyright © 2003–2016 The Apache Software Foundation. All rights reserved.