Class DefaultItemSyncTimestampDao
- java.lang.Object
-
- de.hybris.platform.catalog.daos.impl.DefaultItemSyncTimestampDao
-
- All Implemented Interfaces:
ItemSyncTimestampDao
public class DefaultItemSyncTimestampDao extends java.lang.Object implements ItemSyncTimestampDao
Default implementation ofItemSyncTimestampDao.
-
-
Constructor Summary
Constructors Constructor Description DefaultItemSyncTimestampDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ItemSyncTimestampModel>findLastSourceSyncTimestamps(SyncItemJobModel syncJob, ItemModel source)Returns list ofItemSyncTimestampModelfor a given source itemsyncJob.sourceandtargetjava.util.List<ItemSyncTimestampModel>findLastTargetSyncTimestamps(SyncItemJobModel syncJob, ItemModel target)Returns list ofItemSyncTimestampModelfor a given target itemsyncJob.sourceandtargetjava.util.List<ItemSyncTimestampModel>findSyncTimestampsByCatalogVersion(CatalogVersionModel catalogVersion, int limit)Returns a limited list of sync timestamps for a specifiedcatalogVersion.
ThecatalogVersionmay be bothItemSyncTimestampModel.SOURCEVERSIONorItemSyncTimestampModel.TARGETVERSION.java.util.List<ItemSyncTimestampModel>findSyncTimestampsByItem(ItemModel item, int limit)Returns a limited list of sync timestamps for a specifieditem.
Theitemmay be both:ItemSyncTimestampModel.SOURCEITEMorItemSyncTimestampModel.TARGETITEM.voidsetFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-
-
Method Detail
-
findSyncTimestampsByItem
public java.util.List<ItemSyncTimestampModel> findSyncTimestampsByItem(ItemModel item, int limit)
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 java.util.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 java.util.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 java.util.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
public void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
-
-