Interface PriceSortingService

All Known Implementing Classes:
PriceSortingServiceImpl

public interface PriceSortingService
used to set the price_sorting field on Article entities
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sets the price_sorting field on several Article entities based on their current default price
    void
    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

      void updatePriceSortingForArticles(EntityList articles)
      sets the price_sorting field on several Article entities based on their current default price
      Parameters:
      articles - list of articles to set
    • updatePriceSortingForPrice

      void 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
      Parameters:
      articlePrice - the Article_price to get the Article from and set the price_sorting to