|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DITContentRuleRegistry
An DITContentRule registry's 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 |
hasDITContentRule(java.lang.String id)
Checks to see if a DITContentRule exists. |
java.util.Iterator |
list()
Lists all the DITContentRules within this registry. |
org.apache.directory.shared.ldap.schema.DITContentRule |
lookup(java.lang.String id)
Looks up a DITContentRule by its object identifier or by its name. |
void |
register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.DITContentRule dITContentRule)
Registers a DITContentRule with this registry. |
| Method Detail |
|---|
void register(java.lang.String schema,
org.apache.directory.shared.ldap.schema.DITContentRule dITContentRule)
throws javax.naming.NamingException
schema - the name of the schema the DITContentRule is associated withdITContentRule - the DITContentRule to register
javax.naming.NamingException - if the DITContentRule is already registered or
the registration operation is not supported
org.apache.directory.shared.ldap.schema.DITContentRule lookup(java.lang.String id)
throws javax.naming.NamingException
id - the object identifier or name of the DITContentRule
javax.naming.NamingException - if the DITContentRule 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 hasDITContentRule(java.lang.String id)
id - the object identifier or name of the DITContentRule
java.util.Iterator list()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||