|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.server.schema.registries.DefaultMatchingRuleUseRegistry
public class DefaultMatchingRuleUseRegistry
A plain old java object implementation of an MatchingRuleUseRegistry.
| Constructor Summary | |
|---|---|
DefaultMatchingRuleUseRegistry()
Creates an empty DefaultMatchingRuleUseRegistry. |
|
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasMatchingRuleUse(java.lang.String name)
Checks to see if an matchingRuleUse exists. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.MatchingRuleUse> |
iterator()
Lists all the MatchingRuleUses within this registry. |
org.apache.directory.shared.ldap.schema.MatchingRuleUse |
lookup(java.lang.String name)
Looks up an matchingRuleUse by its name. |
void |
register(org.apache.directory.shared.ldap.schema.MatchingRuleUse matchingRuleUse)
Registers a MatchingRuleUse with this registry. |
void |
unregister(java.lang.String name)
Removes the SchemaObject registered with this registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMatchingRuleUseRegistry()
| Method Detail |
|---|
public void register(org.apache.directory.shared.ldap.schema.MatchingRuleUse matchingRuleUse)
throws javax.naming.NamingException
MatchingRuleUseRegistry
register in interface MatchingRuleUseRegistrymatchingRuleUse - the matchingRuleUse to register
javax.naming.NamingException - if the MatchingRuleUse is already registered or
the registration operation is not supported
public org.apache.directory.shared.ldap.schema.MatchingRuleUse lookup(java.lang.String name)
throws javax.naming.NamingException
MatchingRuleUseRegistry
lookup in interface MatchingRuleUseRegistryname - the name of the matchingRuleUse
javax.naming.NamingException - if the MatchingRuleUse does not existpublic boolean hasMatchingRuleUse(java.lang.String name)
MatchingRuleUseRegistry
hasMatchingRuleUse in interface MatchingRuleUseRegistryname - the name of the matchingRuleUse
public java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
SchemaObjectRegistry
getSchemaName in interface SchemaObjectRegistryid - the object identifier or the name
javax.naming.NamingException - if the schema object does not existpublic java.util.Iterator<org.apache.directory.shared.ldap.schema.MatchingRuleUse> iterator()
MatchingRuleUseRegistry
iterator in interface MatchingRuleUseRegistryiterator in interface SchemaObjectRegistry
public void unregister(java.lang.String name)
throws javax.naming.NamingException
SchemaObjectRegistry
unregister in interface SchemaObjectRegistryname - the numeric identifier
javax.naming.NamingException - if the numeric identifier is invalid
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||