| 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.
|
| org.jboss.aerogear.sync.server |
This package contains interfaces for AeroGear Sync Server API.
|
| Modifier and Type | Method and Description |
|---|---|
ShadowDocument<T> |
DataStore.getShadowDocument(String documentId,
String clientId)
Retrieves the
ShadowDocument matching the passed-in document documentId. |
ShadowDocument<T> |
BackupShadowDocument.shadow()
The
ShadowDocument that this instance is backing up. |
| Modifier and Type | Method and Description |
|---|---|
void |
DataStore.saveShadowDocument(ShadowDocument<T> shadowDocument)
Saves a shadow document.
|
| Modifier and Type | Method and Description |
|---|---|
ShadowDocument<T> |
ClientSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
| Modifier and Type | Method and Description |
|---|---|
S |
ClientSynchronizer.clientDiff(ShadowDocument<T> shadowDocument,
ClientDocument<T> document)
|
ShadowDocument<T> |
ClientSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
S |
ClientSynchronizer.serverDiff(ClientDocument<T> document,
ShadowDocument<T> shadowDocument)
|
| Modifier and Type | Method and Description |
|---|---|
ShadowDocument<T> |
ServerSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow 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. |
ShadowDocument<T> |
ServerSynchronizer.patchShadow(S edit,
ShadowDocument<T> shadowDocument)
Called when the shadow should be patched.
|
S |
ServerSynchronizer.serverDiff(Document<T> document,
ShadowDocument<T> shadowDocument)
The first step in a sync is to produce a an edit for the changes.
|
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.