Class DefaultExportProductService
- java.lang.Object
-
- de.hybris.platform.commerceservices.product.impl.DefaultExportProductService
-
- All Implemented Interfaces:
ExportProductService
public class DefaultExportProductService extends java.lang.Object implements ExportProductService
Default implementation ofExportProductService
-
-
Constructor Summary
Constructors Constructor Description DefaultExportProductService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchPageData<ProductModel>getAllProducts(java.util.Collection<CatalogVersionModel> catalogVersions, int start, int count)Returns all Products.SearchPageData<ProductModel>getModifiedProducts(java.util.Collection<CatalogVersionModel> catalogVersions, java.util.Date timestamp, int start, int count)Returns page of products modified after timestamp for catalog versionvoidsetPagedFlexibleSearchService(PagedFlexibleSearchService pagedFlexibleSearchService)
-
-
-
Method Detail
-
getAllProducts
public SearchPageData<ProductModel> getAllProducts(java.util.Collection<CatalogVersionModel> catalogVersions, int start, int count)
Description copied from interface:ExportProductServiceReturns all Products. For the search the current session active catalogversions of the current user are used.- Specified by:
getAllProductsin interfaceExportProductService- Parameters:
catalogVersions- catalog versions used to query for productsstart- index position of the first Product, which will be included in the returned Listcount- number of Products which will be returned in the List- Returns:
- page of
ProductModelwrapped onSearchResult
-
getModifiedProducts
public SearchPageData<ProductModel> getModifiedProducts(java.util.Collection<CatalogVersionModel> catalogVersions, java.util.Date timestamp, int start, int count)
Description copied from interface:ExportProductServiceReturns page of products modified after timestamp for catalog version- Specified by:
getModifiedProductsin interfaceExportProductService- Parameters:
catalogVersions- catalog versions used to query for productstimestamp- modification timestart- index position of the first Product, which will be included in the returned Listcount- number of Products which will be returned in the List- Returns:
- page of
ProductModel
-
setPagedFlexibleSearchService
public void setPagedFlexibleSearchService(PagedFlexibleSearchService pagedFlexibleSearchService)
-
-