| Package | Description |
|---|---|
| org.jboss.aerogear.sync |
This package contains interfaces for AeroGear Sync.
|
| 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 | Method and Description |
|---|---|
Document<T> |
ServerSynchronizer.documentFromJson(com.fasterxml.jackson.databind.JsonNode json)
Converts the
JsonNode into a Document instance. |
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 |
|---|---|
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 |
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 |
ServerDataStore.updateDocument(Document<T> document)
Updates a server document.
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.