|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SyntaxCheckerRegistry
SyntaxChecker registry component's 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 |
hasSyntaxChecker(java.lang.String oid)
Checks to see if a SyntaxChecker exists. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker> |
iterator()
Get's an iterator over all the syntaxCheckers associated with this registry. |
org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker |
lookup(java.lang.String oid)
Looks up a SyntaxChecker by its unique Object Identifier. |
void |
register(org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription description,
org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker syntaxChecker)
Registers a SyntaxChecker 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. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription> |
syntaxCheckerDescriptionIterator()
Get's an iterator over all the syntaxCheckerDescriptions associated with this registry. |
void |
unregister(java.lang.String numericOid)
Unregisters a registered syntaxChecker from this registry. |
void |
unregisterSchemaElements(java.lang.String schemaName)
Unregisters all syntaxCheckers defined for a specific schema from this registry. |
| Method Detail |
|---|
void register(org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription description,
org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker syntaxChecker)
throws javax.naming.NamingException
description - the syntaxCheckerDescription for this syntaxCheckersyntaxChecker - the SyntaxChecker to register
javax.naming.NamingException - if the SyntaxChecker is already registered or the
registration operation is not supported
org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker 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
SyntaxChecker 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 hasSyntaxChecker(java.lang.String oid)
oid - the object identifier
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.SyntaxChecker> iterator()
java.util.Iterator<org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription> syntaxCheckerDescriptionIterator()
void unregister(java.lang.String numericOid)
throws javax.naming.NamingException
numericOid - the numeric oid of the syntax this checker is associated with
javax.naming.NamingException - if the numericOid is not validvoid unregisterSchemaElements(java.lang.String schemaName)
schemaName - the name of the schema whose syntaxCheckers will be removed
void 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 | |||||||||