public class DataSyncServiceImpl extends Object implements DataSyncService
Constructor and Description |
---|
DataSyncServiceImpl(javax.persistence.EntityManager em,
JpaAttributeAccessor attributeAccessor) |
Modifier and Type | Method and Description |
---|---|
<E> List<SyncResponse<E>> |
coldSync(SyncableDataSet<E> dataSet,
List<SyncRequestOperation<E>> syncRequestOps)
Performs a cold synchronization, usually by delegating to
coldSync(SyncableDataSet, List) . |
public DataSyncServiceImpl(javax.persistence.EntityManager em, JpaAttributeAccessor attributeAccessor)
public <E> List<SyncResponse<E>> coldSync(SyncableDataSet<E> dataSet, List<SyncRequestOperation<E>> syncRequestOps)
DataSyncService
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
.coldSync
in interface DataSyncService
dataSet
- The SyncableDataSet to synchronize between client and server.syncRequestOps
- The list of SyncRequestOperations produced by the
ClientSyncManager for the given dataset.Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.