Class DefaultItemSyncTimestampDao
java.lang.Object
de.hybris.platform.catalog.daos.impl.DefaultItemSyncTimestampDao
- All Implemented Interfaces:
ItemSyncTimestampDao
Default implementation of
ItemSyncTimestampDao.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindLastSourceSyncTimestamps(SyncItemJobModel syncJob, ItemModel source) Returns list ofItemSyncTimestampModelfor a given source itemsyncJob.sourceandtargetfindLastTargetSyncTimestamps(SyncItemJobModel syncJob, ItemModel target) Returns list ofItemSyncTimestampModelfor a given target itemsyncJob.sourceandtargetfindSyncTimestampsByCatalogVersion(CatalogVersionModel catalogVersion, int limit) Returns a limited list of sync timestamps for a specifiedcatalogVersion.
ThecatalogVersionmay be bothItemSyncTimestampModel.SOURCEVERSIONorItemSyncTimestampModel.TARGETVERSION.findSyncTimestampsByItem(ItemModel item, int limit) Returns a limited list of sync timestamps for a specifieditem.
Theitemmay be both:ItemSyncTimestampModel.SOURCEITEMorItemSyncTimestampModel.TARGETITEM.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
Constructor Details
-
DefaultItemSyncTimestampDao
public DefaultItemSyncTimestampDao()
-
-
Method Details
-
findSyncTimestampsByItem
Description copied from interface:ItemSyncTimestampDaoReturns a limited list of sync timestamps for a specifieditem.
Theitemmay be both:ItemSyncTimestampModel.SOURCEITEMorItemSyncTimestampModel.TARGETITEM.- Specified by:
findSyncTimestampsByItemin interfaceItemSyncTimestampDao- Parameters:
item-ItemModelfor which we are searching sync timestampslimit- limit count of result (-1 : no limit)
-
findSyncTimestampsByCatalogVersion
public List<ItemSyncTimestampModel> findSyncTimestampsByCatalogVersion(CatalogVersionModel catalogVersion, int limit) Description copied from interface:ItemSyncTimestampDaoReturns a limited list of sync timestamps for a specifiedcatalogVersion.
ThecatalogVersionmay be bothItemSyncTimestampModel.SOURCEVERSIONorItemSyncTimestampModel.TARGETVERSION.- Specified by:
findSyncTimestampsByCatalogVersionin interfaceItemSyncTimestampDao- Parameters:
catalogVersion-CatalogVersionModelfor which we are searching sync timestampslimit- limit count of result (-1 : no limit)
-
findLastSourceSyncTimestamps
public List<ItemSyncTimestampModel> findLastSourceSyncTimestamps(SyncItemJobModel syncJob, ItemModel source) Description copied from interface:ItemSyncTimestampDaoReturns list ofItemSyncTimestampModelfor a given source itemsyncJob.sourceandtarget- Specified by:
findLastSourceSyncTimestampsin interfaceItemSyncTimestampDao- Parameters:
syncJob-ItemModelfor which syncJob are searching sync timestampsource-ItemModelsource item
-
findLastTargetSyncTimestamps
public List<ItemSyncTimestampModel> findLastTargetSyncTimestamps(SyncItemJobModel syncJob, ItemModel target) Description copied from interface:ItemSyncTimestampDaoReturns list ofItemSyncTimestampModelfor a given target itemsyncJob.sourceandtarget- Specified by:
findLastTargetSyncTimestampsin interfaceItemSyncTimestampDao- Parameters:
syncJob-ItemModelfor which syncJob are searching sync timestamptarget-ItemModelsource item
-
setFlexibleSearchService
-