| 22980 |
ashik.ali |
1 |
package com.spice.profitmandi.service.user;
|
|
|
2 |
|
| 23329 |
ashik.ali |
3 |
import java.util.List;
|
| 22980 |
ashik.ali |
4 |
import java.util.Map;
|
| 23880 |
ashik.ali |
5 |
import java.util.Set;
|
| 22980 |
ashik.ali |
6 |
|
|
|
7 |
import org.springframework.stereotype.Service;
|
|
|
8 |
|
| 30099 |
tejbeer |
9 |
import com.spice.profitmandi.common.enumuration.FofoType;
|
| 22980 |
ashik.ali |
10 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 23509 |
amit.gupta |
11 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
| 23781 |
ashik.ali |
12 |
import com.spice.profitmandi.common.model.MapWrapper;
|
| 23025 |
ashik.ali |
13 |
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
|
| 23329 |
ashik.ali |
14 |
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
|
| 23378 |
ashik.ali |
15 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
| 26522 |
amit.gupta |
16 |
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
|
| 27877 |
amit.gupta |
17 |
import com.spice.profitmandi.service.offers.PartnerCriteria;
|
| 22980 |
ashik.ali |
18 |
|
|
|
19 |
@Service
|
|
|
20 |
public interface RetailerService {
|
| 30099 |
tejbeer |
21 |
public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
|
|
|
22 |
throws ProfitMandiBusinessException;
|
|
|
23 |
|
|
|
24 |
public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest)
|
|
|
25 |
throws ProfitMandiBusinessException;
|
|
|
26 |
|
|
|
27 |
public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
|
|
|
28 |
UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
|
|
|
29 |
|
| 23329 |
ashik.ali |
30 |
public List<DistrictMaster> getAllDistrictMaster(String stateName);
|
| 30099 |
tejbeer |
31 |
|
| 23509 |
amit.gupta |
32 |
public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
|
| 30099 |
tejbeer |
33 |
|
| 26965 |
amit.gupta |
34 |
public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
|
| 27861 |
tejbeer |
35 |
|
|
|
36 |
public Map<Integer, CustomRetailer> getAllFofoRetailers();
|
|
|
37 |
|
| 30100 |
tejbeer |
38 |
// public Map<Integer, CustomRetailer> getFofoRetailersPaginated(boolean
|
|
|
39 |
// activeOnly, int offset, int limit,
|
|
|
40 |
// FofoType fofoType);
|
| 30099 |
tejbeer |
41 |
|
| 23957 |
tejbeer |
42 |
public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
|
| 30099 |
tejbeer |
43 |
|
| 23781 |
ashik.ali |
44 |
public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
|
| 30099 |
tejbeer |
45 |
|
| 24349 |
amit.gupta |
46 |
public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
|
| 30099 |
tejbeer |
47 |
|
| 23880 |
ashik.ali |
48 |
public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
|
| 30099 |
tejbeer |
49 |
|
| 24349 |
amit.gupta |
50 |
Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
|
| 30099 |
tejbeer |
51 |
|
| 24349 |
amit.gupta |
52 |
Map<Integer, String> getAllFofoRetailerIdNameMap();
|
| 30099 |
tejbeer |
53 |
|
| 26533 |
amit.gupta |
54 |
Map<Integer, String> getAllFofoRetailerIdUrlMap();
|
| 27861 |
tejbeer |
55 |
|
|
|
56 |
Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
|
|
|
57 |
|
| 26522 |
amit.gupta |
58 |
LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
|
|
|
59 |
throws ProfitMandiBusinessException;
|
| 30099 |
tejbeer |
60 |
|
| 26590 |
amit.gupta |
61 |
Map<String, Integer> getStoreCodeRetailerMap();
|
| 30099 |
tejbeer |
62 |
|
| 27877 |
amit.gupta |
63 |
String getPartnerCriteriaString(PartnerCriteria partnerCriteria);
|
| 22980 |
ashik.ali |
64 |
}
|