Package | Description |
---|---|
org.jboss.aerogear.sync |
This package contains interfaces for AeroGear Sync.
|
org.jboss.aerogear.sync.diffmatchpatch.server |
This package contains classes for the DiffMatchPatch synchronizer server
|
org.jboss.aerogear.sync.jsonmergepatch.server |
This package contains classes for the JSON Merge Patch synchronizer server
|
org.jboss.aerogear.sync.jsonpatch.server |
This package contains classes for the JSON Patch synchronizer server
|
org.jboss.aerogear.sync.server |
This package contains interfaces for AeroGear Sync Server API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ClientDocument<T>
A client document is used on both the server and client side and
associates a client identifier with a
Document . |
Modifier and Type | Class and Description |
---|---|
class |
DefaultClientDocument<T> |
class |
DefaultDocument<T> |
Modifier and Type | Method and Description |
---|---|
Document<String> |
DiffMatchPatchServerSynchronizer.documentFromJson(com.fasterxml.jackson.databind.JsonNode json) |
Document<String> |
DiffMatchPatchServerSynchronizer.patchDocument(DiffMatchPatchEdit edit,
Document<String> document) |
Modifier and Type | Method and Description |
---|---|
DiffMatchPatchEdit |
DiffMatchPatchServerSynchronizer.clientDiff(Document<String> document,
ShadowDocument<String> shadowDocument) |
Document<String> |
DiffMatchPatchServerSynchronizer.patchDocument(DiffMatchPatchEdit edit,
Document<String> document) |
DiffMatchPatchEdit |
DiffMatchPatchServerSynchronizer.serverDiff(Document<String> document,
ShadowDocument<String> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchServerSynchronizer.documentFromJson(com.fasterxml.jackson.databind.JsonNode json) |
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchServerSynchronizer.patchDocument(JsonMergePatchEdit edit,
Document<com.fasterxml.jackson.databind.JsonNode> document) |
Modifier and Type | Method and Description |
---|---|
JsonMergePatchEdit |
JsonMergePatchServerSynchronizer.clientDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonMergePatchServerSynchronizer.patchDocument(JsonMergePatchEdit edit,
Document<com.fasterxml.jackson.databind.JsonNode> document) |
JsonMergePatchEdit |
JsonMergePatchServerSynchronizer.serverDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchServerSynchronizer.documentFromJson(com.fasterxml.jackson.databind.JsonNode json) |
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchServerSynchronizer.patchDocument(JsonPatchEdit edit,
Document<com.fasterxml.jackson.databind.JsonNode> document) |
Modifier and Type | Method and Description |
---|---|
JsonPatchEdit |
JsonPatchServerSynchronizer.clientDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Document<com.fasterxml.jackson.databind.JsonNode> |
JsonPatchServerSynchronizer.patchDocument(JsonPatchEdit edit,
Document<com.fasterxml.jackson.databind.JsonNode> document) |
JsonPatchEdit |
JsonPatchServerSynchronizer.serverDiff(Document<com.fasterxml.jackson.databind.JsonNode> document,
ShadowDocument<com.fasterxml.jackson.databind.JsonNode> shadowDocument) |
Modifier and Type | Method and Description |
---|---|
Document<T> |
ServerSyncEngine.documentFromJson(com.fasterxml.jackson.databind.JsonNode json)
Converts the
JsonNode into a Document instance. |
Document<T> |
ServerSynchronizer.documentFromJson(com.fasterxml.jackson.databind.JsonNode json)
Converts the
JsonNode into a Document instance. |
Document<T> |
ServerInMemoryDataStore.getDocument(String documentId) |
Document<T> |
ServerDataStore.getDocument(String documentId)
Retrieves the
Document matching the passed-in document documentId. |
Document<T> |
ServerSynchronizer.patchDocument(S edit,
Document<T> document)
Called when the document should be patched.
|
Modifier and Type | Method and Description |
---|---|
PatchMessage<S> |
ServerSyncEngine.addSubscriber(Subscriber<?> subscriber,
Document<T> document)
Adds a subscriber for the specified document.
|
S |
ServerSynchronizer.clientDiff(Document<T> document,
ShadowDocument<T> shadowDocument)
Is called to produce an
Edit of changes coming from a client. |
Document<T> |
ServerSynchronizer.patchDocument(S edit,
Document<T> document)
Called when the document should be patched.
|
boolean |
ServerInMemoryDataStore.saveDocument(Document<T> document) |
boolean |
ServerDataStore.saveDocument(Document<T> document)
Saves a server document.
|
S |
ServerSynchronizer.serverDiff(Document<T> document,
ShadowDocument<T> shadowDocument)
The first step in a sync is to produce a an edit for the changes.
|
void |
ServerInMemoryDataStore.updateDocument(Document<T> document) |
void |
ServerDataStore.updateDocument(Document<T> document)
Updates a server document.
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.