|
||||||||||
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 | |
---|---|
void |
addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map |
AttributeTypeRegistry |
copy()
Copy the AttributeTypeRegistry |
java.util.Iterator<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.Map<java.lang.String,OidNormalizer> |
getNormalizerMapping()
Gets an oid/name to normalizer mapping used to normalize distinguished names. |
boolean |
hasDescendants(java.lang.String ancestorId)
Quick lookup to see if an attribute has descendants. |
void |
registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its descendants. |
void |
removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer map |
void |
unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its descendants. |
Methods inherited from interface org.apache.directory.shared.ldap.schema.registries.SchemaObjectRegistry |
---|
clear, contains, get, getOidByName, getSchemaName, getType, iterator, lookup, oidsIterator, register, renameSchema, size, unregister, unregister, unregisterSchemaElements |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
java.util.Map<java.lang.String,OidNormalizer> getNormalizerMapping()
boolean hasDescendants(java.lang.String ancestorId) throws LdapException
ancestorId
- the name alias or OID for an attributeType
LdapException
- if the ancestor attributeType cannot be
discerned from the ancestorId suppliedjava.util.Iterator<AttributeType> descendants(java.lang.String ancestorId) throws LdapException
ancestorId
- the name alias or OID for an attributeType
LdapException
- if the ancestor attributeType cannot be
discerned from the ancestorId suppliedvoid registerDescendants(AttributeType attributeType, AttributeType ancestor) throws LdapException
attributeType
- The attributeType to register
LdapException
- If something went wrongvoid unregisterDescendants(AttributeType attributeType, AttributeType ancestor) throws LdapException
attributeType
- The attributeType to unregisterancestor
- its ancestor
LdapException
- If something went wrongvoid addMappingFor(AttributeType attributeType) throws LdapException
LdapException
void removeMappingFor(AttributeType attributeType) throws LdapException
LdapException
AttributeTypeRegistry copy()
copy
in interface SchemaObjectRegistry<AttributeType>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |