public class DefaultItemSyncTimestampDao extends java.lang.Object implements ItemSyncTimestampDao
ItemSyncTimestampDao.| Constructor and Description |
|---|
DefaultItemSyncTimestampDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemSyncTimestampModel> |
findLastSourceSyncTimestamps(SyncItemJobModel syncJob,
ItemModel source)
Returns list of
ItemSyncTimestampModel for a given source item
syncJob |
java.util.List<ItemSyncTimestampModel> |
findLastTargetSyncTimestamps(SyncItemJobModel syncJob,
ItemModel target)
Returns list of
ItemSyncTimestampModel for a given target item
syncJob |
java.util.List<ItemSyncTimestampModel> |
findSyncTimestampsByCatalogVersion(CatalogVersionModel catalogVersion,
int limit)
Returns a limited list of sync timestamps for a specified
catalogVersion |
java.util.List<ItemSyncTimestampModel> |
findSyncTimestampsByItem(ItemModel item,
int limit)
Returns a limited list of sync timestamps for a specified
item |
void |
setFlexibleSearchService(FlexibleSearchService flexibleSearchService) |
public java.util.List<ItemSyncTimestampModel> findSyncTimestampsByItem(ItemModel item, int limit)
ItemSyncTimestampDaoitem.
The item may be both: ItemSyncTimestampModel.SOURCEITEM or ItemSyncTimestampModel.TARGETITEM.findSyncTimestampsByItem in interface ItemSyncTimestampDaoitem - ItemModel for which we are searching sync timestampslimit - limit count of result (-1 : no limit)public java.util.List<ItemSyncTimestampModel> findSyncTimestampsByCatalogVersion(CatalogVersionModel catalogVersion, int limit)
ItemSyncTimestampDaocatalogVersion.
The catalogVersion may be both ItemSyncTimestampModel.SOURCEVERSION or ItemSyncTimestampModel.TARGETVERSION.findSyncTimestampsByCatalogVersion in interface ItemSyncTimestampDaocatalogVersion - CatalogVersionModel for which we are searching sync timestampslimit - limit count of result (-1 : no limit)public java.util.List<ItemSyncTimestampModel> findLastSourceSyncTimestamps(SyncItemJobModel syncJob, ItemModel source)
ItemSyncTimestampDaoItemSyncTimestampModel for a given source item
syncJob.
source and targetfindLastSourceSyncTimestamps in interface ItemSyncTimestampDaosyncJob - ItemModel for which syncJob are searching sync timestampsource - ItemModel source itempublic java.util.List<ItemSyncTimestampModel> findLastTargetSyncTimestamps(SyncItemJobModel syncJob, ItemModel target)
ItemSyncTimestampDaoItemSyncTimestampModel for a given target item
syncJob.
source and targetfindLastTargetSyncTimestamps in interface ItemSyncTimestampDaosyncJob - ItemModel for which syncJob are searching sync timestamptarget - ItemModel source itempublic void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
Copyright © 2018 SAP SE. All Rights Reserved.