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