Uses of Class
org.forgerock.opendj.ldap.AttributeDescription
Packages that use AttributeDescription
Package
Description
Classes and interfaces for core types including connections, entries, and
attributes.
Classes and interfaces for common LDAP controls.
Classes and interfaces for core LDAP requests/responses.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
APIs for implementing REST to LDAP gateways.
Contains a number of API declarations for use throughout the Directory Server.
Contains various classes that comprise the core of the Directory Server codebase.
Contains various implementations of Directory Server APIs that are not appropriate for other packages.
This package contains the part of the Multi-master replication code that works on the Directory Server side.
Contains implementations for a number of Directory Server data types.
Contains a number of interfaces that are implemented by the various types of Directory Server operations.
-
Uses of AttributeDescription in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap with type parameters of type AttributeDescriptionModifier and TypeClassDescriptionclassAbstractMapEntry<M extends Map<AttributeDescription,Attribute>> Abstract implementation forMapbased entries.Methods in org.forgerock.opendj.ldap that return AttributeDescriptionModifier and TypeMethodDescriptionAttributeParser.asAttributeDescription()Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ornullif the attribute does not contain any values.AttributeParser.asAttributeDescription(String defaultValue) Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.AttributeParser.asAttributeDescription(AttributeDescription defaultValue) Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.SortKey.SortComparator.attributeDescription()Returns the attribute description derived from theSortKey.getAttributeDescription()string.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.Attribute.getAttributeDescription()Returns the attribute description of this attribute, which includes its attribute type and any options.LinkedAttribute.getAttributeDescription()Matcher.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 AttributeDescriptionParses the provided LDAP string representation of an attribute description using the default schema.static AttributeDescriptionParses the provided LDAP string representation of an attribute description using the provided schema.AttributeDescription.withOption(String option) Returns an attribute description having the same attribute type and options as this attribute description as well as the provided option.AttributeDescription.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.AttributeDescription.withOptions(String... options) Returns an attribute description having the same attribute type and options as this attribute description as well as the provided options.AttributeDescription.withoutAnyOptions()Returns an attribute description having the same attribute type as this attribute description except that all options has been removed.AttributeDescription.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 AttributeDescriptionModifier and TypeMethodDescriptionAttributeParser.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.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.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.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.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 AttributeDescriptionModifier and TypeMethodDescriptionMemoryBackend.addVirtualAttributes(AttributeDescription attributeDescription, BiFunction<Dn, MemoryBackend, Attribute> virtualAttributeFactory) Adds a virtual attribute to the backend.AttributeParser.asAttributeDescription(AttributeDescription defaultValue) Returns the first value decoded as anAttributeDescriptionusing the schema associated with this parser, ordefaultValueif the attribute does not contain any values.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.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.TreeMapEntry.getAllAttributes(AttributeDescription attributeDescription) final 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.AttributeFilter.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.static LinkedAttributeLinkedAttribute.newPreSizedLinkedAttribute(AttributeDescription attributeDescription, int expectedValues) Creates a new attribute having the specified attribute description and expected number of values.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 AttributeDescriptionModifier and TypeMethodDescriptionAttributeParser.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.DecodeOptions.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 AttributeDescriptionModifierConstructorDescriptionLinkedAttribute(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 AttributeDescriptionModifier and TypeMethodDescriptionServerSideSortResponseControl.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 AttributeDescriptionModifier and TypeMethodDescriptionCompareRequest.getAttributeDescription()Returns the name of the attribute to be compared.Methods in org.forgerock.opendj.ldap.messages with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionbooleanAddRequest.containsAnyAttributes(AttributeDescription attributeDescription) booleanAddRequest.containsAttribute(AttributeDescription attributeDescription, Object... values) AddRequest.getAllAttributes(AttributeDescription attributeDescription) AddRequest.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.AddRequest.parseAttribute(AttributeDescription attributeDescription) booleanAddRequest.removeAttribute(AttributeDescription attributeDescription) CompareRequest.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 AttributeDescriptionModifier and TypeMethodDescriptionAttributeType.toAttributeDescription()Returns the option-less attribute description corresponding to this attribute type.Methods in org.forgerock.opendj.ldap.schema with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionIndexQueryFactory.createExactMatchQuery(AttributeDescription attributeDescription, String indexId, ByteString key) Returns a query requesting an index record matching the provided key.IndexQueryFactory.createMatchAllQuery(AttributeDescription attributeDescription) Returns a query requesting all index records.IndexQueryFactory.createRangeMatchQuery(AttributeDescription attributeDescription, String indexId, ByteString lower, ByteString upper, boolean lowerIncluded, boolean upperIncluded) Returns a query requesting all index records in the specified range.IndexQueryFactory.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 AttributeDescriptionModifier and TypeMethodDescriptionLdifChangeRecordReader.setExcludeAttribute(AttributeDescription attributeDescription) Excludes the named attribute from any change records that are read from LDIF.LdifChangeRecordWriter.setExcludeAttribute(AttributeDescription attributeDescription) Excludes the named attribute from any change records that are written to LDIF.LdifEntryReader.setExcludeAttribute(AttributeDescription attributeDescription) Excludes the named attribute from any entries that are read from LDIF.LdifEntryWriter.setExcludeAttribute(AttributeDescription attributeDescription) Excludes the named attribute from any entries that are written to LDIF.LdifChangeRecordReader.setIncludeAttribute(AttributeDescription attributeDescription) Ensures that the named attribute is not excluded from any change records that are read from LDIF.LdifChangeRecordWriter.setIncludeAttribute(AttributeDescription attributeDescription) Ensures that the named attribute is not excluded from any change records that are written to LDIF.LdifEntryReader.setIncludeAttribute(AttributeDescription attributeDescription) Ensures that the named attribute is not excluded from any entries that are read from LDIF.LdifEntryWriter.setIncludeAttribute(AttributeDescription attributeDescription) Ensures that the named attribute is not excluded from any entries that are written to LDIF. -
Uses of AttributeDescription in org.forgerock.opendj.rest2ldap
Methods in org.forgerock.opendj.rest2ldap with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionstatic JsonPropertyMapperRest2Ldap.json(AttributeDescription mappedLdapAttribute) Returns a property mapper which provides a mapping from a JSON value to a LDAP attribute having the JSON syntax.static AbstractResourceReferencePropertyMapper<?>Rest2Ldap.reference(AttributeDescription mappedLdapAttribute, String resourcePath) Returns a property mapper which provides a mapping from a JSON value to a DN valued LDAP attribute.static InlineResourcePropertyMapperRest2Ldap.reference(AttributeDescription mappedLdapAttribute, String baseDnTemplate, AttributeDescription primaryKey, ObjectPropertyMapper mapper, String jsonPropertyName) Returns a property mapper which provides a mapping from a JSON value to a single DN valued LDAP attribute.static SimplePropertyMapperRest2Ldap.simple(AttributeDescription mappedLdapAttribute) Returns a property mapper which provides a simple mapping from a JSON value to a single LDAP attribute. -
Uses of AttributeDescription in org.opends.server.api
Methods in org.opends.server.api with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionabstract AttributeVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) Generates an unmodifiable attribute with the values for the provided entry.protected static longAuthenticationPolicyState.getGeneralizedTime(Entry entry, AttributeDescription attrDesc) A utility method which may be used by implementations in order to obtain the value of the specified attribute from the provided entry as a time in generalized time format.booleanVirtualAttributeProvider.tryProcessSearch(AttributeDescription attributeDescription, RequestContext context, SearchRequest request, Predicate<SearchResultEntry> out) Attempts to process the provided search operation using this virtual attribute, returntrueif it was successful. -
Uses of AttributeDescription in org.opends.server.core
Methods in org.opends.server.core that return AttributeDescriptionMethods in org.opends.server.core with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionvoidCompareOperation.setAttributeDescription(AttributeDescription attributeDescription) -
Uses of AttributeDescription in org.opends.server.extensions
Methods in org.opends.server.extensions with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionCollectiveAttributeSubentriesVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) EntityTagVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) EntryDNVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) EntryUUIDVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) GoverningStructureRuleVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) HasSubordinatesVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) IsMemberOfVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) MemberVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) NumSubordinatesVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) PasswordExpirationTimeVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) PasswordPolicySubentryVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) StructuralObjectClassVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) SubschemaSubentryVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) UserDefinedVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attrDesc) UserTemplateVirtualAttributeProvider.getAttribute(Entry entry, AttributeDescription attributeDescription) booleanIsMemberOfVirtualAttributeProvider.tryProcessSearch(AttributeDescription attributeDescription, RequestContext context, SearchRequest request, Predicate<SearchResultEntry> out) Attempts to process the provided search operation using this virtual attribute, returntrueif it was successful. -
Uses of AttributeDescription in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin that return AttributeDescriptionMethods in org.opends.server.replication.plugin that return types with arguments of type AttributeDescriptionModifier and TypeMethodDescriptionEntryHistorical.getAllAttrHistorical()Returns the historical information for all attributes.Methods in org.opends.server.replication.plugin with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionvoidEntryHistorical.addAttrHistoricalAddValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided add modification.voidEntryHistorical.addAttrHistoricalDeleteAttr(AttributeDescription attributeDescription, CSN csn) Updates this entry historical information with the provided delete attribute modification.voidEntryHistorical.addAttrHistoricalDeleteValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided delete modification.voidEntryHistorical.addAttrHistoricalReplaceValue(AttributeDescription attributeDescription, CSN csn, ByteString value) Updates this entry historical information with the provided replace modification.EntryHistorical.getAttrHistorical(AttributeDescription attributeDescription) Returns the historical information for the named attribute. -
Uses of AttributeDescription in org.opends.server.types
Methods in org.opends.server.types that return AttributeDescriptionModifier and TypeMethodDescriptionCompactAttribute.getAttributeDescription()VirtualAttributeRule.getAttributeDescription()Retrieves the attribute description for which the values should be generated.Methods in org.opends.server.types that return types with arguments of type AttributeDescriptionModifier and TypeMethodDescriptionSubEntry.getInheritedCollectiveAttributes()Getter for inherited collective attributes mappings.SubEntry.getInheritedCollectiveAttributes()Getter for inherited collective attributes mappings.Methods in org.opends.server.types with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionstatic CompactAttributeCompactAttribute.decodeValues(AttributeDescription attributeDescription, int size, ByteStringReader encodedValues) Returns a new compact read-only attribute with the provided attribute description, size andencoded values.Constructors in org.opends.server.types with parameters of type AttributeDescriptionModifierConstructorDescriptionCompactAttribute(AttributeDescription attributeDescription, Collection<?> values) Creates a compact read-only attribute with the provided attribute description and values. -
Uses of AttributeDescription in org.opends.server.types.operation
Methods in org.opends.server.types.operation that return AttributeDescriptionModifier and TypeMethodDescriptionPostOperationCompareOperation.getAttributeDescription()Retrieves the attribute description for this compare operation.PostResponseCompareOperation.getAttributeDescription()Retrieves the attribute description for this compare operation.PreOperationCompareOperation.getAttributeDescription()Retrieves the attribute description for this compare operation.PreParseCompareOperation.getAttributeDescription()Retrieves the attribute description for this compare operation.Methods in org.opends.server.types.operation with parameters of type AttributeDescriptionModifier and TypeMethodDescriptionvoidPreParseCompareOperation.setAttributeDescription(AttributeDescription attributeDescription) Specifies the attribute description for this compare operation.