Package | Description |
---|---|
org.infinispan.schematic | |
org.infinispan.schematic.document | |
org.infinispan.schematic.internal | |
org.infinispan.schematic.internal.document | |
org.infinispan.schematic.internal.schema | |
org.modeshape.connector.filesystem | |
org.modeshape.connector.git | |
org.modeshape.connector.meta.jdbc | |
org.modeshape.jcr | |
org.modeshape.jcr.cache.document | |
org.modeshape.jcr.federation | |
org.modeshape.jcr.federation.spi |
This package provides a Service Provider Interface (SPI) for connectors to external systems.
|
Modifier and Type | Class and Description |
---|---|
protected static class |
Schematic.EditorImpl |
Modifier and Type | Method and Description |
---|---|
Document |
SchematicEntry.asDocument()
|
Document |
SchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
Document |
SchemaLibrary.convertValues(Document document,
String schemaUri)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
Document |
DocumentLibrary.get(String key)
Get the document with the supplied key.
|
Document |
SchematicEntry.getContentAsDocument()
Get this value's content, if it is a Document object.
|
Document |
SchematicEntry.getMetadata()
Get the metadata associated with this value.
|
Document |
DocumentLibrary.put(String key,
Document document)
Store the supplied document at the given key.
|
Document |
DocumentLibrary.putIfAbsent(String key,
Document document)
Store the supplied document at the given key.
|
Document |
DocumentLibrary.remove(String key)
Remove the existing document at the given key.
|
Document |
DocumentLibrary.replace(String key,
Document document)
Replace the existing document at the given key with the document that is supplied.
|
Modifier and Type | Method and Description |
---|---|
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.getAsync(String key)
Asynchronous version of
DocumentLibrary.get(String) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.putAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.put(String, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.putIfAbsentAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.putIfAbsent(String, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.removeAsync(String key)
Asynchronous version of
DocumentLibrary.remove(String) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.replaceAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.replace(String, Document) . |
Modifier and Type | Method and Description |
---|---|
Document |
SchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
Document |
SchemaLibrary.convertValues(Document document,
String schemaUri)
Look for fields within the document (including nested documents) whose values are not of the expected type for the given
schema, but whose values can be converted into the expected type.
|
static Editor |
Schematic.editDocument(Document document,
boolean clone)
Obtain an editor for the supplied document.
|
static EditableDocument |
DocumentFactory.newDocument(Document original)
Create a new editable document that is a copy of the supplied document.
|
SchematicEntry |
SchematicDb.put(Document entryDocument)
Store the supplied document and metadata at the given key.
|
SchematicEntry |
SchematicDb.put(String key,
Binary binaryContent,
Document metadata)
Store the supplied binary value and metadata at the given key.
|
Document |
DocumentLibrary.put(String key,
Document document)
Store the supplied document at the given key.
|
SchematicEntry |
SchematicDb.put(String key,
Document document,
Document metadata)
Store the supplied document and metadata at the given key.
|
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.putAsync(String key,
Binary binaryContent,
Document metadata)
Asynchronous version of
SchematicDb.put(String, Binary, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.putAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.put(String, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.putAsync(String key,
Document document,
Document metadata)
Asynchronous version of
SchematicDb.put(String, Document, Document) . |
SchematicEntry |
SchematicDb.putIfAbsent(Document entryDocument)
Store the supplied document and metadata at the given key.
|
SchematicEntry |
SchematicDb.putIfAbsent(String key,
Binary binaryContent,
Document metadata)
Store the supplied document and metadata at the given key.
|
Document |
DocumentLibrary.putIfAbsent(String key,
Document document)
Store the supplied document at the given key.
|
SchematicEntry |
SchematicDb.putIfAbsent(String key,
Document document,
Document metadata)
Store the supplied document and metadata at the given key.
|
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.putIfAbsentAsync(String key,
Binary binaryContent,
Document metadata)
Asynchronous version of
SchematicDb.putIfAbsent(String, Binary, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.putIfAbsentAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.putIfAbsent(String, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.putIfAbsentAsync(String key,
Document document,
Document metadata)
Asynchronous version of
SchematicDb.putIfAbsent(String, Document, Document) . |
SchematicEntry |
SchematicDb.replace(String key,
Binary binaryContent,
Document metadata)
Replace the existing document and metadata at the given key with the document that is supplied.
|
Document |
DocumentLibrary.replace(String key,
Document document)
Replace the existing document at the given key with the document that is supplied.
|
SchematicEntry |
SchematicDb.replace(String key,
Document document,
Document metadata)
Replace the existing document and metadata at the given key with the document that is supplied.
|
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.replaceAsync(String key,
Binary binaryContent,
Document metadata)
Asynchronous version of
SchematicDb.replace(String, Binary, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
DocumentLibrary.replaceAsync(String key,
Document document)
Asynchronous version of
DocumentLibrary.replace(String, Document) . |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
SchematicDb.replaceAsync(String key,
Document document,
Document metadata)
Asynchronous version of
SchematicDb.replace(String, Document, Document) . |
void |
SchematicEntry.setContent(Binary content,
Document metadata,
String defaultContentType)
Set the content for this value to be the supplied
Binary data described by the supplied content type. |
void |
SchematicEntry.setContent(Document content,
Document metadata,
String defaultContentType)
Set the content for this value to be the supplied Document and set the content type to be "
application/json ". |
SchemaLibrary.Results |
SchemaLibrary.validate(Document document,
String schemaUri)
Validate the supplied document against the JSON Schema with the supplied URI.
|
Modifier and Type | Interface and Description |
---|---|
interface |
Array
Primary read-only interface for an in-memory representation of JSON/BSON arrays.
|
interface |
EditableArray |
interface |
EditableDocument |
interface |
Editor |
Modifier and Type | Class and Description |
---|---|
class |
MergeDocument
A
Document implementation that presents the merger of two other documents, where the first document is used before the
second. |
Modifier and Type | Method and Description |
---|---|
Document |
Document.clone()
Obtain a clone of this document.
|
Document |
MergeDocument.getDocument(String name) |
Document |
Document.getDocument(String name)
Get the document value in this document for the given field name.
|
Document |
CodeWithScope.getScope() |
Document |
Document.Field.getValueAsDocument() |
Document |
DocumentSequence.nextDocument()
Get the next document.
|
static Document |
Bson.read(DataInput input)
Read the binary BSON representation from supplied data input and construct the
Document representation. |
static Document |
Json.read(InputStream stream)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
static Document |
Bson.read(InputStream stream)
Read the binary BSON representation from supplied input stream and construct the
Document representation. |
static Document |
Json.read(InputStream stream,
Charset charset)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
static Document |
Json.read(Reader reader)
Read the JSON representation from supplied input stream and construct the
Document representation. |
static Document |
Json.read(String json)
Read the supplied JSON representation and construct the
Document representation. |
static Document |
Json.read(URL url)
Read the JSON representation from supplied URL and construct the
Document representation, using the
default character set . |
Document |
EditableDocument.unwrap()
Unwrap this editor to obtain the potentially wrapped document.
|
Document |
MergeDocument.with(Document.ValueTransformer transformer) |
Document |
Document.with(Document.ValueTransformer transformer)
Obtain a clone of this document, but with the field values transformed using the supplied
Document.ValueTransformer . |
Document |
Document.with(Map<String,Object> changedFields)
Obtain a clone of this document, but with the supplied fields replaced.
|
Document |
MergeDocument.with(String fieldName,
Object value) |
Document |
Document.with(String fieldName,
Object value)
Obtain a clone of this document, but with the supplied fields replaced.
|
Document |
MergeDocument.withVariablesReplaced(Properties properties) |
Document |
Document.withVariablesReplaced(Properties properties)
Obtain a clone of this document, but with all variables in string field values replaced with the referenced values from the
supplied properties.
|
Document |
MergeDocument.withVariablesReplacedWithSystemProperties() |
Document |
Document.withVariablesReplacedWithSystemProperties()
Obtain a clone of this document, but with all variables in string field values replaced with the referenced values from the
System properties.
|
Modifier and Type | Method and Description |
---|---|
EditableDocument |
EditableArray.addCode(int index,
String code,
Document scope)
Insert the value for the field at the given index to be a
Code or CodeWithScope . |
EditableDocument |
EditableArray.addCode(String code,
Document scope)
Adds to this array a
CodeWithScope with the supplied JavaScript code and scope. |
EditableDocument |
EditableArray.addCodeIfAbsent(String code,
Document scope)
Adds to this array a
CodeWithScope with the supplied JavaScript code and scope, if and only if an equivalent value
doesn't already exist in the array. |
EditableDocument |
EditableArray.addDocument(Document document)
Adds to this array the supplied document.
|
EditableDocument |
EditableArray.addDocument(int index,
Document document)
Insert the value for the field at the given index to be the supplied Document.
|
EditableDocument |
EditableArray.addDocumentIfAbsent(Document document)
Adds to this array the supplied document, if and only if an equivalent value doesn't already exist in the array.
|
boolean |
MergeDocument.containsAll(Document document) |
boolean |
Document.containsAll(Document document)
Checks if this object contains all of the fields in the supplied document.
|
void |
EditableDocument.merge(Document other)
Merges the supplied document onto this document.
|
void |
EditableDocument.putAll(Document object)
Sets on this object all name/value pairs from the supplied object.
|
EditableDocument |
EditableArray.setCode(int index,
String code,
Document scope)
Set the value for the field at the given index to be a
Code or CodeWithScope . |
EditableDocument |
EditableDocument.setCode(String name,
String code,
Document scope)
Set the value for the field with the given name to be a
Code or CodeWithScope . |
EditableDocument |
EditableArray.setCode(String name,
String code,
Document scope)
Set the value for the field at the given index to be a
Code or CodeWithScope . |
EditableDocument |
EditableArray.setDocument(int index,
Document document)
Set the value for the field at the given index to be the supplied Document.
|
EditableDocument |
EditableDocument.setDocument(String name,
Document document)
Set the value for the field with the given name to be the supplied Document.
|
EditableDocument |
EditableArray.setDocument(String name,
Document document)
Set the value for the field at the given index to be the supplied Document.
|
static String |
Json.write(Document bson)
Return the modified JSON representation for the supplied in-memory
Document . |
static void |
Bson.write(Document bson,
ObjectOutput output)
Write to the supplied output the binary BSON representation of the supplied in-memory
Document . |
static void |
Json.write(Document bson,
OutputStream stream)
Write to the supplied writer the modified JSON representation of the supplied in-memory
Document . |
static void |
Bson.write(Document bson,
OutputStream stream)
Write to the supplied stream the binary BSON representation of the supplied in-memory
Document . |
static void |
Json.write(Document bson,
Writer writer)
Write to the supplied writer the modified JSON representation of the supplied in-memory
Document . |
static String |
Json.writePretty(Document bson)
Return the modified JSON representation for the supplied in-memory
Document . |
static void |
Json.writePretty(Document bson,
OutputStream stream)
Write to the supplied writer the modified JSON representation of the supplied in-memory
Document . |
static void |
Json.writePretty(Document bson,
Writer writer)
Write to the supplied writer the modified JSON representation of the supplied in-memory
Document . |
Constructor and Description |
---|
CodeWithScope(String code,
Document scope) |
MergeDocument(Document document1,
Document document2)
Create a document that contains all of the fields from the two documents, with the first document taking precedence.
|
MergeDocument(Document document1,
Document document2,
Document document3)
Create a document that contains all of the fields from the three documents, with the first document taking precedence over
the others, and the second taking precedence over the third.
|
Modifier and Type | Method and Description |
---|---|
Document |
SchematicEntryProxy.asDocument() |
Document |
SchematicEntryLiteral.asDocument() |
Document |
ImmutableSchematicValue.asDocument() |
Document |
InMemorySchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Document |
CacheSchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Document |
InMemorySchemaLibrary.convertValues(Document document,
String schemaUri) |
Document |
CacheSchemaLibrary.convertValues(Document document,
String schemaUri) |
protected Document |
CacheSchemaLibrary.document(SchematicEntry entry) |
Document |
InMemoryDocumentLibrary.ImmediateFuture.get() |
Document |
CacheSchemaLibrary.WrappedFuture.get() |
Document |
InMemoryDocumentLibrary.ImmediateFuture.get(long timeout,
TimeUnit unit) |
Document |
CacheSchemaLibrary.WrappedFuture.get(long timeout,
TimeUnit unit) |
Document |
InMemorySchemaLibrary.get(String key) |
Document |
InMemoryDocumentLibrary.get(String key) |
Document |
CacheSchemaLibrary.get(String key) |
Document |
SchematicEntryProxy.getContentAsDocument() |
Document |
SchematicEntryLiteral.getContentAsDocument() |
Document |
ImmutableSchematicValue.getContentAsDocument() |
Document |
SchematicEntryProxy.getMetadata() |
Document |
SchematicEntryLiteral.getMetadata() |
Document |
ImmutableSchematicValue.getMetadata() |
Document |
InMemorySchemaLibrary.put(String key,
Document document) |
Document |
InMemoryDocumentLibrary.put(String key,
Document document) |
Document |
CacheSchemaLibrary.put(String key,
Document document) |
Document |
InMemorySchemaLibrary.putIfAbsent(String key,
Document document) |
Document |
InMemoryDocumentLibrary.putIfAbsent(String key,
Document document) |
Document |
CacheSchemaLibrary.putIfAbsent(String key,
Document document) |
Document |
InMemorySchemaLibrary.remove(String key) |
Document |
InMemoryDocumentLibrary.remove(String key) |
Document |
CacheSchemaLibrary.remove(String key) |
Document |
InMemorySchemaLibrary.replace(String key,
Document document) |
Document |
InMemoryDocumentLibrary.replace(String key,
Document document) |
Document |
CacheSchemaLibrary.replace(String key,
Document document) |
Modifier and Type | Method and Description |
---|---|
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.ImmediateFuture.attachListener(org.infinispan.util.concurrent.FutureListener<Document> listener) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.WrappedFuture.attachListener(org.infinispan.util.concurrent.FutureListener<Document> listener) |
protected org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.future(org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> original) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.getAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.getAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.getAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.removeAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.removeAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.removeAsync(String key) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.replaceAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.replaceAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.replaceAsync(String key,
Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
InMemorySchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Document |
CacheSchemaLibrary.convertValues(Document document,
SchemaLibrary.Results results) |
Document |
InMemorySchemaLibrary.convertValues(Document document,
String schemaUri) |
Document |
CacheSchemaLibrary.convertValues(Document document,
String schemaUri) |
protected EditableDocument |
SchematicEntryProxy.editorFor(Document doc,
Path pathToDocument,
DocumentObserver observer) |
protected void |
SchematicEntryLiteral.internalSetContent(Binary content,
Document metadata,
String defaultContentType) |
protected void |
SchematicEntryLiteral.internalSetContent(Document content,
Document metadata,
String defaultContentType) |
SchematicEntry |
CacheSchematicDb.put(Document entryDocument) |
SchematicEntry |
CacheSchematicDb.put(String key,
Binary binaryContent,
Document metadata) |
Document |
InMemorySchemaLibrary.put(String key,
Document document) |
Document |
InMemoryDocumentLibrary.put(String key,
Document document) |
Document |
CacheSchemaLibrary.put(String key,
Document document) |
SchematicEntry |
CacheSchematicDb.put(String key,
Document document,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.putAsync(String key,
Binary binaryContent,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.putAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.putAsync(String key,
Document document,
Document metadata) |
SchematicEntry |
CacheSchematicDb.putIfAbsent(Document entryDocument) |
SchematicEntry |
CacheSchematicDb.putIfAbsent(String key,
Binary binaryContent,
Document metadata) |
Document |
InMemorySchemaLibrary.putIfAbsent(String key,
Document document) |
Document |
InMemoryDocumentLibrary.putIfAbsent(String key,
Document document) |
Document |
CacheSchemaLibrary.putIfAbsent(String key,
Document document) |
SchematicEntry |
CacheSchematicDb.putIfAbsent(String key,
Document document,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.putIfAbsentAsync(String key,
Binary binaryContent,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.putIfAbsentAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.putIfAbsentAsync(String key,
Document document,
Document metadata) |
SchematicEntry |
CacheSchematicDb.replace(String key,
Binary binaryContent,
Document metadata) |
Document |
InMemorySchemaLibrary.replace(String key,
Document document) |
Document |
InMemoryDocumentLibrary.replace(String key,
Document document) |
Document |
CacheSchemaLibrary.replace(String key,
Document document) |
SchematicEntry |
CacheSchematicDb.replace(String key,
Document document,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.replaceAsync(String key,
Binary binaryContent,
Document metadata) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemorySchemaLibrary.replaceAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.replaceAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.replaceAsync(String key,
Document document) |
org.infinispan.util.concurrent.NotifyingFuture<SchematicEntry> |
CacheSchematicDb.replaceAsync(String key,
Document document,
Document metadata) |
void |
SchematicEntryProxy.setContent(Binary content,
Document metadata,
String defaultContentType) |
void |
SchematicEntryLiteral.setContent(Binary content,
Document metadata,
String defaultContentType) |
void |
ImmutableSchematicValue.setContent(Binary content,
Document metadata,
String defaultContentType) |
void |
SchematicEntryProxy.setContent(Document content,
Document metadata,
String defaultContentType) |
void |
SchematicEntryLiteral.setContent(Document content,
Document metadata,
String defaultContentType) |
void |
ImmutableSchematicValue.setContent(Document content,
Document metadata,
String defaultContentType) |
protected void |
SchematicEntryLiteral.setDocument(Document document) |
protected void |
SchematicEntryLiteral.setMetadata(Document metadata,
String defaultContentType) |
SchemaLibrary.Results |
InMemorySchemaLibrary.validate(Document document,
String schemaUri) |
SchemaLibrary.Results |
CacheSchemaLibrary.validate(Document document,
String schemaUri) |
Modifier and Type | Method and Description |
---|---|
org.infinispan.util.concurrent.NotifyingFuture<Document> |
InMemoryDocumentLibrary.ImmediateFuture.attachListener(org.infinispan.util.concurrent.FutureListener<Document> listener) |
org.infinispan.util.concurrent.NotifyingFuture<Document> |
CacheSchemaLibrary.WrappedFuture.attachListener(org.infinispan.util.concurrent.FutureListener<Document> listener) |
Constructor and Description |
---|
InMemoryDocumentLibrary.ImmediateFuture(Document value) |
SchematicEntryLiteral(String key,
Binary content,
Document metadata,
String defaultContentType) |
SchematicEntryLiteral(String key,
Document content,
Document metadata,
String defaultContentType) |
SchematicEntryWholeDelta(Document document) |
Modifier and Type | Interface and Description |
---|---|
interface |
MutableArray |
interface |
MutableDocument
A mutable
Document used when building a MutableBsonObject. |
Modifier and Type | Class and Description |
---|---|
class |
ArrayEditor |
class |
BasicArray
A
ordered array of values for use as a value within a
BSON Object . |
class |
BasicDocument |
class |
DocumentEditor |
class |
ObservableArrayEditor |
class |
ObservableDocumentEditor |
Modifier and Type | Method and Description |
---|---|
Document |
BasicDocument.clone() |
protected Document |
BsonReader.Reader.endDocument() |
Document |
BasicDocument.getDocument(String name) |
Document |
BasicArray.getDocument(String name) |
Document |
ImmutableField.getValueAsDocument() |
Document |
JsonReader.Parser.parseDocument()
Parse the stream for the next JSON document.
|
protected Document |
JsonReader.Parser.parseDocument(AtomicBoolean hasReservedFieldNames,
boolean failIfNotValidDocument)
Parse the stream for the next JSON document.
|
Document |
JsonReader.Parser.parseDocument(boolean failIfNotValidDocument)
Parse the stream for the next JSON document.
|
Document |
BsonReader.read(DataInput input)
Read the binary BSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(InputStream stream)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
Document |
BsonReader.read(InputStream stream)
Read the binary BSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(InputStream stream,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
default character set . |
Document |
JsonReader.read(InputStream stream,
Charset charset)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
Document |
JsonReader.read(InputStream stream,
Charset charset,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation, using the
supplied character set . |
Document |
JsonReader.read(Reader reader)
Read the JSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(Reader reader,
boolean introspectStringValues)
Read the JSON representation from supplied input stream and construct the
Document representation. |
Document |
JsonReader.read(String json)
Read the JSON representation from supplied string and construct the
Document representation. |
Document |
JsonReader.read(String json,
boolean introspectStringValues)
Read the JSON representation from supplied string and construct the
Document representation. |
Document |
JsonReader.read(URL url)
Read the JSON representation from supplied URL and construct the
Document representation, using the
default character set . |
Document |
DocumentExternalizer.readObject(ObjectInput input) |
Document |
DocumentEditor.unwrap() |
Document |
BasicDocument.with(Document.ValueTransformer transformer) |
Document |
BasicDocument.with(Map<String,Object> changedFields) |
Document |
DocumentEditor.with(String fieldName,
Object value) |
Document |
BasicDocument.with(String fieldName,
Object newValue) |
Document |
BasicArray.with(String fieldName,
Object newValue) |
Document |
ArrayEditor.with(String fieldName,
Object value) |
Document |
DocumentEditor.withVariablesReplaced(Properties properties) |
Document |
BasicDocument.withVariablesReplaced(Properties properties) |
Document |
ArrayEditor.withVariablesReplaced(Properties properties) |
Document |
DocumentEditor.withVariablesReplacedWithSystemProperties() |
Document |
BasicDocument.withVariablesReplacedWithSystemProperties() |
Document |
ArrayEditor.withVariablesReplacedWithSystemProperties() |
Modifier and Type | Method and Description |
---|---|
Set<Class<? extends Document>> |
DocumentExternalizer.getTypeClasses() |
Modifier and Type | Method and Description |
---|---|
EditableDocument |
ArrayEditor.addCode(int index,
String code,
Document scope) |
EditableDocument |
ArrayEditor.addCode(String code,
Document scope) |
EditableDocument |
ArrayEditor.addCodeIfAbsent(String code,
Document scope) |
EditableDocument |
ArrayEditor.addDocument(Document document) |
EditableDocument |
ArrayEditor.addDocument(int index,
Document document) |
EditableDocument |
ArrayEditor.addDocumentIfAbsent(Document document) |
boolean |
DocumentEditor.containsAll(Document document) |
boolean |
BasicDocument.containsAll(Document document) |
boolean |
BasicArray.containsAll(Document document) |
boolean |
ArrayEditor.containsAll(Document document) |
CodeWithScope |
DocumentValueFactory.createCode(String code,
Document scope) |
CodeWithScope |
DefaultDocumentValueFactory.createCode(String code,
Document scope) |
protected void |
ObservableDocumentEditor.doSetAllValues(Document values) |
protected void |
DocumentEditor.doSetAllValues(Document values)
The method that does the actual setting for all of the
DocumentEditor.putAll(Document) method. |
protected EditableDocument |
ArrayEditor.editable(Document doc,
int index) |
protected EditableDocument |
DocumentEditor.editable(Document doc,
String fieldName) |
void |
DocumentEditor.merge(Document other) |
void |
ArrayEditor.merge(Document other) |
protected Object |
JsonReader.Parser.processDocumentWithReservedFieldNames(Document doc) |
void |
MutableDocument.putAll(Document object)
Sets on this object all name/value pairs from the supplied object.
|
void |
DocumentEditor.putAll(Document object) |
void |
BasicDocument.putAll(Document object) |
void |
BasicArray.putAll(Document object) |
void |
ArrayEditor.putAll(Document object) |
EditableDocument |
ArrayEditor.setCode(int index,
String code,
Document scope) |
EditableDocument |
DocumentEditor.setCode(String name,
String code,
Document scope) |
EditableDocument |
ArrayEditor.setCode(String name,
String code,
Document scope) |
EditableDocument |
ArrayEditor.setDocument(int index,
Document document) |
EditableDocument |
DocumentEditor.setDocument(String name,
Document document) |
EditableDocument |
ArrayEditor.setDocument(String name,
Document document) |
protected void |
PrettyJsonWriter.write(Document bson,
Writer writer) |
protected void |
CompactJsonWriter.write(Document bson,
Writer writer) |
protected void |
BsonWriter.write(String name,
Document document,
BsonDataOutput output) |
void |
DocumentExternalizer.writeObject(ObjectOutput output,
Document doc) |
Constructor and Description |
---|
BasicDocument(Document document) |
Modifier and Type | Method and Description |
---|---|
protected static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
int level,
LinkedList<DocumentTransformer.Conversion> conversions) |
static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
SchemaLibrary.Results results)
Return a copy of the supplied document that contains converted values for all of the fields (including in the nested
documents and arrays) that have values that are of the wrong type but can be converted to be of the correct type.
|
Document |
SchemaDocument.getDocument() |
Modifier and Type | Method and Description |
---|---|
protected void |
JsonSchemaValidatorFactory.addValidatorsForDisallowedTypes(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForDivisibleBy(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForEnum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximumItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMaximumLength(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimum(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimumItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForMinimumLength(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForPattern(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForPatternProperties(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForProperties(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForRequired(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForTypes(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected void |
JsonSchemaValidatorFactory.addValidatorsForUniqueItems(Document parent,
Path parentPath,
Problems problems,
JsonSchemaValidatorFactory.CompositeValidator validators) |
protected static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
int level,
LinkedList<DocumentTransformer.Conversion> conversions) |
static Document |
DocumentTransformer.convertValuesWithMismatchedTypes(Document original,
SchemaLibrary.Results results)
Return a copy of the supplied document that contains converted values for all of the fields (including in the nested
documents and arrays) that have values that are of the wrong type but can be converted to be of the correct type.
|
Validator |
Validator.Factory.create(Document schemaDocument,
Path pathToDoc) |
Validator |
JsonSchemaValidatorFactory.create(Document schemaDocument,
Path pathToDoc) |
protected Validator |
JsonSchemaValidatorFactory.dereference(Document schemaDocument,
Path pathToDoc,
Problems problems) |
void |
Validator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver)
Validate a portion of the supplied document.
|
void |
JsonSchemaValidatorFactory.TypeValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.UnionValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.ResolvingValidator.validate(Object fieldValue,
String fieldName,
Document document,
Path pathToDocument,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.RequiredValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NumericValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.MinimumLengthValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.MaximumLengthValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.DivisibleByValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.ItemCountValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.UniqueItemsValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PatternValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.EnumValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.DisallowedTypesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.AllItemsMatchValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.EachItemMatchesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NotValidValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PropertyValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.PatternPropertyValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.AllowedPropertiesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.NoOtherAllowedPropertiesValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
void |
JsonSchemaValidatorFactory.CompositeValidator.validate(Object fieldValue,
String fieldName,
Document parent,
Path pathToParent,
Problems problems,
Validator.SchemaDocumentResolver resolver) |
Constructor and Description |
---|
SchemaDocument(String uri,
Document document,
Validator validator) |
Modifier and Type | Method and Description |
---|---|
Document |
FileSystemConnector.getChildren(PageKey pageKey) |
Document |
FileSystemConnector.getDocumentById(String id) |
Modifier and Type | Method and Description |
---|---|
void |
FileSystemConnector.storeDocument(Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
GitTree.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
GitTags.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
GitRoot.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
GitHistory.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
abstract Document |
GitFunction.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
GitCommitDetails.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
GitBranches.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
DocumentWriter writer,
Values values) |
Document |
PageableGitFunction.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
PageWriter writer,
Values values,
PageKey pageKey) |
Document |
GitTree.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
PageWriter writer,
Values values,
PageKey pageKey) |
Document |
GitHistory.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
PageWriter writer,
Values values,
PageKey pageKey) |
Document |
GitCommitDetails.execute(org.eclipse.jgit.lib.Repository repository,
org.eclipse.jgit.api.Git git,
CallSpecification spec,
PageWriter writer,
Values values,
PageKey pageKey) |
Document |
GitConnector.getChildReference(String parentKey,
String childKey) |
Document |
GitConnector.getChildren(PageKey pageKey) |
Document |
GitConnector.getDocumentById(String id) |
Modifier and Type | Method and Description |
---|---|
Document |
JdbcMetadataConnector.getDocumentById(String id) |
protected Document |
TableRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
SchemaRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
ProcedureRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
ForeignKeyRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
DatabaseRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
ColumnRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected Document |
CatalogRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
protected abstract Document |
AbstractMetadataRetriever.getDocumentById(String id,
DocumentWriter writer,
Connection connection) |
Modifier and Type | Field and Description |
---|---|
protected static Document |
RepositoryConfiguration.EMPTY |
Modifier and Type | Method and Description |
---|---|
Document |
RepositoryConfiguration.getDocument() |
Document |
RepositoryConfiguration.Clustering.getDocument() |
Document |
RepositoryConfiguration.Component.getDocument() |
Document |
BackupDocumentReader.read()
Read the next document from the files.
|
protected static Document |
RepositoryConfiguration.replaceSystemPropertyVariables(Document doc)
Utility method to replace all system property variables found within the specified document.
|
Modifier and Type | Method and Description |
---|---|
protected List<RepositoryConfiguration.Component> |
RepositoryConfiguration.readComponents(Document doc,
String fieldName,
String aliasFieldName,
Map<String,String> classnamesByAlias,
Problems problems) |
protected Map<String,Object> |
RepositoryConfiguration.readProperties(Document document,
String... skipFieldNames) |
protected static Document |
RepositoryConfiguration.replaceSystemPropertyVariables(Document doc)
Utility method to replace all system property variables found within the specified document.
|
void |
BackupDocumentWriter.write(Document document)
Append the supplied document to the files.
|
Modifier and Type | Method and Description |
---|---|
protected Document |
LazyCachedNode.document(WorkspaceCache cache)
Get the
Document that represents this node. |
Document |
LocalDocumentStore.getChildReference(String parentKey,
String childKey) |
Document |
DocumentStore.getChildReference(String parentKey,
String childKey)
Returns a document representing a single child reference from the supplied parent to the supplied child.
|
Document |
LocalDocumentStore.getChildrenBlock(String key) |
Document |
DocumentStore.getChildrenBlock(String key)
Returns a document representing a block of children, that has the given key.
|
Modifier and Type | Method and Description |
---|---|
int |
DocumentTranslator.countProperties(Document document) |
Set<NodeKey> |
DocumentTranslator.getAdditionalParentKeys(Document document) |
protected Integer |
DocumentTranslator.getCacheTtlSeconds(Document document)
Returns the value of the
DocumentConstants.CACHE_TTL_SECONDS field, if such a
value exists. |
ChildReferences |
DocumentTranslator.getChildReferences(WorkspaceCache cache,
Document document) |
ChildReferences |
DocumentTranslator.getChildReferencesFromBlock(Document block)
Reads the children of the given block and returns a
ChildReferences instance. |
DocumentTranslator.ChildReferencesInfo |
DocumentTranslator.getChildReferencesInfo(Document document) |
String |
DocumentTranslator.getKey(Document document) |
Set<String> |
DocumentTranslator.getMixinTypeNames(Document document) |
Set<Name> |
DocumentTranslator.getMixinTypes(Document document) |
NodeKey |
DocumentTranslator.getParentKey(Document document,
String primaryWorkspaceKey,
String secondaryWorkspaceKey)
Obtain the preferred
key for the parent of this node. |
Name |
DocumentTranslator.getPrimaryType(Document document) |
String |
DocumentTranslator.getPrimaryTypeName(Document document) |
void |
DocumentTranslator.getProperties(Document document,
Map<Name,Property> result) |
Property |
DocumentTranslator.getProperty(Document document,
Name propertyName) |
Property |
DocumentTranslator.getProperty(Document document,
String propertyName) |
Set<NodeKey> |
DocumentTranslator.getReferrers(Document document,
CachedNode.ReferenceType type) |
boolean |
DocumentTranslator.hasProperties(Document document) |
boolean |
DocumentTranslator.hasProperty(Document document,
Name propertyName) |
protected boolean |
DocumentTranslator.isFederatedDocument(Document document) |
protected boolean |
DocumentTranslator.isQueryable(Document document) |
void |
LocalDocumentStore.put(Document entryDocument)
Store the supplied document in the local db
|
void |
LocalDocumentStore.put(String key,
Document document)
Store the supplied document and metadata at the given key.
|
SchematicEntry |
LocalDocumentStore.putIfAbsent(String key,
Document document)
Store the supplied document and metadata at the given key.
|
void |
LocalDocumentStore.replace(String key,
Document document)
Replace the existing document and metadata at the given key with the document that is supplied.
|
SchematicEntry |
LocalDocumentStore.storeDocument(String key,
Document document) |
SchematicEntry |
DocumentStore.storeDocument(String key,
Document document)
Store the supplied document at the given key.
|
void |
LocalDocumentStore.updateDocument(String key,
Document document,
SessionNode sessionNode) |
void |
DocumentStore.updateDocument(String key,
Document document,
SessionNode sessionNode)
Updates the content of the document at the given key with the given document.
|
Constructor and Description |
---|
LazyCachedNode(NodeKey key,
Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
FederatedSchematicEntry.asDocument() |
Document |
FederatedDocumentReader.document() |
Document |
FederatedDocumentStore.getChildReference(String parentKey,
String childKey) |
Document |
FederatedDocumentStore.getChildrenBlock(String key) |
Document |
FederatedSchematicEntry.getContentAsDocument() |
Document |
FederatedDocumentChanges.getDocument() |
Document |
FederatedSchematicEntry.getMetadata() |
Modifier and Type | Method and Description |
---|---|
List<Document> |
FederatedDocumentReader.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
FederatedSchematicEntry.setContent(Binary content,
Document metadata,
String defaultContentType) |
void |
FederatedSchematicEntry.setContent(Document content,
Document metadata,
String defaultContentType) |
SchematicEntry |
FederatedDocumentStore.storeDocument(String key,
Document document) |
void |
FederatedDocumentStore.updateDocument(String key,
Document document,
SessionNode sessionNode) |
Modifier and Type | Method and Description |
---|---|
DocumentWriter |
FederatedDocumentWriter.setChildren(List<? extends Document> children) |
Constructor and Description |
---|
FederatedDocumentChanges(String documentId,
Document document) |
FederatedDocumentReader(DocumentTranslator translator,
Document federatedDocument) |
FederatedDocumentWriter(DocumentTranslator translator,
Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentReader.document()
Returns the underlying document instance.
|
Document |
Connector.getChildReference(String parentKey,
String childKey)
Returns a document representing a single child reference from the supplied parent to the supplied child.
|
Document |
Pageable.getChildren(PageKey pageKey)
Returns a document which represents the document of a parent node to which an optiona page of children has been added.
|
Document |
DocumentChanges.getDocument()
Returns the document which contains all the changes.
|
abstract Document |
Connector.getDocumentById(String id)
Returns a
Document instance representing the document with a given id. |
protected Document |
Connector.newChildReference(String childId,
String childName)
Obtain a new child reference document that is useful in the
Connector.getChildReference(String, String) method. |
Modifier and Type | Method and Description |
---|---|
List<? extends Document> |
DocumentReader.getChildren()
Returns the list of children the underlying document has.
|
Modifier and Type | Method and Description |
---|---|
protected DocumentReader |
Connector.readDocument(Document document)
Obtain a new
DocumentReader that can be used to read an existing document, typically used within the
Connector.storeDocument(Document) and Connector.updateDocument(DocumentChanges) methods. |
void |
ReadOnlyConnector.storeDocument(Document document) |
abstract void |
Connector.storeDocument(Document document)
Stores the given document.
|
protected DocumentWriter |
Connector.writeDocument(Document document)
Obtain a new
DocumentWriter that can be used to update a document. |
Modifier and Type | Method and Description |
---|---|
PageWriter |
PageWriter.setChildren(List<? extends Document> children)
Set the list of children for the underlying document.
|
DocumentWriter |
DocumentWriter.setChildren(List<? extends Document> children) |
Copyright © 2008-2013 JBoss, a division of Red Hat. All Rights Reserved.