|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DITStructureRuleRegistry
An DITStructureRule registry service interface.
Method Summary | |
---|---|
java.lang.String |
getSchemaName(java.lang.Integer ruleId)
Gets the schema name for a DITStructureRule using the rule identifier. |
boolean |
hasDITStructureRule(java.lang.Integer ruleId)
Checks to see if an dITStructureRule exists using the rule identifier. |
boolean |
hasDITStructureRule(java.lang.String id)
Checks to see if an dITStructureRule exists using the object identifier of the nameForm appended with the rule identifier of the DITStructureRule. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.DITStructureRule> |
iterator()
Lists all the DITStructureRules within this registry. |
org.apache.directory.shared.ldap.schema.DITStructureRule |
lookup(java.lang.Integer ruleId)
Looks up an dITStructureRule by its unique Object IDentifier or by its name. |
org.apache.directory.shared.ldap.schema.DITStructureRule |
lookup(java.lang.String id)
Looks up an dITStructureRule using a composite key composed of the nameForm object identifier with a DOT and the rule id of the DITStructureRule appended to it. |
void |
register(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule)
Registers a DITStructureRule with this registry. |
void |
unregister(java.lang.Integer ruleId)
Unregisters a DITStructureRule using it's rule identifier. |
Methods inherited from interface org.apache.directory.server.schema.registries.SchemaObjectRegistry |
---|
getSchemaName, unregister |
Method Detail |
---|
void register(org.apache.directory.shared.ldap.schema.DITStructureRule dITStructureRule) throws javax.naming.NamingException
dITStructureRule
- the dITStructureRule to register
javax.naming.NamingException
- if the DITStructureRule is already registered
or the registration operation is not supportedorg.apache.directory.shared.ldap.schema.DITStructureRule lookup(java.lang.String id) throws javax.naming.NamingException
id
- the nameForm object identifier with rule identifier appended
javax.naming.NamingException
- if the DITStructureRule does not existorg.apache.directory.shared.ldap.schema.DITStructureRule lookup(java.lang.Integer ruleId) throws javax.naming.NamingException
ruleId
- the rule identifier for the DITStructureRule
javax.naming.NamingException
- if the DITStructureRule does not existboolean hasDITStructureRule(java.lang.String id)
id
- the object identifier of the nameForm with the rule Id appended
boolean hasDITStructureRule(java.lang.Integer ruleId)
ruleId
- the rule identifier for the DITStructureRule.
void unregister(java.lang.Integer ruleId) throws javax.naming.NamingException
ruleId
- the rule identifier for the DITStructureRule to unregister
javax.naming.NamingException
- if no such DITStructureRule existsjava.lang.String getSchemaName(java.lang.Integer ruleId) throws javax.naming.NamingException
ruleId
- the rule identifier for the DITStructureRule
javax.naming.NamingException
- if no such rule could be foundjava.util.Iterator<org.apache.directory.shared.ldap.schema.DITStructureRule> iterator()
iterator
in interface SchemaObjectRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |