| 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 |
|
|
|
9 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 23509 |
amit.gupta |
10 |
import com.spice.profitmandi.common.model.CustomRetailer;
|
| 23781 |
ashik.ali |
11 |
import com.spice.profitmandi.common.model.MapWrapper;
|
| 23025 |
ashik.ali |
12 |
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
|
| 23329 |
ashik.ali |
13 |
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
|
| 23378 |
ashik.ali |
14 |
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
|
| 26522 |
amit.gupta |
15 |
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
|
| 22980 |
ashik.ali |
16 |
|
|
|
17 |
@Service
|
|
|
18 |
public interface RetailerService {
|
| 27861 |
tejbeer |
19 |
public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
|
|
|
20 |
throws ProfitMandiBusinessException;
|
|
|
21 |
|
|
|
22 |
public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest)
|
|
|
23 |
throws ProfitMandiBusinessException;
|
|
|
24 |
|
|
|
25 |
public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
|
|
|
26 |
UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
|
|
|
27 |
|
| 23329 |
ashik.ali |
28 |
public List<DistrictMaster> getAllDistrictMaster(String stateName);
|
| 27861 |
tejbeer |
29 |
|
| 23509 |
amit.gupta |
30 |
public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
|
| 27861 |
tejbeer |
31 |
|
| 26965 |
amit.gupta |
32 |
public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
|
| 27861 |
tejbeer |
33 |
|
|
|
34 |
public Map<Integer, CustomRetailer> getAllFofoRetailers();
|
|
|
35 |
|
| 23957 |
tejbeer |
36 |
public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
|
| 27861 |
tejbeer |
37 |
|
| 23781 |
ashik.ali |
38 |
public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
|
| 27861 |
tejbeer |
39 |
|
| 24349 |
amit.gupta |
40 |
public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
|
| 27861 |
tejbeer |
41 |
|
| 23880 |
ashik.ali |
42 |
public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
|
| 27861 |
tejbeer |
43 |
|
| 24349 |
amit.gupta |
44 |
Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
|
| 27861 |
tejbeer |
45 |
|
| 24349 |
amit.gupta |
46 |
Map<Integer, String> getAllFofoRetailerIdNameMap();
|
| 27861 |
tejbeer |
47 |
|
| 26533 |
amit.gupta |
48 |
Map<Integer, String> getAllFofoRetailerIdUrlMap();
|
| 27861 |
tejbeer |
49 |
|
|
|
50 |
Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
|
|
|
51 |
|
| 26522 |
amit.gupta |
52 |
LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
|
|
|
53 |
throws ProfitMandiBusinessException;
|
| 27861 |
tejbeer |
54 |
|
| 26590 |
amit.gupta |
55 |
Map<String, Integer> getStoreCodeRetailerMap();
|
| 22980 |
ashik.ali |
56 |
}
|