org.apache.directory.api.ldap.model.schema.registries.helper
Class NameFormHelper

java.lang.Object
  extended by org.apache.directory.api.ldap.model.schema.registries.helper.NameFormHelper

public class NameFormHelper
extends Object

An helper class used to store all the methods associated with an NameForm in relation with the Registries and SchemaManager.

Author:
Apache Directory Project

Constructor Summary
NameFormHelper()
           
 
Method Summary
static void addToRegistries(NameForm nameForm, List<Throwable> errors, Registries registries)
          Inject the NameForm into the registries, updating the references to other SchemaObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NameFormHelper

public NameFormHelper()
Method Detail

addToRegistries

public static void addToRegistries(NameForm nameForm,
                                   List<Throwable> errors,
                                   Registries registries)
                            throws LdapException
Inject the NameForm into the registries, updating the references to other SchemaObject

Parameters:
nameForm - The NameForm to add to the Registries
errors - The errors we got while adding the NameForm to the Registries
registries - The Registries
Throws:
If - the addition failed
LdapException


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.