| Package | Description |
|---|---|
| org.jboss.aerogear.sync |
This package contains interfaces for AeroGear Sync.
|
| org.jboss.aerogear.sync.client |
This package contains interfaces for AeroGear Sync Client API.
|
| Modifier and Type | Method and Description |
|---|---|
ClientDocument<T> |
ShadowDocument.document()
The document itself.
|
| Modifier and Type | Method and Description |
|---|---|
ClientDocument<T> |
ClientDataStore.getClientDocument(String documentId,
String clientId)
Retrieves the
Document matching the passed-in document documentId. |
ClientDocument<T> |
ClientSynchronizer.patchDocument(S edit,
ClientDocument<T> document)
Called when the document should be patched.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SyncClient.addDocument(ClientDocument<T> document)
Adds a
ClientDocument to this SyncClient. |
S |
ClientSynchronizer.clientDiff(ShadowDocument<T> shadowDocument,
ClientDocument<T> document)
|
void |
SyncClient.diffAndSend(ClientDocument<T> document)
Diff the specified
ClientDocument and send all edits to the sync server |
void |
PatchObservable.notifyPatched(ClientDocument<T> patchedDocument)
Notify all listeners that the
ClientDocument has been patched. |
void |
DefaultPatchObservable.notifyPatched(ClientDocument<T> patchedDocument) |
ClientDocument<T> |
ClientSynchronizer.patchDocument(S edit,
ClientDocument<T> document)
Called when the document should be patched.
|
void |
PatchListener.patched(ClientDocument<T> patchedDocument)
Is called when the
ClientDocument has patched a document. |
void |
ClientDataStore.saveClientDocument(ClientDocument<T> document)
Saves a client document.
|
S |
ClientSynchronizer.serverDiff(ClientDocument<T> document,
ShadowDocument<T> shadowDocument)
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.