Uses of Interface
org.forgerock.opendj.ldap.Entry
Packages that use Entry
Package
Description
Classes and interfaces providing I/O functionality.
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.
Classes and interfaces for core LDAP responses.
Classes and interfaces for constructing and querying LDAP schemas.
Classes and interfaces for reading and writing LDIF.
-
Uses of Entry in org.forgerock.opendj.io
Methods in org.forgerock.opendj.io that return EntryModifier and TypeMethodDescriptionstatic EntryLDAP.readEntry(ASN1Reader reader, DecodeOptions options) Reads the next ASN.1 element from the providedASN1Readeras a anEntry.Methods in org.forgerock.opendj.io with parameters of type EntryModifier and TypeMethodDescriptionstatic voidLDAP.writeEntry(ASN1Writer writer, Entry entry) Writes anEntryto the providedASN1Writer. -
Uses of Entry in org.forgerock.opendj.ldap
Classes in org.forgerock.opendj.ldap that implement EntryModifier and TypeClassDescriptionclassThis class provides a skeletal implementation of theEntryinterface, to minimize the effort required to implement this interface.final classAn implementation of theEntryinterface which uses aLinkedHashMapfor storing attributes.final classAn implementation of theEntryinterface which uses aTreeMapfor storing attributes.Methods in org.forgerock.opendj.ldap that return EntryModifier and TypeMethodDescriptionAbstractEntry.addAttribute(String attributeDescription, Object... values) Entry.addAttribute(String attributeDescription, Object... values) Ensures that this entry contains the provided attribute and values (optional operation).Entry.clearAttributes()Removes all the attributes from this entry (optional operation).AttributeFilter.filteredCopyOf(Entry entry) Returns a modifiable filtered copy of the provided entry.AttributeFilter.filteredViewOf(Entry entry) Returns an unmodifiable filtered view of the provided entry.Returns the named entry contained in this memory backend, ornullif it does not exist.Returns the named entry contained in this memory backend, ornullif it does not exist.RootDSE.getEntry()Returns the entry which backs this Root DSE instance.static EntryBuilds an entry from the provided lines of LDIF.static EntryEntries.modifyEntry(Entry entry, Modification change) Applies the provided modification to an entry.static EntryEntries.modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.static EntryEntries.modifyEntry(Entry entry, ModifyRequest changes) Applies the provided modification request to an entry.static EntryEntries.modifyEntryPermissive(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "permissive" modify semantics.static EntryEntries.modifyEntryStrict(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "strict" modify semantics.Creates an empty entry using the provided distinguished name and no attributes.AbstractEntry.removeAttribute(String attributeDescription, Object... values) Entry.removeAttribute(String attributeDescription, Object... values) Removes all of the attribute values contained invaluesfrom the named attribute in this entry if it is present (optional operation).AbstractEntry.replaceAttribute(String attributeDescription, Object... values) Entry.replaceAttribute(String attributeDescription, Object... values) Adds all of the attribute values contained invaluesto this entry, replacing any existing attribute values (optional operation).Sets the distinguished name of this entry (optional operation).Sets the distinguished name of this entry (optional operation).static EntryEntries.unmodifiableEntry(Entry entry) Returns a read-only view ofentryand its attributes.Methods in org.forgerock.opendj.ldap that return types with arguments of type EntryModifier and TypeMethodDescriptionSortKey.comparator()Returns aComparatorwhich can be used to compare entries using this sort key.static Comparator<Entry> SortKey.comparator(String sortKeys) Returns aComparatorwhich can be used to compare entries using the provided string representation of a list of sort keys.static Comparator<Entry> SortKey.comparator(Collection<SortKey> keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.SortKey.comparator(Schema schema) Returns aComparatorwhich can be used to compare entries using this sort key.static Comparator<Entry> SortKey.comparator(Schema schema, Collection<SortKey> keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry> SortKey.comparator(Schema schema, SortKey... keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry> SortKey.comparator(SortKey... keys) Returns aComparatorwhich can be used to compare entries using the provided list of sort keys.static Comparator<Entry> Entries.compareByName()Returns aComparatorwhich can be used to compare entries by name using the natural order for DN comparisons (parent before children).MemoryBackend.getAll()Returns a collection containing all of the entries in this memory backend.Entries.makeEntries(String... ldifLines) Builds a list of entries from the provided lines of LDIF.Methods in org.forgerock.opendj.ldap with parameters of type EntryModifier and TypeMethodDescriptionAdds the provided entry to the Directory Server.Adds the provided entry to the Directory Server.static booleanEntries.conformsToSchema(Entry entry, Schema schema, SchemaValidationPolicy policy, Collection<org.forgerock.i18n.LocalizableMessage> errorMessages) Returnstrueif the provided entry is valid according to the specified schema and schema validation policy.static booleanEntries.conformsToSchema(Entry entry, SchemaValidationPolicy policy, Collection<org.forgerock.i18n.LocalizableMessage> errorMessages) Returnstrueif the provided entry is valid according to the default schema and schema validation policy.static booleanEntries.containsObjectClass(Entry entry, ObjectClass objectClass) Check if the provided entry contains the provided object class.static booleanEntries.containsObjectClass(Entry entry, Schema schema, ObjectClass objectClass) Check if the provided entry contains the provided object class.static LinkedHashMapEntryLinkedHashMapEntry.deepCopyOfEntry(Entry entry) Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.static TreeMapEntryTreeMapEntry.deepCopyOfEntry(Entry entry) Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.static ModifyRequestEntries.diffEntries(Entry fromEntry, Entry toEntry) Creates a new modify request containing a list of modifications which can be used to transformfromEntryinto entrytoEntry.static ModifyRequestEntries.diffEntries(Entry fromEntry, Entry toEntry, Entries.DiffOptions options) Creates a new modify request containing a list of modifications which can be used to transformfromEntryinto entrytoEntry.AttributeFilter.filteredCopyOf(Entry entry) Returns a modifiable filtered copy of the provided entry.AttributeFilter.filteredViewOf(Entry entry) Returns an unmodifiable filtered view of the provided entry.static Set<ObjectClass> Entries.getObjectClasses(Entry entry) Returns an unmodifiable set containing the object classes associated with the provided entry.static Set<ObjectClass> Entries.getObjectClasses(Entry entry, Schema schema) Returns an unmodifiable set containing the object classes associated with the provided entry.static ObjectClassEntries.getStructuralObjectClass(Entry entry) Returns the structural object class associated with the provided entry, ornullif none was found.static ObjectClassEntries.getStructuralObjectClass(Entry entry, Schema schema) Returns the structural object class associated with the provided entry, ornullif none was found.Indicates whether thisFiltermatches the providedEntryusing the default schema.Indicates whether this filterMatchermatches the providedEntry.static EntryEntries.modifyEntry(Entry entry, Modification change) Applies the provided modification to an entry.static EntryEntries.modifyEntry(Entry entry, Modification change, Collection<? super ByteString> conflictingValues) Applies the provided modification to an entry.static EntryEntries.modifyEntry(Entry entry, ModifyRequest changes) Applies the provided modification request to an entry.static EntryEntries.modifyEntryPermissive(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "permissive" modify semantics.static EntryEntries.modifyEntryStrict(Entry entry, Collection<Modification> changes) Applies the provided modifications to an entry using "strict" modify semantics.static StringReturns the LDIF representation ofentry.static EntryEntries.unmodifiableEntry(Entry entry) Returns a read-only view ofentryand its attributes.static RootDSECreates a new Root DSE instance backed by the provided entry.Constructors in org.forgerock.opendj.ldap with parameters of type EntryModifierConstructorDescriptionLinkedHashMapEntry(Entry entry) Creates an entry having the same distinguished name, attributes, and object classes of the provided entry.TreeMapEntry(Entry entry) Creates an entry having the same distinguished name, attributes, and object classes of the provided entry. -
Uses of Entry in org.forgerock.opendj.ldap.controls
Methods in org.forgerock.opendj.ldap.controls that return EntryModifier and TypeMethodDescriptionPostReadResponseControl.getEntry()Returns an unmodifiable entry whose contents reflect the state of the updated entry immediately after the update operation was performed.PreReadResponseControl.getEntry()Returns an unmodifiable entry whose contents reflect the state of the updated entry immediately before the update operation was performed.Methods in org.forgerock.opendj.ldap.controls with parameters of type EntryModifier and TypeMethodDescriptionstatic PostReadResponseControlPostReadResponseControl.newControl(Entry entry) Creates a new post-read response control.static PreReadResponseControlPreReadResponseControl.newControl(Entry entry) Creates a new pre-read response control. -
Uses of Entry in org.forgerock.opendj.ldap.requests
Subinterfaces of Entry in org.forgerock.opendj.ldap.requestsModifier and TypeInterfaceDescriptioninterfaceThe Add operation allows a client to request the addition of an entry into the Directory.Methods in org.forgerock.opendj.ldap.requests with parameters of type EntryModifier and TypeMethodDescriptionstatic AddRequestRequests.newAddRequest(Entry entry) Creates a new add request backed by the provided entry.static ModifyRequestRequests.newModifyRequest(Entry fromEntry, Entry toEntry) Creates a new modify request containing a list of modifications which can be used to transformfromEntryinto entrytoEntry. -
Uses of Entry in org.forgerock.opendj.ldap.responses
Subinterfaces of Entry in org.forgerock.opendj.ldap.responsesModifier and TypeInterfaceDescriptioninterfaceA Search Result Entry represents an entry found during a Search operation.Methods in org.forgerock.opendj.ldap.responses with parameters of type EntryModifier and TypeMethodDescriptionstatic SearchResultEntryResponses.newSearchResultEntry(Entry entry) Creates a new search result entry backed by the provided entry. -
Uses of Entry in org.forgerock.opendj.ldap.schema
Methods in org.forgerock.opendj.ldap.schema that return EntryModifier and TypeMethodDescriptionReturns the named entry in order to enforce DIT structure rules.Adds the definitions of all the schema elements contained in this schema to the provided subschema subentry.Methods in org.forgerock.opendj.ldap.schema with parameters of type EntryModifier and TypeMethodDescriptionAdds all of the schema elements contained in the provided subschema subentry to this schema builder.SchemaBuilder.addSchema(Entry entry, boolean overwrite, SchemaBuilder.SchemaBuilderHook hook) Adds all of the schema elements contained in the provided subschema subentry to this schema builder.Adds the definitions of all the schema elements contained in this schema to the provided subschema subentry.booleanSchema.validateEntry(Entry entry, SchemaValidationPolicy policy, Collection<org.forgerock.i18n.LocalizableMessage> errorMessages) Returnstrueif the provided entry is valid according to this schema and the specified schema validation policy.static SchemaParses the provided entry as a subschema subentry.Constructors in org.forgerock.opendj.ldap.schema with parameters of type EntryModifierConstructorDescriptionSchemaBuilder(Entry entry) Creates a new schema builder containing all of the schema elements contained in the provided subschema subentry. -
Uses of Entry in org.forgerock.opendj.ldif
Methods in org.forgerock.opendj.ldif that return EntryModifier and TypeMethodDescriptionRejectedChangeRecordListener.handleDuplicateEntry(AddRequest change, Entry existingEntry) Invoked when an attempt was made to add an entry which already exists.RejectedChangeRecordListener.handleDuplicateEntry(ModifyDNRequest change, Entry existingEntry, Entry renamedEntry) Invoked when an attempt was made to rename an entry which already exists.static EntryBuilds an entry from the provided lines of LDIF.static EntryBuilds an entry from the provided lines of LDIF.EntryGenerator.readEntry()EntryReader.readEntry()Reads the next entry, blocking if necessary until an entry is available.LDIFEntryReader.readEntry()Reads the next entry, blocking if necessary until an entry is available.static EntryLDIFEntryReader.valueOfLDIFEntry(String... ldifLines) Parses the provided array of LDIF lines as a single LDIF entry.Methods in org.forgerock.opendj.ldif that return types with arguments of type EntryModifier and TypeMethodDescriptionLDIF.makeEntries(String... ldifLines) Builds a list of entries from the provided lines of LDIF.LDIF.makeEntries(List<String> ldifLines) Builds a list of entries from the provided lines of LDIF.Methods in org.forgerock.opendj.ldif with parameters of type EntryModifier and TypeMethodDescriptionRejectedChangeRecordListener.handleDuplicateEntry(AddRequest change, Entry existingEntry) Invoked when an attempt was made to add an entry which already exists.RejectedChangeRecordListener.handleDuplicateEntry(ModifyDNRequest change, Entry existingEntry, Entry renamedEntry) Invoked when an attempt was made to rename an entry which already exists.static StringReturns the LDIF representation ofentry.static StringReturns the LDIF string representation of the provided entry.ConnectionEntryWriter.writeEntry(Entry entry) Writes an entry to the underlying connection using an Add request, blocking until the request completes.EntryWriter.writeEntry(Entry entry) Writes an entry.LDIFEntryWriter.writeEntry(Entry entry) Method parameters in org.forgerock.opendj.ldif with type arguments of type EntryModifier and TypeMethodDescriptionstatic EntryReaderLDIF.newEntryCollectionReader(Collection<Entry> entries) Returns an entry reader over the provided entry collection.static EntryReaderLDIF.newEntryIteratorReader(Iterator<Entry> entries) Returns an entry reader over the provided entry iterator.