Rev 37211 | Rev 37254 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.catalog;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.catalog.ModelHotDeal;import java.time.LocalDate;import java.util.List;public interface ModelHotDealService {int MAX_ACTIVE_DEALS_PER_BRAND = 15;List<ModelHotDeal> getDealsForBrand(int brandId);long countActive(int brandId);void addDeal(int brandId, int catalogItemId, LocalDate startDate, LocalDate endDate,HotDealAttributes attributes, String user) throws ProfitMandiBusinessException;void updateDeal(int id, LocalDate startDate, LocalDate endDate,HotDealAttributes attributes, String user) throws ProfitMandiBusinessException;void removeDeal(int id) throws ProfitMandiBusinessException;}