| 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.load(EntryReader reader,
boolean overwrite)
Reads all of the entries from the provided entry reader and adds them to
the content of this memory backend.
|
| 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 Connections to
EntryReaders. |
class |
EntryGenerator
A template driven entry generator, as used by the make-ldif 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.newEntryCollectionReader(Collection<Entry> entries)
Returns an entry reader over the provided entry collection.
|
static EntryReader |
LDIF.newEntryIteratorReader(Iterator<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 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. |
Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.