Examples of coldSync()


Examples of org.jboss.errai.jpa.sync.client.shared.DataSyncService.coldSync()

  private final JpaAttributeAccessor attributeAccessor = new JavaReflectionAttributeAccessor();

  public <E> List<SyncResponse<E>> coldSync(SyncableDataSet<E> dataSet, List<SyncRequestOperation<E>> remoteResults) {
    log.debug("Doing a cold sync!");
    DataSyncService dss = new org.jboss.errai.jpa.sync.server.DataSyncServiceImpl(em, attributeAccessor);
    return dss.coldSync(dataSet, remoteResults);
  }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.