Subversion Repositories SmartDukaan

Rev

Rev 36482 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36482 Rev 37143
Line 3... Line 3...
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.model.BrandAndAddToCartEligibleModel;
4
import com.spice.profitmandi.common.model.BrandAndAddToCartEligibleModel;
5
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
5
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
6
import org.springframework.stereotype.Service;
6
import org.springframework.stereotype.Service;
7
 
7
 
-
 
8
import java.util.Collection;
8
import java.util.List;
9
import java.util.List;
-
 
10
import java.util.Map;
9
 
11
 
10
@Service
12
@Service
11
public interface BrandsService {
13
public interface BrandsService {
12
 
14
 
13
    List<BrandCatalog> getBrands(int fofoId, String email, int categoryId) throws ProfitMandiBusinessException;
15
    List<BrandCatalog> getBrands(int fofoId, String email, int categoryId) throws ProfitMandiBusinessException;
14
 
16
 
15
    List<BrandCatalog> getBrandsToDisplay(int categoryId) throws ProfitMandiBusinessException;
17
    List<BrandCatalog> getBrandsToDisplay(int categoryId) throws ProfitMandiBusinessException;
16
 
18
 
17
    List<String> partnerIneligibleBrands(int fofoId) throws ProfitMandiBusinessException;
19
    List<String> partnerIneligibleBrands(int fofoId) throws ProfitMandiBusinessException;
18
 
20
 
-
 
21
    List<String> restrictedBrands(int fofoId) throws ProfitMandiBusinessException;
-
 
22
 
-
 
23
    void applyRestrictedSolrExclusion(Map<String, String> params, int fofoId) throws ProfitMandiBusinessException;
-
 
24
 
-
 
25
    void validateOrderableBrands(int fofoId, Collection<String> brands) throws ProfitMandiBusinessException;
-
 
26
 
19
    BrandAndAddToCartEligibleModel wodcompletBrands(int fofoId) throws ProfitMandiBusinessException;
27
    BrandAndAddToCartEligibleModel wodcompletBrands(int fofoId) throws ProfitMandiBusinessException;
20
 
28
 
21
    List<BrandCatalog> getAllActiveBrands() throws ProfitMandiBusinessException;
29
    List<BrandCatalog> getAllActiveBrands() throws ProfitMandiBusinessException;
22
}
30
}