Subversion Repositories SmartDukaan

Rev

Rev 36482 | View as "text/plain" | 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.common.model.BrandAndAddToCartEligibleModel;
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
import org.springframework.stereotype.Service;

import java.util.Collection;
import java.util.List;
import java.util.Map;

@Service
public interface BrandsService {

    List<BrandCatalog> getBrands(int fofoId, String email, int categoryId) throws ProfitMandiBusinessException;

    List<BrandCatalog> getBrandsToDisplay(int categoryId) throws ProfitMandiBusinessException;

    List<String> partnerIneligibleBrands(int fofoId) throws ProfitMandiBusinessException;

    List<String> restrictedBrands(int fofoId) throws ProfitMandiBusinessException;

    void applyRestrictedSolrExclusion(Map<String, String> params, int fofoId) throws ProfitMandiBusinessException;

    void validateOrderableBrands(int fofoId, Collection<String> brands) throws ProfitMandiBusinessException;

    BrandAndAddToCartEligibleModel wodcompletBrands(int fofoId) throws ProfitMandiBusinessException;

    List<BrandCatalog> getAllActiveBrands() throws ProfitMandiBusinessException;
}