Interface TmaProductOfferingPriceFacade

All Known Implementing Classes:
DefaultTmaProductOfferingPriceFacade

public interface TmaProductOfferingPriceFacade
Facade that handles operations related to TmaProductOfferingPriceData.
Since:
2102
  • Method Details

    • getPop

      Retrieves the TmaProductOfferingPriceData with the given code.
      Parameters:
      code - unique identifier of the TmaProductOfferingPriceData to be retrieved
      Returns:
      the TmaProductOfferingPriceData found.
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - if no product offering price is found.
    • createProductOfferingPrice

      boolean createProductOfferingPrice(TmaProductOfferingPriceData productOfferingPriceData)
      Parameters:
      productOfferingPriceData - the given product offering price data.
      Returns:
      true if successful, false otherwise.
    • updateProductOfferingPrice

      boolean updateProductOfferingPrice(TmaProductOfferingPriceData productOfferingPriceData)
      Updates the given TmaProductOfferingPriceData.
      Parameters:
      productOfferingPriceData - the product offering price data
      Returns:
      true if successful, false otherwise.
    • removeProductOfferingPrice

      boolean removeProductOfferingPrice(String id)
      Removes the product offering price by id.
      Parameters:
      id - the id of the Product Offering Price.
      Returns:
      true if successful, false otherwise.
    • getPopDataClassFor

      Class<TmaProductOfferingPriceData> getPopDataClassFor(String priceType)
      Returns the TmaProductOfferingPriceData subtype for the given price type.
      Parameters:
      priceType - the priceType from the ProductOfferingPrice dto.
      Returns:
      the class found for the given price type.
    • getPopsByLimitAndOffset

      List<TmaProductOfferingPriceData> getPopsByLimitAndOffset(TmaProductOfferingPriceFilterContextData productOfferingPriceFilterContextData, Integer offset, Integer limit)
      Retrieves a list of product offering prices filtered by context
      Parameters:
      productOfferingPriceFilterContextData - the context.
      offset - the offset represents the position in list from where the result list will start.
      limit - the limit represents the number of entries that will be selected for the result list.
      Returns:
      the list of product offering prices.
    • getNumberOfPops

      Integer getNumberOfPops(TmaProductOfferingPriceFilterContextData productOfferingPriceFilterContextData)
      Retrieves the total number of product offering prices found for the given filtering context.
      Parameters:
      productOfferingPriceFilterContextData - the filtering context.
      Returns:
      the number of product offering prices.