Uses of Interface
org.forgerock.opendj.ldap.Attribute
-
Packages that use Attribute Package Description org.forgerock.openam.ldap This package contains utility methods to ease/unify development when using the OpenDJ LDAP SDK.org.forgerock.opendj.io Classes and interfaces providing I/O functionality.org.forgerock.opendj.ldap Classes and interfaces for core types including connections, entries, and attributes.org.forgerock.opendj.ldap.controls Classes and interfaces for common LDAP controls.org.forgerock.opendj.ldap.messages Classes and interfaces for core LDAP requests/responses. -
-
Uses of Attribute in org.forgerock.openam.ldap
Methods in org.forgerock.openam.ldap with parameters of type Attribute Modifier and Type Method Description static voidLDAPUtils. addAttributeToMapAsByteArray(Attribute attribute, Map<String,byte[][]> map)Converts the Attribute to an attribute name, 2-dimensional byte array map and adds it to the map passed in.static voidLDAPUtils. addAttributeToMapAsString(Attribute attribute, Map<String,Set<String>> map)Converts the Attribute to an attribute name, set of String values map and adds it to the map passed in.static Set<String>LDAPUtils. getAttributeValuesAsStringSet(Attribute attribute)Converts all the attribute values to a String Set. -
Uses of Attribute in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return Attribute Modifier and Type Method Description static AttributeLdap. readAttribute(Asn1Reader reader, DecodeOptions options, Schema schema)Reads the next ASN.1 element from the providedASN1Readeras anAttribute.Methods in org.forgerock.opendj.io with parameters of type Attribute Modifier and Type Method Description static voidLdap. writeAttribute(Asn1Writer writer, Attribute attribute)Writes anAttributeto the providedAsn1Writer. -
Uses of Attribute in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap with type parameters of type Attribute Modifier and Type Class Description classAbstractMapEntry<M extends Map<AttributeDescription,Attribute>>Abstract implementation forMapbased entries.Classes in org.forgerock.opendj.ldap that implement Attribute Modifier and Type Class Description classAbstractAttributeThis class provides a skeletal implementation of theAttributeinterface, to minimize the effort required to implement this interface.classLinkedAttributeAn implementation of theAttributeinterface with predictable iteration order.Methods in org.forgerock.opendj.ldap that return Attribute Modifier and Type Method Description AttributeAbstractMapEntry. addAttributeIfAbsent(Attribute attribute)default AttributeEntry. addAttributeIfAbsent(Attribute attribute)Adds the provided attribute if it is not already present in this Entry and returnsnull.static AttributeAttributes. emptyAttribute(String attributeDescription)Returns a read-only empty attribute having the specified attribute description.static AttributeAttributes. emptyAttribute(AttributeDescription attributeDescription)Returns a read-only empty attribute having the specified attribute description.AttributeAbstractMapEntry. getAttribute(AttributeDescription attributeDescription)default AttributeEntry. getAttribute(String attributeDescription)Returns the named attribute contained in this entry, ornullif it is not included with this entry.default AttributeEntry. getAttribute(AttributeDescription attributeDescription)Returns the named attribute contained in this entry, ornullif it is not included with this entry.AttributeModification. getAttribute()Returns the attribute containing the values to be modified.AttributeAbstractMapEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)default AttributeEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)Adds the provided attribute if it is not already present in this Entry.default AttributeAttribute. put(Object... values)Adds all of the provided attribute values to this attribute if they are not already present (optional operation).default AttributeAttribute. put(ByteString value)Addsvalueto this attribute if it is not already present (optional operation).static AttributeAttributes. renameAttribute(Attribute attribute, String attributeDescription)Returns a view ofattributehaving a different attribute description.static AttributeAttributes. renameAttribute(Attribute attribute, AttributeDescription attributeDescription)Returns a view ofattributehaving a different attribute description.static AttributeAttributes. singletonAttribute(String attributeDescription, Object value)Returns a read-only single-valued attribute having the specified attribute description.static AttributeAttributes. singletonAttribute(AttributeDescription attributeDescription, Object value)Returns a read-only single-valued attribute having the specified attribute description and value.AttributeAva. toAttribute()Returns a single valued attribute having the same attribute type and value as this AVA.static AttributeAttributes. unmodifiableAttribute(Attribute attribute)Returns a read-only view ofattribute.static AttributeAttributes. virtualAttribute(Attribute attribute)Returns a view ofattributethat is virtual, i.e.static AttributeAttributes. virtualAttribute(AttributeDescription attributeDescription)Returns an empty virtual attribute.static AttributeAttributes. virtualAttribute(AttributeDescription attributeDescription, Supplier<Collection<?>> attributeValuesSupplier)Returns a virtual attribute whose values will be supplied by providedSupplier.Methods in org.forgerock.opendj.ldap that return types with arguments of type Attribute Modifier and Type Method Description Iterable<Attribute>AbstractMapEntry. getAllAttributes()Iterable<Attribute>Entries.NullEntry. getAllAttributes()Iterable<Attribute>Entry. getAllAttributes()Returns anIterablecontaining all of the attributes in this entry.default Iterable<Attribute>Entry. getAllAttributes(String attributeDescription)Returns anIterablecontaining all the attributes in this entry having an attribute description which is a sub-type of the provided attribute description.default Iterable<Attribute>Entry. getAllAttributes(AttributeDescription attributeDescription)Returns anIterablecontaining all the attributes in this entry having an attribute description which is a sub-type of the provided attribute description.Iterable<Attribute>TreeMapEntry. getAllAttributes(AttributeDescription attributeDescription)Function<AttributeDescription,Attribute>DecodeOptions. getAttributeFactory()Returns the function which will be used for creating newAttributeinstances when decoding attributes.Methods in org.forgerock.opendj.ldap with parameters of type Attribute Modifier and Type Method Description booleanAbstractMapEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)booleanEntries.NullEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)default booleanEntry. addAttribute(Attribute attribute)Ensures that this entry contains the provided attribute and values (optional operation).default booleanEntry. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)Ensures that this entry contains the provided attribute and values (optional operation).AttributeAbstractMapEntry. addAttributeIfAbsent(Attribute attribute)default AttributeEntry. addAttributeIfAbsent(Attribute attribute)Adds the provided attribute if it is not already present in this Entry and returnsnull.default booleanEntry. containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues)Returnstrueif this entry contains all of the attribute values contained inattribute.AttributeAbstractMapEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)default AttributeEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)Adds the provided attribute if it is not already present in this Entry.static AttributeParserAttributeParser. parseAttribute(Attribute attribute)Returns an attribute parser for the provided attribute.booleanAbstractMapEntry. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues)default booleanEntry. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues)Removes all of the attribute values contained inattributefrom this entry if it is present (optional operation).static AttributeAttributes. renameAttribute(Attribute attribute, String attributeDescription)Returns a view ofattributehaving a different attribute description.static AttributeAttributes. renameAttribute(Attribute attribute, AttributeDescription attributeDescription)Returns a view ofattributehaving a different attribute description.booleanAbstractMapEntry. replaceAttribute(Attribute attribute)default booleanEntry. replaceAttribute(Attribute attribute)Adds all of the attribute values contained inattributeto this entry, replacing any existing attribute values (optional operation).static AttributeAttributes. unmodifiableAttribute(Attribute attribute)Returns a read-only view ofattribute.static AttributeAttributes. virtualAttribute(Attribute attribute)Returns a view ofattributethat is virtual, i.e.Method parameters in org.forgerock.opendj.ldap with type arguments of type Attribute Modifier and Type Method Description MemoryBackendMemoryBackend. addVirtualAttributes(AttributeDescription attributeDescription, BiFunction<Dn,MemoryBackend,Attribute> virtualAttributeFactory)Adds a virtual attribute to the backend.AttributeFilterAttributeFilter. filterAttributes(Predicate<Attribute> filter)Registers a predicate which should be applied to attributes selected by this attribute filter.AttributeFilterAttributeFilter. mapAttributes(Function<Attribute,Attribute> mapper)Registers a mapping function which should be applied to attributes selected by this attribute filter.AttributeFilterAttributeFilter. mapAttributes(Function<Attribute,Attribute> mapper)Registers a mapping function which should be applied to attributes selected by this attribute filter.AttributeAbstractMapEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)AttributeAbstractMapEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)AttributeAbstractMapEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)default AttributeEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)Adds the provided attribute if it is not already present in this Entry.default AttributeEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)Adds the provided attribute if it is not already present in this Entry.default AttributeEntry. mergeAttribute(Attribute attribute, BiFunction<? super Attribute,? super Attribute,? extends Attribute> mergeFunction)Adds the provided attribute if it is not already present in this Entry.DecodeOptionsDecodeOptions. setAttributeFactory(Function<AttributeDescription,Attribute> factory)Sets the function which will be used for creating newAttributeinstances when decoding attributes.Constructors in org.forgerock.opendj.ldap with parameters of type Attribute Constructor Description LinkedAttribute(Attribute attribute)Creates a new attribute having the same attribute description and attribute values asattribute.Modification(ModificationType modificationType, Attribute attribute)Creates a new modification having the provided modification type and attribute values to be updated. -
Uses of Attribute in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return types with arguments of type Attribute Modifier and Type Method Description Function<Attribute,Attribute>MatchedValuesRequestControl. keepMatchedValues(Schema schema)Returns a mapping function which, given an attribute, returns a new attribute containing only the values matching the filters defined in this control, or an empty attribute if none of the values match.Function<Attribute,Attribute>MatchedValuesRequestControl. keepMatchedValues(Schema schema)Returns a mapping function which, given an attribute, returns a new attribute containing only the values matching the filters defined in this control, or an empty attribute if none of the values match. -
Uses of Attribute in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return Attribute Modifier and Type Method Description AttributeAddRequest. getAttribute(String attributeDescription)AttributeAddRequest. getAttribute(AttributeDescription attributeDescription)Methods in org.forgerock.opendj.ldap.messages that return types with arguments of type Attribute Modifier and Type Method Description Iterable<Attribute>AddRequest. getAllAttributes()Iterable<Attribute>AddRequest. getAllAttributes(String attributeDescription)Iterable<Attribute>AddRequest. getAllAttributes(AttributeDescription attributeDescription)Methods in org.forgerock.opendj.ldap.messages with parameters of type Attribute Modifier and Type Method Description booleanAddRequest. addAttribute(Attribute attribute)booleanAddRequest. addAttribute(Attribute attribute, Collection<? super ByteString> duplicateValues)booleanAddRequest. containsAttribute(Attribute attribute, Collection<? super ByteString> missingValues)booleanAddRequest. removeAttribute(Attribute attribute, Collection<? super ByteString> missingValues)booleanAddRequest. replaceAttribute(Attribute attribute)
-