public final class ObjectClassHelper extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addToRegistries(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Inject the ObjectClass into the registries, updating the references to
other SchemaObject
|
static void |
removeFromRegistries(ObjectClass objectClass,
SchemaErrorHandler errorHandler,
Registries registries)
Remove the ObjectClass from the registries, updating the references to
other SchemaObject.
|
public static void addToRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries)
objectClass
- The ObjectClass to add to the RegistrieserrorHandler
- Error handlerregistries
- The Registriespublic static void removeFromRegistries(ObjectClass objectClass, SchemaErrorHandler errorHandler, Registries registries) throws LdapException
objectClass
- The ObjectClass to remove fro the registrieserrorHandler
- Error handlerregistries
- The RegistriesLdapException
- If the ObjectClass is not validCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.