Uses of Class
org.forgerock.opendj.ldap.AttributeDescription
-
Packages that use AttributeDescription Package Description 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.org.forgerock.opendj.ldap.schema Classes and interfaces for constructing and querying LDAP schemas.org.forgerock.opendj.ldif Classes and interfaces for reading and writing LDIF. -
-
Uses of AttributeDescription in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap with type parameters of type AttributeDescription Modifier and Type Class Description classAbstractMapEntry<M extends Map<AttributeDescription,Attribute>>Abstract implementation forMapbased entries.Methods in org.forgerock.opendj.ldap that return AttributeDescription Modifier and Type Method Description AttributeDescriptionAttributeParser. asAttributeDescription()Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ornullif the attribute does not contain any values.AttributeDescriptionAttributeParser. asAttributeDescription(String defaultValue)Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.AttributeDescriptionAttributeParser. asAttributeDescription(AttributeDescription defaultValue)Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.static AttributeDescriptionFunctions. byteStringToAttributeDescription(ByteString value, Schema schema)Parses aByteStringas anAttributeDescriptionusing the provided schema.static AttributeDescriptionAttributeDescription. create(String attributeName, AttributeType attributeType)Creates an attribute description having the provided attribute name, type and no options.static AttributeDescriptionAttributeDescription. create(AttributeType attributeType)Creates an attribute description having the provided attribute type and no options.static AttributeDescriptionAttributeDescription. create(AttributeType attributeType, String option)Creates an attribute description having the provided attribute type and single option.static AttributeDescriptionAttributeDescription. create(AttributeType attributeType, String... options)Creates an attribute description having the provided attribute type and options.static AttributeDescriptionAttributeDescription. create(AttributeType attributeType, Collection<String> options)Creates an attribute description having the provided attribute type and options.AttributeDescriptionAttribute. getAttributeDescription()Returns the attribute description of this attribute, which includes its attribute type and any options.AttributeDescriptionLinkedAttribute. getAttributeDescription()AttributeDescriptionMatcher. getAttributeDescription()Returns the attribute description for this comparison filterMatcher, which may benullif the filter is an extensible match filter specifying an extensible matching rule.static AttributeDescriptionAttributeDescription. maxKey(AttributeType attributeType)Returns an attribute description having the provided attribute type and a set of options which sorts after any other set of options.static AttributeDescriptionAttributeDescription. objectClass()Returns an attribute description representing the object class attribute type with no options.static AttributeDescriptionAttributeDescription. valueOf(String attributeDescription)Parses the provided LDAP string representation of an attribute description using the default schema.static AttributeDescriptionAttributeDescription. valueOf(String attributeDescription, Schema schema)Parses the provided LDAP string representation of an attribute description using the provided schema.AttributeDescriptionAttributeDescription. withOption(String option)Returns an attribute description having the same attribute type and options as this attribute description as well as the provided option.AttributeDescriptionAttributeDescription. withOptions(Iterable<String> options)Returns an attribute description having the same attribute type and options as this attribute description as well as the provided options.AttributeDescriptionAttributeDescription. withOptions(String... options)Returns an attribute description having the same attribute type and options as this attribute description as well as the provided options.AttributeDescriptionAttributeDescription. withoutAnyOptions()Returns an attribute description having the same attribute type as this attribute description except that all options has been removed.AttributeDescriptionAttributeDescription. withoutOption(String option)Returns an attribute description having the same attribute type and options as this attribute description except for the provided option.Methods in org.forgerock.opendj.ldap that return types with arguments of type AttributeDescription Modifier and Type Method Description Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription()Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, or an empty set if the attribute does not contain any values.Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription(String... defaultValues)Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, ordefaultValuesif the attribute does not contain any values.Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription(Collection<AttributeDescription> defaultValues)Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, ordefaultValuesif the attribute does not contain any values.Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription(AttributeDescription... defaultValues)Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, ordefaultValuesif the attribute does not contain any values.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 AttributeDescription Modifier and Type Method Description MemoryBackendMemoryBackend. addVirtualAttributes(AttributeDescription attributeDescription, BiFunction<Dn,MemoryBackend,Attribute> virtualAttributeFactory)Adds a virtual attribute to the backend.AttributeDescriptionAttributeParser. asAttributeDescription(AttributeDescription defaultValue)Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription(AttributeDescription... defaultValues)Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, ordefaultValuesif the attribute does not contain any values.intAttributeDescription. compareTo(AttributeDescription other)Compares this attribute description to the provided attribute description.default booleanEntry. containsAnyAttributes(AttributeDescription attributeDescription)Returnstrueif this entry contains any non-empty attributes having an attribute description which is a sub-type of the provided attribute description.booleanTreeMapEntry. containsAnyAttributes(AttributeDescription attributeDescription)default booleanEntry. containsAttribute(AttributeDescription attributeDescription, Object... values)Returnstrueif this entry contains all of the attribute values contained invalues.<T> TAssertion. createIndexQuery(AttributeDescription attributeDescription, IndexQueryFactory<T> factory)Returns an index query appropriate for the provided attribute value assertion.static AttributeAttributes. emptyAttribute(AttributeDescription attributeDescription)Returns a read-only empty attribute having the specified 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)AttributeAbstractMapEntry. getAttribute(AttributeDescription attributeDescription)default AttributeEntry. getAttribute(AttributeDescription attributeDescription)Returns the named attribute contained in this entry, ornullif it is not included with this entry.AttributeFilterAttributeFilter. includeAttribute(AttributeDescription attributeDescription)Specifies that the named attribute should be included in filtered entries.booleanAttributeDescription. isSubTypeOf(AttributeDescription other)Indicates whether this attribute description is a sub-type of the provided attribute description as defined in RFC 4512 section 2.5.booleanAttributeDescription. isSuperTypeOf(AttributeDescription other)Indicates whether this attribute description is a super-type of the provided attribute description as defined in RFC 4512 section 2.5.booleanAttributeDescription. matches(AttributeDescription other)Indicates whether the provided attribute description matches this attribute description.booleanAttributeFilter. matchesAttribute(AttributeDescription attributeDescription)Returnstrueif this attribute filter matches the provided attribute description.default AttributeParserEntry. parseAttribute(AttributeDescription attributeDescription)Returns a parser for the named attribute contained in this entry.default booleanEntry. removeAttribute(AttributeDescription attributeDescription)Removes the named attribute from this entry if it is present (optional operation).static AttributeAttributes. renameAttribute(Attribute attribute, AttributeDescription attributeDescription)Returns a view ofattributehaving a different attribute description.static AttributeAttributes. singletonAttribute(AttributeDescription attributeDescription, Object value)Returns a read-only single-valued attribute having the specified attribute description and value.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.Method parameters in org.forgerock.opendj.ldap with type arguments of type AttributeDescription Modifier and Type Method Description Set<AttributeDescription>AttributeParser. asSetOfAttributeDescription(Collection<AttributeDescription> defaultValues)Returns the values decoded as a set ofAttributeDescriptions using the schema associated with this parser, ordefaultValuesif the attribute does not contain any values.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 AttributeDescription Constructor Description LinkedAttribute(AttributeDescription attributeDescription)Creates a new attribute having the specified attribute description and no attribute values.LinkedAttribute(AttributeDescription attributeDescription, Object value)Creates a new attribute having the specified attribute description and single attribute value.LinkedAttribute(AttributeDescription attributeDescription, Object... values)Creates a new attribute having the specified attribute description and attribute values.LinkedAttribute(AttributeDescription attributeDescription, Collection<?> values)Creates a new attribute having the specified attribute description and attribute values.SortKey(AttributeDescription attributeDescription, boolean isReverseOrder, MatchingRule orderingMatchingRule)Creates a new sort key using the provided attribute description. -
Uses of AttributeDescription in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls with parameters of type AttributeDescription Modifier and Type Method Description static ServerSideSortResponseControlServerSideSortResponseControl. newControl(ResultCode result, AttributeDescription attributeDescription)Creates a new server-side response control with the provided sort result and attribute description. -
Uses of AttributeDescription in org.forgerock.opendj.ldap.messages
Methods in org.forgerock.opendj.ldap.messages that return AttributeDescription Modifier and Type Method Description AttributeDescriptionCompareRequest. getAttributeDescription()Returns the name of the attribute to be compared.Methods in org.forgerock.opendj.ldap.messages with parameters of type AttributeDescription Modifier and Type Method Description Iterable<Attribute>AddRequest. getAllAttributes(AttributeDescription attributeDescription)AttributeAddRequest. getAttribute(AttributeDescription attributeDescription)static CompareRequestRequests. newCompareRequest(Dn name, AttributeDescription attributeDescription, Object assertionValue)Creates a new compare request using the provided distinguished name, attribute name, and assertion value.booleanAddRequest. removeAttribute(AttributeDescription attributeDescription)CompareRequestCompareRequest. setAttributeDescription(AttributeDescription attributeDescription)Sets the name of the attribute to be compared. -
Uses of AttributeDescription in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return AttributeDescription Modifier and Type Method Description AttributeDescriptionAttributeType. toAttributeDescription()Returns the option-less attribute description corresponding to this attribute type.Methods in org.forgerock.opendj.ldap.schema with parameters of type AttributeDescription Modifier and Type Method Description TIndexQueryFactory. createExactMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence key)Returns a query requesting an index record matching the provided key.TIndexQueryFactory. createMatchAllQuery(AttributeDescription attributeDescription)Returns a query requesting all index records.TIndexQueryFactory. createRangeMatchQuery(AttributeDescription attributeDescription, String indexId, ByteSequence lower, ByteSequence upper, boolean lowerIncluded, boolean upperIncluded)Returns a query requesting all index records in the specified range.IndexingOptionsIndexQueryFactory. getIndexingOptionsOrNull(AttributeDescription attributeDescription)Returns the indexing options for the provided attribute, ornullif the attribute is not indexed. -
Uses of AttributeDescription in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif with parameters of type AttributeDescription Modifier and Type Method Description LdifChangeRecordReaderLdifChangeRecordReader. setExcludeAttribute(AttributeDescription attributeDescription)Excludes the named attribute from any change records that are read from LDIF.LdifChangeRecordWriterLdifChangeRecordWriter. setExcludeAttribute(AttributeDescription attributeDescription)Excludes the named attribute from any change records that are written to LDIF.LdifEntryReaderLdifEntryReader. setExcludeAttribute(AttributeDescription attributeDescription)Excludes the named attribute from any entries that are read from LDIF.LdifEntryWriterLdifEntryWriter. setExcludeAttribute(AttributeDescription attributeDescription)Excludes the named attribute from any entries that are written to LDIF.LdifChangeRecordReaderLdifChangeRecordReader. setIncludeAttribute(AttributeDescription attributeDescription)Ensures that the named attribute is not excluded from any change records that are read from LDIF.LdifChangeRecordWriterLdifChangeRecordWriter. setIncludeAttribute(AttributeDescription attributeDescription)Ensures that the named attribute is not excluded from any change records that are written to LDIF.LdifEntryReaderLdifEntryReader. setIncludeAttribute(AttributeDescription attributeDescription)Ensures that the named attribute is not excluded from any entries that are read from LDIF.LdifEntryWriterLdifEntryWriter. setIncludeAttribute(AttributeDescription attributeDescription)Ensures that the named attribute is not excluded from any entries that are written to LDIF.
-