Package | Description |
---|---|
org.forgerock.opendj.ldap |
Classes and interfaces for core types including connections, entries, and
attributes.
|
org.forgerock.opendj.ldif |
Classes and interfaces for reading and writing LDIF.
|
Modifier and Type | Method and Description |
---|---|
MemoryBackend |
MemoryBackend.loadNoOverwrite(EntryReader reader)
Reads all of the entries from the provided entry reader and adds them to
the content of this memory backend.
|
MemoryBackend |
MemoryBackend.loadOverwrite(EntryReader reader)
Reads all of the entries from the provided entry reader and adds them to
the content of this memory backend replacing any existing entries having
the same name.
|
Constructor and Description |
---|
MemoryBackend(EntryReader reader)
Creates a new memory backend which will use the default schema, and will
contain the entries read from the provided entry reader.
|
MemoryBackend(Schema schema,
EntryReader reader)
Creates a new memory backend which will use the provided schema, and will
contain the entries read from the provided entry reader.
|
Modifier and Type | Class and Description |
---|---|
class |
ConnectionEntryReader
A
ConnectionEntryReader is a bridge from Connection s to
EntryReader s. |
class |
EntryGenerator
A template driven entry generator, as used by the makeldif tool.
|
class |
LdifEntryReader
An LDIF entry reader reads attribute value records (entries) using the LDAP
Data Interchange Format (LDIF) from a user defined source.
|
Modifier and Type | Method and Description |
---|---|
static EntryReader |
Ldif.newEntryReader(Iterable<? extends Entry> entries)
Returns an entry reader over the provided entry collection.
|
static EntryReader |
Ldif.newEntryReader(Iterator<? extends Entry> entries)
Returns an entry reader over the provided entry iterator.
|
static EntryReader |
Ldif.patch(EntryReader input,
ChangeRecordReader patch)
Applies the set of changes contained in
patch to the content of
input and returns the result in an entry reader. |
static EntryReader |
Ldif.patch(EntryReader input,
ChangeRecordReader patch,
RejectedChangeRecordListener listener)
Applies the set of changes contained in
patch to the content of
input and returns the result in an entry reader. |
static EntryReader |
Ldif.search(EntryReader input,
SearchRequest search)
Returns a filtered view of
input containing only those entries
which match the search base DN, scope, and filtered defined in
search . |
static EntryReader |
Ldif.search(EntryReader input,
SearchRequest search,
Schema schema)
Returns a filtered view of
input containing only those entries
which match the search base DN, scope, and filtered defined in
search . |
Modifier and Type | Method and Description |
---|---|
static EntryWriter |
Ldif.copyTo(EntryReader input,
EntryWriter output)
Copies the content of
input to output . |
static ChangeRecordReader |
Ldif.diff(EntryReader source,
EntryReader target)
Compares the content of
source to the content of target
and returns the differences in a change record reader. |
static ChangeRecordReader |
Ldif.diff(EntryReader source,
EntryReader target,
Options options)
Compares the content of
source to the content of target
and returns the differences in a change record reader. |
static EntryReader |
Ldif.patch(EntryReader input,
ChangeRecordReader patch)
Applies the set of changes contained in
patch to the content of
input and returns the result in an entry reader. |
static EntryReader |
Ldif.patch(EntryReader input,
ChangeRecordReader patch,
RejectedChangeRecordListener listener)
Applies the set of changes contained in
patch to the content of
input and returns the result in an entry reader. |
static EntryReader |
Ldif.search(EntryReader input,
SearchRequest search)
Returns a filtered view of
input containing only those entries
which match the search base DN, scope, and filtered defined in
search . |
static EntryReader |
Ldif.search(EntryReader input,
SearchRequest search,
Schema schema)
Returns a filtered view of
input containing only those entries
which match the search base DN, scope, and filtered defined in
search . |
Modifier and Type | Method and Description |
---|---|
static io.reactivex.Flowable<Entry> |
Ldif.newEntryPublisher(Callable<? extends EntryReader> factory)
Returns a
Flowable view of a EntryReader , creating a new reader for each subscriber. |
Copyright © 2010-2018, ForgeRock All Rights Reserved.