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

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

public class DitContentRuleHelper
extends Object

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

Author:
Apache Directory Project

Constructor Summary
DitContentRuleHelper()
           
 
Method Summary
static void addToRegistries(DitContentRule ditContentRule, List<Throwable> errors, Registries registries)
          Inject the DitContentRule 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

DitContentRuleHelper

public DitContentRuleHelper()
Method Detail

addToRegistries

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

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


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