public interface DataSyncService
@PersistenceContext
for synchronizing with.Modifier and Type | Method and Description |
---|---|
<X> List<SyncResponse<X>> |
coldSync(SyncableDataSet<X> dataSet,
List<SyncRequestOperation<X>> remoteResults)
Performs a cold synchronization, usually by delegating to
DataSyncServiceImpl.coldSync(SyncableDataSet, List) . |
<X> List<SyncResponse<X>> coldSync(SyncableDataSet<X> dataSet, List<SyncRequestOperation<X>> remoteResults)
DataSyncServiceImpl.coldSync(SyncableDataSet, List)
. This method is
not normally invoked directly by application code; rather, application code calls
ClientSyncManager.coldSync(String, Class, java.util.Map, org.jboss.errai.common.client.api.RemoteCallback, org.jboss.errai.common.client.api.ErrorCallback)
and that method calls this one via an Errai RPC Caller
.dataSet
- The SyncableDataSet to synchronize between client and server.remoteResults
- The list of SyncRequestOperations produced by the
ClientSyncManager for the given dataset.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.