Interface PriceSortingService
- All Known Implementing Classes:
PriceSortingServiceImpl
public interface PriceSortingService
used to set the price_sorting field on Article entities
-
Method Summary
Modifier and TypeMethodDescriptionvoid
updatePriceSortingForArticles
(EntityList articles) sets the price_sorting field on several Article entities based on their current default pricevoid
updatePriceSortingForPrice
(Entity articlePrice) sets the price_sorting field on the Article of a Article_price entity, if it is a default price and is newer than the default price
-
Method Details
-
updatePriceSortingForArticles
sets the price_sorting field on several Article entities based on their current default price- Parameters:
articles
- list of articles to set
-
updatePriceSortingForPrice
sets the price_sorting field on the Article of a Article_price entity, if it is a default price and is newer than the default price- Parameters:
articlePrice
- the Article_price to get the Article from and set the price_sorting to
-