|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ObjectClassRegistry
ObjectClass registry service interface.
| Method Summary | |
|---|---|
java.lang.String |
getSchemaName(java.lang.String id)
Gets the name of the schema this schema object is associated with. |
boolean |
hasObjectClass(java.lang.String id)
Checks to see if an objectClass exists. |
java.util.Iterator |
list()
Gets an Iterator over the ObjectClasses within this ObjectClassRegistry. |
org.apache.directory.shared.ldap.schema.ObjectClass |
lookup(java.lang.String id)
Looks up an objectClass by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.ObjectClass objectClass)
Registers an ObjectClass with this registry. |
| Method Detail |
|---|
void register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.ObjectClass objectClass)
throws javax.naming.NamingException
schema - the name of the schema the ObjectClass is associated withobjectClass - the objectClass to register
javax.naming.NamingException - if the ObjectClass is already registered or the
registration operation is not supported
org.apache.directory.shared.ldap.schema.ObjectClass lookup(java.lang.String id)
throws javax.naming.NamingException
id - the object identifier or name
javax.naming.NamingException - if the ObjectClass does not exist
java.lang.String getSchemaName(java.lang.String id)
throws javax.naming.NamingException
id - the object identifier or the name
javax.naming.NamingException - if the schema object does not existboolean hasObjectClass(java.lang.String id)
id - the object identifier or name
java.util.Iterator list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||