public class Synchronization extends Object
Constructor and Description |
---|
Synchronization() |
Modifier and Type | Method and Description |
---|---|
static boolean |
sync(SyncEventSender eventSender,
int serverDataVersion,
SyncVersionInfo syncInfo,
EntitySyncHelper<SellerInfo> sellerSyncHelper,
EntitySyncHelper<PictureInfo> sellerPictureSyncHelper,
EntitySyncHelper<TaxInfo> taxSyncHelper,
EntitySyncHelper<CategoryInfo> categorySyncHelper,
EntitySyncHelper<PictureInfo> categoryPictureSyncHelper,
EntitySyncHelper<ProductInfo> productSyncHelper,
EntitySyncHelper<PictureInfo> productPictureSyncHelper,
EntitySyncHelper<CommodityInfo> commoditySyncHelper,
EntitySyncHelper<OrderInfo> orderSyncHelper,
ServiceFactory apiServicesFactory)
Deprecated.
|
static boolean |
sync(SyncEventSender eventSender,
int serverDataVersion,
SyncVersionInfo syncInfo,
ServiceFactory apiServicesFactory,
Map<Class,EntitySyncHelper> syncHelpers,
Map<Class,EntitySyncHelper> pictureSyncHelpers)
Performs synchronization of client's data, received via EntitySyncHelper interface.
|
static boolean |
sync(SyncEventSender eventSender,
SyncLogger syncLogger,
int serverDataVersion,
SyncVersionInfo syncInfo,
EntitySyncHelper<SellerInfo> sellerSyncHelper,
EntitySyncHelper<PictureInfo> sellerPictureSyncHelper,
EntitySyncHelper<TaxInfo> taxSyncHelper,
EntitySyncHelper<CategoryInfo> categorySyncHelper,
EntitySyncHelper<PictureInfo> categoryPictureSyncHelper,
EntitySyncHelper<ProductInfo> productSyncHelper,
EntitySyncHelper<PictureInfo> productPictureSyncHelper,
EntitySyncHelper<CommodityInfo> commoditySyncHelper,
EntitySyncHelper<OrderInfo> orderSyncHelper,
ServiceFactory apiServicesFactory)
Deprecated.
|
static boolean |
sync(SyncEventSender eventSender,
SyncVersionInfo syncInfo,
ServiceFactory apiServicesFactory,
Map<Class,EntitySyncHelper> syncHelpers,
Map<Class,EntitySyncHelper> pictureSyncHepers) |
static boolean |
sync(SyncVersionInfo syncInfo,
ServiceFactory apiServicesFactory,
Map<Class,EntitySyncHelper> syncHelpers,
Map<Class,EntitySyncHelper> pictureSyncHelpers) |
private static final org.apache.commons.logging.Log LOG
private static final String PRODUCT_MAIN_PICTURE_FILENAME
private static final String CATEGORY_MAIN_PICTURE_FILENAME
private static final byte[] NO_PICTURE_BYTES
private static final int MODIFICATIONS_DOWNLOADED_PERCENTS
private static final int MODIFICATIONS_DOWNLOAD_FINISHED
private static final int PRODUCT_PICTURES_DOWNLOADED_PERCENTS
private static final int CATEGORY_PICTURES_DOWNLOADED_PERCENTS
private static final int COMMODITIES_DELETED_PERCENTS
private static final int PRODUCTS_DELETED_PERCENTS
private static final int CATEGORIES_DELETED_PERCENTS
private static final int TAXES_DELETED_PERCENTS
private static final int ORDERS_DELETED_PERCENTS
private static final int TREASURERS_DELETED_PERCENTS
private static final int SELLER_UPLOADED_PERCENTS
private static final int TREASURERS_UPLOADED_PERCENTS
private static final int ORDERS_UPLOADED_PERCENTS
private static final int TAXES_UPLOADED_PERCENTS
private static final int CATEGORIES_UPLOADED_PERCENTS
private static final int PRODUCTS_UPLOADED_PERCENTS
private static final int COMMODITIES_UPLOADED_PERCENTS
private static final int MODIFICATIONS_ONE_CHUNK_MAX_SIZE
@Deprecated public static boolean sync(SyncEventSender eventSender, SyncLogger syncLogger, int serverDataVersion, SyncVersionInfo syncInfo, EntitySyncHelper<SellerInfo> sellerSyncHelper, EntitySyncHelper<PictureInfo> sellerPictureSyncHelper, EntitySyncHelper<TaxInfo> taxSyncHelper, EntitySyncHelper<CategoryInfo> categorySyncHelper, EntitySyncHelper<PictureInfo> categoryPictureSyncHelper, EntitySyncHelper<ProductInfo> productSyncHelper, EntitySyncHelper<PictureInfo> productPictureSyncHelper, EntitySyncHelper<CommodityInfo> commoditySyncHelper, EntitySyncHelper<OrderInfo> orderSyncHelper, ServiceFactory apiServicesFactory)
@Deprecated public static boolean sync(SyncEventSender eventSender, int serverDataVersion, SyncVersionInfo syncInfo, EntitySyncHelper<SellerInfo> sellerSyncHelper, EntitySyncHelper<PictureInfo> sellerPictureSyncHelper, EntitySyncHelper<TaxInfo> taxSyncHelper, EntitySyncHelper<CategoryInfo> categorySyncHelper, EntitySyncHelper<PictureInfo> categoryPictureSyncHelper, EntitySyncHelper<ProductInfo> productSyncHelper, EntitySyncHelper<PictureInfo> productPictureSyncHelper, EntitySyncHelper<CommodityInfo> commoditySyncHelper, EntitySyncHelper<OrderInfo> orderSyncHelper, ServiceFactory apiServicesFactory)
public static boolean sync(SyncVersionInfo syncInfo, ServiceFactory apiServicesFactory, Map<Class,EntitySyncHelper> syncHelpers, Map<Class,EntitySyncHelper> pictureSyncHelpers)
public static boolean sync(SyncEventSender eventSender, SyncVersionInfo syncInfo, ServiceFactory apiServicesFactory, Map<Class,EntitySyncHelper> syncHelpers, Map<Class,EntitySyncHelper> pictureSyncHepers)
public static boolean sync(SyncEventSender eventSender, int serverDataVersion, SyncVersionInfo syncInfo, ServiceFactory apiServicesFactory, Map<Class,EntitySyncHelper> syncHelpers, Map<Class,EntitySyncHelper> pictureSyncHelpers)
Performs synchronization of client's data, received via EntitySyncHelper interface.
eventSender
- serverDataVersion
- syncInfo
- apiServicesFactory
- syncHelpers
- pictureSyncHelpers
- Copyright © 2016. All rights reserved.