|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NormalizerRegistry
Normalizer registry service interface.
Method Summary | |
---|---|
java.lang.String |
getSchemaName(java.lang.String oid)
Gets the name of the schema this schema object is associated with. |
boolean |
hasNormalizer(java.lang.String oid)
Checks to see if a Normalizer exists. |
org.apache.directory.shared.ldap.schema.Normalizer |
lookup(java.lang.String oid)
Looks up a Normalizer by its unique Object Identifier. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.NormalizerDescription> |
normalizerDescriptionIterator()
Used to iterate through all normalizerDescriptions. |
java.util.Iterator<java.lang.String> |
oidIterator()
Used to iterate through all normalizers. |
void |
register(org.apache.directory.shared.ldap.schema.syntax.NormalizerDescription description,
org.apache.directory.shared.ldap.schema.Normalizer normalizer)
Registers a Normalizer with this registry. |
void |
renameSchema(java.lang.String originalSchemaName,
java.lang.String newSchemaName)
Renames the schemaName associated with entities within this registry to a new schema name. |
void |
unregister(java.lang.String oid)
Unregisters a normalizer from this registry by OID. |
void |
unregisterSchemaElements(java.lang.String schemaName)
Unregisters normalizers from this registry associated with a schema. |
Method Detail |
---|
void register(org.apache.directory.shared.ldap.schema.syntax.NormalizerDescription description, org.apache.directory.shared.ldap.schema.Normalizer normalizer) throws javax.naming.NamingException
normalizer
- the Normalizer to register
javax.naming.NamingException
- if the Normalizer is already registered or the
registration operation is not supportedorg.apache.directory.shared.ldap.schema.Normalizer lookup(java.lang.String oid) throws javax.naming.NamingException
oid
- the object identifier
javax.naming.NamingException
- if there is a backing store failure or the
Normalizer does not exist.java.lang.String getSchemaName(java.lang.String oid) throws javax.naming.NamingException
oid
- the object identifier
javax.naming.NamingException
- if the schema object does not existboolean hasNormalizer(java.lang.String oid)
oid
- the object identifier
java.util.Iterator<java.lang.String> oidIterator()
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.NormalizerDescription> normalizerDescriptionIterator()
void unregister(java.lang.String oid) throws javax.naming.NamingException
oid
- the numeric OID of the matchingRule the normalizer is for
javax.naming.NamingException
- if the provided argument is not a numeric OIDvoid unregisterSchemaElements(java.lang.String schemaName)
schemaName
- the name of the schema whose normalizers are
removed from this registryvoid renameSchema(java.lang.String originalSchemaName, java.lang.String newSchemaName)
originalSchemaName
- the original schema namenewSchemaName
- the new name to give to the schema
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |