Package | Description |
---|---|
org.apache.directory.shared.ldap.entry | |
org.apache.directory.shared.ldap.entry.client | |
org.apache.directory.shared.ldap.schema |
Contains interfaces and base classes for representing the LDAP schema domain
model.
|
org.apache.directory.shared.ldap.schema.loader.ldif | |
org.apache.directory.shared.ldap.schema.manager.impl | |
org.apache.directory.shared.ldap.schema.parsers | |
org.apache.directory.shared.ldap.schema.registries | |
org.apache.directory.shared.ldap.schema.syntax | |
org.apache.directory.shared.ldap.util |
Modifier and Type | Field and Description |
---|---|
protected AttributeType |
AbstractValue.attributeType
reference to the attributeType zssociated with the value
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
AbstractValue.getAttributeType()
Get the associated AttributeType
|
AttributeType |
EntryAttribute.getAttributeType()
Get the attribute type associated with this ServerAttribute.
|
Modifier and Type | Method and Description |
---|---|
Set<AttributeType> |
DefaultServerEntry.getAttributeTypes()
Gets all the attributes type
|
Set<AttributeType> |
ServerEntry.getAttributeTypes()
Gets all the attributes type
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultServerEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
void |
ServerEntry.add(AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
void |
DefaultServerEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
void |
ServerEntry.add(AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
void |
DefaultServerEntry.add(AttributeType attributeType,
Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
void |
ServerEntry.add(AttributeType attributeType,
Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
void |
DefaultServerEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
void |
ServerEntry.add(String upId,
AttributeType attributeType,
byte[]... values)
Add an attribute (represented by its AttributeType and some binary values) into an
entry.
|
void |
DefaultServerEntry.add(String upId,
AttributeType attributeType,
String... values)
Adds a new attribute with some String values into an entry, setting
the User Provided ID in the same time.
|
void |
ServerEntry.add(String upId,
AttributeType attributeType,
String... values)
Add an attribute (represented by its AttributeType and some String values) into an
entry.
|
void |
DefaultServerEntry.add(String upId,
AttributeType attributeType,
Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
void |
ServerEntry.add(String upId,
AttributeType attributeType,
Value<?>... values)
Add an attribute (represented by its AttributeType and some values) into an
entry.
|
void |
AbstractValue.apply(AttributeType attributeType) |
boolean |
DefaultServerEntry.contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
ServerEntry.contains(AttributeType attributeType,
byte[]... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
DefaultServerEntry.contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
ServerEntry.contains(AttributeType attributeType,
String... values)
Checks if an entry contains an attribute with some given String values.
|
boolean |
DefaultServerEntry.contains(AttributeType attributeType,
Value<?>... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
ServerEntry.contains(AttributeType attributeType,
Value<?>... values)
Checks if an entry contains an attribute with some given binary values.
|
boolean |
DefaultServerEntry.containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
boolean |
ServerEntry.containsAttribute(AttributeType attributeType)
Checks if an entry contains a specific AttributeType.
|
EntryAttribute |
DefaultServerEntry.get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
EntryAttribute |
ServerEntry.get(AttributeType attributeType)
Returns the attribute associated with an AttributeType
|
static String |
DefaultServerEntry.getUpId(String upId,
AttributeType attributeType)
Get the UpId if it was null.
|
boolean |
AbstractValue.instanceOf(AttributeType attributeType)
Check if the value is stored into an instance of the given
AttributeType, or one of its ascendant.
|
EntryAttribute |
DefaultServerEntry.put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and binary values
into the attribute collection.
|
EntryAttribute |
DefaultServerEntry.put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and String values
into the attribute collection.
|
EntryAttribute |
DefaultServerEntry.put(AttributeType attributeType,
Value<?>... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(AttributeType attributeType,
Value<?>... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
EntryAttribute |
DefaultServerEntry.put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(String upId,
AttributeType attributeType,
byte[]... values)
Places a new attribute with the supplied AttributeType and some binary values
into the attribute collection.
|
EntryAttribute |
DefaultServerEntry.put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(String upId,
AttributeType attributeType,
String... values)
Places a new attribute with the supplied AttributeType and some String values
into the attribute collection.
|
EntryAttribute |
DefaultServerEntry.put(String upId,
AttributeType attributeType,
Value<?>... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
EntryAttribute |
ServerEntry.put(String upId,
AttributeType attributeType,
Value<?>... values)
Places a new attribute with the supplied AttributeType and some values
into the attribute collection.
|
boolean |
DefaultServerEntry.remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
ServerEntry.remove(AttributeType attributeType,
byte[]... values)
Removes the specified binary values from an attribute.
|
boolean |
DefaultServerEntry.remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
ServerEntry.remove(AttributeType attributeType,
String... values)
Removes the specified String values from an attribute.
|
boolean |
DefaultServerEntry.remove(AttributeType attributeType,
Value<?>... values)
Removes the specified values from an attribute.
|
boolean |
ServerEntry.remove(AttributeType attributeType,
Value<?>... values)
Removes the specified values from an attribute.
|
List<EntryAttribute> |
DefaultServerEntry.removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
List<EntryAttribute> |
ServerEntry.removeAttributes(AttributeType... attributes)
Removes the attribute with the specified AttributeTypes.
|
List<EntryAttribute> |
DefaultServerEntry.set(AttributeType... attributeTypes)
Put some new attributes using the attributeTypes.
|
List<EntryAttribute> |
ServerEntry.set(AttributeType... attributeTypes)
Put some new attributes using the attributeTypes.
|
void |
EntryAttribute.setAttributeType(AttributeType attributeType)
Set the attribute type associated with this ServerAttribute.
|
void |
EntryAttribute.setUpId(String upId,
AttributeType attributeType)
Set the user provided ID.
|
Constructor and Description |
---|
BinaryValue(AttributeType attributeType)
Creates a BinaryValue without an initial wrapped value.
|
BinaryValue(AttributeType attributeType,
byte[] value)
Creates a BinaryValue with an initial wrapped binary value.
|
DefaultServerAttribute(AttributeType attributeType)
Create a new instance of a EntryAttribute, without ID nor value.
|
DefaultServerAttribute(AttributeType attributeType,
byte[]... vals)
Create a new instance of a EntryAttribute, with some byte[] values.
|
DefaultServerAttribute(AttributeType attributeType,
EntryAttribute attribute)
Creates a new instance of DefaultServerAttribute, by copying
another attribute, which can be a ClientAttribute.
|
DefaultServerAttribute(AttributeType attributeType,
String... vals)
Create a new instance of a EntryAttribute, without ID but with some values.
|
DefaultServerAttribute(AttributeType attributeType,
Value<?>... vals)
Doc me more!
If the value does not correspond to the same attributeType, then it's
wrapped value is copied into a new Value which uses the specified
attributeType.
|
DefaultServerAttribute(String upId,
AttributeType attributeType)
Create a new instance of a EntryAttribute, without value.
|
DefaultServerAttribute(String upId,
AttributeType attributeType,
byte[]... vals)
Create a new instance of a EntryAttribute, with some byte[] values.
|
DefaultServerAttribute(String upId,
AttributeType attributeType,
String... vals)
Create a new instance of a EntryAttribute.
|
DefaultServerAttribute(String upId,
AttributeType attributeType,
Value<?>... vals)
Doc me more!
If the value does not correspond to the same attributeType, then it's
wrapped value is copied into a new Value which uses the specified
attributeType.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
AttributeType... attributeTypes)
Creates a new instance of DefaultServerEntry, with a
DN, registries and a list of attributeTypes.
|
DefaultServerEntry(SchemaManager schemaManager,
DN dn,
AttributeType attributeType,
String upId)
Creates a new instance of DefaultServerEntry, with a
DN, registries and an attributeType with the user provided ID.
|
StringValue(AttributeType attributeType)
Creates a StringValue without an initial wrapped value.
|
StringValue(AttributeType attributeType,
String value)
Creates a StringValue with an initial wrapped String value.
|
Modifier and Type | Field and Description |
---|---|
protected AttributeType |
DefaultClientAttribute.attributeType
The associated AttributeType
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
DefaultClientAttribute.getAttributeType()
Get the attribute type associated with this ServerAttribute.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultClientAttribute.setAttributeType(AttributeType attributeType)
Set the attribute type associated with this ServerAttribute.
|
void |
DefaultClientAttribute.setUpId(String upId,
AttributeType attributeType)
Set the user provided ID.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
AttributeType.copy()
Copy an AttributeType
|
AttributeType |
AttributeTypeOptions.getAttributeType() |
AttributeType |
EntityFactory.getAttributeType(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Construct an AttributeType from an entry representing an AttributeType.
|
AttributeType |
AttributeType.getSuperior()
Gets the the superior AttributeType of this AttributeType.
|
AttributeType |
SchemaManager.lookupAttributeTypeRegistry(String oid)
Lookup for an AttributeType in the AttributeType registry
|
Modifier and Type | Method and Description |
---|---|
List<AttributeType> |
MatchingRuleUse.getApplicableAttributes() |
List<AttributeType> |
NameForm.getMayAttributeTypes()
Gets all the AttributeTypes of the attribute this NameForm specifies as
being useable without requirement in the given objectClass for naming: as
part of the Rdn.
|
List<AttributeType> |
DITContentRule.getMayAttributeTypes() |
List<AttributeType> |
ObjectClass.getMayAttributeTypes() |
List<AttributeType> |
NameForm.getMustAttributeTypes()
Gets all the AttributeTypes of the attributes this NameForm specifies as
having to be used in the given objectClass for naming: as part of the
Rdn.
|
List<AttributeType> |
DITContentRule.getMustAttributeTypes() |
List<AttributeType> |
ObjectClass.getMustAttributeTypes() |
List<AttributeType> |
DITContentRule.getNotAttributeTypes() |
Modifier and Type | Method and Description |
---|---|
void |
MatchingRuleUse.addApplicableAttribute(AttributeType attributeType)
Add a matchingRule's AttributeType the MRU applies to.
|
void |
ObjectClass.addMayAttributeTypes(AttributeType... attributeTypes)
Add some allowed AttributeTypes
|
void |
NameForm.addMayAttributeTypes(AttributeType attributeType)
Add an allowed AttributeType
|
void |
DITContentRule.addMayAttributeTypes(AttributeType attributeType)
Add an allowed AttributeType
|
void |
ObjectClass.addMustAttributeTypes(AttributeType... attributeTypes)
Add some required AttributeTypes
|
void |
NameForm.addMustAttributeTypes(AttributeType attributeType)
Add a required AttributeType
|
void |
DITContentRule.addMustAttributeTypes(AttributeType attributeType)
Add a required AttributeType
|
void |
DITContentRule.addNotAttributeTypes(AttributeType attributeType)
Add a precluded AttributeType
|
static String |
DescriptionUtils.getDescription(AttributeType attributeType)
Generates the description using the AttributeTypeDescription as defined
by the syntax: 1.3.6.1.4.1.1466.115.121.1.3.
|
boolean |
AttributeType.isAncestorOf(AttributeType descendant)
Checks to see if this AttributeType is the ancestor of another
attributeType.
|
boolean |
AttributeType.isDescendantOf(AttributeType ancestor)
Checks to see if this AttributeType is the descendant of another
attributeType.
|
Set<Entry> |
SchemaDao.listAttributeTypeDependents(AttributeType at) |
static StringBuffer |
SchemaUtils.render(AttributeType at)
Renders an attributeType into a new StringBuffer according to the
Attribute Type Description Syntax 1.3.6.1.4.1.1466.115.121.1.3.
|
static StringBuffer |
SchemaUtils.render(AttributeType[] ats)
Renders a list of attributeTypes for things like the must or may list of
objectClasses using the ( oid $ oid ) format.
|
static StringBuffer |
SchemaUtils.render(StringBuffer buf,
AttributeType[] ats)
Renders a list of attributeTypes for things like the must or may list of
objectClasses using the ( oid $ oid ) format into an existing buffer.
|
void |
AttributeType.setSuperior(AttributeType superior)
Sets the superior for this AttributeType
|
void |
AttributeType.updateSuperior(AttributeType superior)
Update the associated Superior AttributeType, even if the SchemaObject is readOnly
|
Modifier and Type | Method and Description |
---|---|
void |
MatchingRuleUse.setApplicableAttributes(List<AttributeType> applicableAttributes)
Set the matchingRule's AttributeType the MRU applies to.
|
void |
NameForm.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
DITContentRule.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
ObjectClass.setMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Sets the list of allowed AttributeTypes
|
void |
NameForm.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
DITContentRule.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
ObjectClass.setMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Sets the list of required AttributeTypes
|
void |
DITContentRule.setNotAttributeTypes(List<AttributeType> notAttributeTypes)
Sets the list of precluded AttributeTypes
|
void |
ObjectClass.updateMayAttributeTypes(List<AttributeType> mayAttributeTypes)
Update the associated MAY AttributeType, even if the SchemaObject is readOnly
|
void |
ObjectClass.updateMustAttributeTypes(List<AttributeType> mustAttributeTypes)
Update the associated MUST AttributeType, even if the SchemaObject is readOnly
|
Constructor and Description |
---|
AttributeTypeOptions(AttributeType attributeType)
Creates a new instance of AttributeTypeOptions, containing an attributeType,
but no options.
|
AttributeTypeOptions(AttributeType attributeType,
Set<String> options)
Creates a new instance of AttributeTypeOptions, containing an attributeType,
and options.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
SchemaEntityFactory.getAttributeType(SchemaManager schemaManager,
Entry entry,
Registries targetRegistries,
String schemaName)
Construct an AttributeType from an entry representing an AttributeType.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
DefaultSchemaManager.lookupAttributeTypeRegistry(String oid)
Lookup for an AttributeType in the AttributeType registry
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
AttributeTypeDescriptionSchemaParser.parse(String schemaDescription)
Parses a AttributeType description
|
AttributeType |
AttributeTypeDescriptionSchemaParser.parseAttributeTypeDescription(String attributeTypeDescription)
Parses a attribute type description according to RFC 4512:
|
Modifier and Type | Method and Description |
---|---|
List<AttributeType> |
OpenLdapSchemaParser.getAttributeTypes()
Gets the attribute types.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ParserDescriptionUtils.attributeTypesMatch(AttributeType at0,
AttributeType at1)
Checks two schema attributeTypes for an exact match.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
DefaultAttributeTypeRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
AttributeType |
ImmutableAttributeTypeRegistry.lookup(String oid)
Looks up a SchemaObject by its unique Object Identifier or by name.
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(AttributeType schemaObject)
Removes the SchemaObject registered with this registry.
|
AttributeType |
DefaultAttributeTypeRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(String numericOid)
Removes the SchemaObject registered with this registry, using its
numeric OID.
|
Modifier and Type | Method and Description |
---|---|
Iterator<AttributeType> |
AttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
DefaultAttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.descendants(String ancestorId)
Get's an iterator over the set of descendant attributeTypes for
some ancestor's name alias or their OID.
|
Iterator<AttributeType> |
ImmutableAttributeTypeRegistry.iterator()
Gets an iterator over the registered schema objects in the registry.
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
DefaultAttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
ImmutableAttributeTypeRegistry.addMappingFor(AttributeType attributeType)
Add a new Oid/Normalizer couple in the OidNormalizer map
|
void |
Registries.delCrossReferences(AttributeType attributeType)
Add the SchemaObjectReferences.
|
void |
ImmutableAttributeTypeRegistry.register(AttributeType attributeType)
Registers a new SchemaObject with this registry.
|
void |
AttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
DefaultAttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
ImmutableAttributeTypeRegistry.registerDescendants(AttributeType attributeType,
AttributeType ancestor)
Store the AttributeType into a map associating an AttributeType to its
descendants.
|
void |
AttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer map
|
void |
DefaultAttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove the AttributeType normalizer from the OidNormalizer map
|
void |
ImmutableAttributeTypeRegistry.removeMappingFor(AttributeType attributeType)
Remove a new Oid/Normalizer couple in the OidNormalizer map
|
AttributeType |
ImmutableAttributeTypeRegistry.unregister(AttributeType schemaObject)
Removes the SchemaObject registered with this registry.
|
void |
AttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
void |
DefaultAttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
void |
ImmutableAttributeTypeRegistry.unregisterDescendants(AttributeType attributeType,
AttributeType ancestor)
Remove the AttributeType from the map associating an AttributeType to its
descendants.
|
Modifier and Type | Method and Description |
---|---|
AttributeType |
AntlrSchemaParser.attributeTypeDescription()
Production for matching attribute type descriptions.
|
AttributeType |
AntlrSchemaParser.openLdapAttributeType() |
Modifier and Type | Method and Description |
---|---|
static boolean |
AttributeUtils.containsValue(Attribute attr,
Value<?> compared,
AttributeType type)
Check if an attribute contains a specific value, using the associated matchingRule for that
|
static Attribute |
AttributeUtils.getAttribute(Attributes attrs,
AttributeType type)
Utility method to extract an attribute from Attributes object using
all combinationos of the name including aliases.
|
static Attribute |
AttributeUtils.removeAttribute(AttributeType type,
Attributes entry)
Correctly removes an attribute from an entry using it's attributeType information.
|
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.