| 31507 |
tejbeer |
1 |
package com.spice.profitmandi.service.catalog;
|
|
|
2 |
|
| 33243 |
ranu |
3 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 34629 |
tejus.loha |
4 |
import com.spice.profitmandi.common.model.BrandAndAddToCartEligibleModel;
|
| 33243 |
ranu |
5 |
import com.spice.profitmandi.dao.entity.catalog.BrandCatalog;
|
| 31507 |
tejbeer |
6 |
import org.springframework.stereotype.Service;
|
|
|
7 |
|
| 37143 |
amit |
8 |
import java.util.Collection;
|
| 33243 |
ranu |
9 |
import java.util.List;
|
| 37143 |
amit |
10 |
import java.util.Map;
|
| 31507 |
tejbeer |
11 |
|
|
|
12 |
@Service
|
|
|
13 |
public interface BrandsService {
|
|
|
14 |
|
| 33243 |
ranu |
15 |
List<BrandCatalog> getBrands(int fofoId, String email, int categoryId) throws ProfitMandiBusinessException;
|
| 31507 |
tejbeer |
16 |
|
| 33243 |
ranu |
17 |
List<BrandCatalog> getBrandsToDisplay(int categoryId) throws ProfitMandiBusinessException;
|
| 31507 |
tejbeer |
18 |
|
| 34513 |
ranu |
19 |
List<String> partnerIneligibleBrands(int fofoId) throws ProfitMandiBusinessException;
|
|
|
20 |
|
| 37143 |
amit |
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 |
|
| 34629 |
tejus.loha |
27 |
BrandAndAddToCartEligibleModel wodcompletBrands(int fofoId) throws ProfitMandiBusinessException;
|
| 36482 |
vikas |
28 |
|
|
|
29 |
List<BrandCatalog> getAllActiveBrands() throws ProfitMandiBusinessException;
|
| 31507 |
tejbeer |
30 |
}
|