Class DefaultExportProductService
java.lang.Object
de.hybris.platform.commerceservices.product.impl.DefaultExportProductService
- All Implemented Interfaces:
ExportProductService
Default implementation of
ExportProductService-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllProducts(Collection<CatalogVersionModel> catalogVersions, int start, int count) Returns all Products.getModifiedProducts(Collection<CatalogVersionModel> catalogVersions, Date timestamp, int start, int count) Returns page of products modified after timestamp for catalog versionvoidsetPagedFlexibleSearchService(PagedFlexibleSearchService pagedFlexibleSearchService)
-
Constructor Details
-
DefaultExportProductService
public DefaultExportProductService()
-
-
Method Details
-
getAllProducts
public SearchPageData<ProductModel> getAllProducts(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(Collection<CatalogVersionModel> catalogVersions, 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
-