public class MatchingRuleHelper extends Object
Constructor and Description |
---|
MatchingRuleHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
addToRegistries(MutableMatchingRule matchingRule,
List<Throwable> errors,
Registries registries)
Inject the MatchingRule into the Registries, updating the references to
other SchemaObject
|
static void |
removeFromRegistries(MatchingRule matchingRule,
List<Throwable> errors,
Registries registries)
Remove the MatchingRule from the Registries, updating the references to
other SchemaObject.
|
public MatchingRuleHelper()
public static void addToRegistries(MutableMatchingRule matchingRule, List<Throwable> errors, Registries registries) throws LdapException
matchingRule
- The MatchingRule to add to the Registrieserrors
- The errors we got while adding the MatchingRule to the registriesregistries
- The RegistriesIf
- the addition failedLdapException
public static void removeFromRegistries(MatchingRule matchingRule, List<Throwable> errors, Registries registries) throws LdapException
matchingRule
- The MatchingRule to remove from the Registrieserrors
- The errors we got while removing the MatchingRule from the registriesregistries
- The RegistriesIf
- the MatchingRule is not validLdapException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.