Interface PromotionDao

All Known Implementing Classes:
DefaultPromotionDao

public interface PromotionDao
Data Access Object for looking up items related to AbstractPromotionModel.
  • Method Details

    • findPromotionByCode

      AbstractPromotionModel findPromotionByCode(String code)
      Find a stored item of AbstractPromotionModel type by it code (even if has immutableKeyHash != null). Or null if it is not found.
    • findPromotionGroupByCode

      PromotionGroupModel findPromotionGroupByCode(String code)
      Finds PromotionGroup objects from the code identifier
      Parameters:
      code - identifier for the promotion group
      Returns:
      PromotionGroupModel matching the code
    • findDefaultPromotionGroup

      PromotionGroupModel findDefaultPromotionGroup()
      Finds default PromotionGroup object
      Returns:
      default PromotionGroupModel