Class DefaultExportProductService

    • Constructor Detail

      • DefaultExportProductService

        public DefaultExportProductService()
    • Method Detail

      • getAllProducts

        public SearchPageData<ProductModel> getAllProducts​(java.util.Collection<CatalogVersionModel> catalogVersions,
                                                           int start,
                                                           int count)
        Description copied from interface: ExportProductService
        Returns all Products. For the search the current session active catalogversions of the current user are used.
        Specified by:
        getAllProducts in interface ExportProductService
        Parameters:
        catalogVersions - catalog versions used to query for products
        start - index position of the first Product, which will be included in the returned List
        count - number of Products which will be returned in the List
        Returns:
        page of ProductModel wrapped on SearchResult
      • getModifiedProducts

        public SearchPageData<ProductModel> getModifiedProducts​(java.util.Collection<CatalogVersionModel> catalogVersions,
                                                                java.util.Date timestamp,
                                                                int start,
                                                                int count)
        Description copied from interface: ExportProductService
        Returns page of products modified after timestamp for catalog version
        Specified by:
        getModifiedProducts in interface ExportProductService
        Parameters:
        catalogVersions - catalog versions used to query for products
        timestamp - modification time
        start - index position of the first Product, which will be included in the returned List
        count - number of Products which will be returned in the List
        Returns:
        page of ProductModel
      • setPagedFlexibleSearchService

        public void setPagedFlexibleSearchService​(PagedFlexibleSearchService pagedFlexibleSearchService)