|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AttributeTypeRegistry
An AttributeType registry service interface.
Method Summary | |
---|---|
java.util.Iterator<org.apache.directory.shared.ldap.schema.AttributeType> |
descendants(java.lang.String ancestorId)
Get's an iterator over the set of descendant attributeTypes for some ancestor's name alias or their OID. |
java.util.Set<java.lang.String> |
getBinaryAttributes()
Gets a set of Strings representing the aliases, and numeric identifiers of all binary attributes. |
java.util.Map<java.lang.String,org.apache.directory.shared.ldap.schema.OidNormalizer> |
getNormalizerMapping()
Gets an oid/name to normalizer mapping used to normalize distinguished names. |
boolean |
hasAttributeType(java.lang.String id)
Checks to see if an AttributeType exists. |
boolean |
hasDescendants(java.lang.String ancestorId)
Quick lookup to see if an attribute has descendants. |
java.util.Iterator<org.apache.directory.shared.ldap.schema.AttributeType> |
iterator()
Gets an Iterator over the AttributeTypes within this registry. |
org.apache.directory.shared.ldap.schema.AttributeType |
lookup(java.lang.String id)
Looks up an AttributeType by its unique Object Identifier or by its unique name. |
void |
register(org.apache.directory.shared.ldap.schema.AttributeType attributeType)
Registers a new AttributeType with this registry. |
Methods inherited from interface org.apache.directory.server.schema.registries.SchemaObjectRegistry |
---|
getSchemaName, unregister |
Method Detail |
---|
void register(org.apache.directory.shared.ldap.schema.AttributeType attributeType) throws javax.naming.NamingException
attributeType
- the AttributeType to register
javax.naming.NamingException
- if the AttributeType is already registered or
the registration operation is not supportedjava.util.Set<java.lang.String> getBinaryAttributes() throws javax.naming.NamingException
javax.naming.NamingException
- if there are issues resolving type informationorg.apache.directory.shared.ldap.schema.AttributeType lookup(java.lang.String id) throws javax.naming.NamingException
id
- the object identifier or name of the AttributeType
javax.naming.NamingException
- if the AttributeType does not existboolean hasAttributeType(java.lang.String id)
id
- the object identifier or name of the AttributeType
java.util.Iterator<org.apache.directory.shared.ldap.schema.AttributeType> iterator()
iterator
in interface SchemaObjectRegistry
java.util.Map<java.lang.String,org.apache.directory.shared.ldap.schema.OidNormalizer> getNormalizerMapping() throws javax.naming.NamingException
javax.naming.NamingException
- if for some reason this information cannot be returnedboolean hasDescendants(java.lang.String ancestorId) throws javax.naming.NamingException
ancestorId
- the name alias or OID for an attributeType
javax.naming.NamingException
- if the ancestor attributeType cannot be
discerned from the ancestorId suppliedjava.util.Iterator<org.apache.directory.shared.ldap.schema.AttributeType> descendants(java.lang.String ancestorId) throws javax.naming.NamingException
ancestorId
- the name alias or OID for an attributeType
javax.naming.NamingException
- if the ancestor attributeType cannot be
discerned from the ancestorId supplied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |