|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NameFormRegistry
An NameForm 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 |
hasNameForm(java.lang.String id)
Checks to see if an nameForm exists. |
java.util.Iterator |
list()
Lists all the NameForms within this registry. |
org.apache.directory.shared.ldap.schema.NameForm |
lookup(java.lang.String id)
Looks up a nameForm by its unique Object Identifier or by name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.NameForm nameForm)
Registers a NameForm with this registry. |
Method Detail |
---|
void register(java.lang.String schema, org.apache.directory.shared.ldap.schema.NameForm nameForm) throws javax.naming.NamingException
schema
- the name of the schema the NameForm is associated withnameForm
- the nameForm to register
javax.naming.NamingException
- if the NameForm is already registered or the
registration operation is not supportedorg.apache.directory.shared.ldap.schema.NameForm lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name
javax.naming.NamingException
- if the NameForm does not existjava.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 hasNameForm(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 |