Subversion Repositories SmartDukaan

Rev

Rev 27861 | Rev 30099 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27861 Rev 27877
Line 11... Line 11...
11
import com.spice.profitmandi.common.model.MapWrapper;
11
import com.spice.profitmandi.common.model.MapWrapper;
12
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
12
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
13
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
13
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
14
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
14
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
15
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
15
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
-
 
16
import com.spice.profitmandi.service.offers.PartnerCriteria;
16
 
17
 
17
@Service
18
@Service
18
public interface RetailerService {
19
public interface RetailerService {
19
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
20
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
20
			throws ProfitMandiBusinessException;
-
 
21
 
-
 
22
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest)
21
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
23
			throws ProfitMandiBusinessException;
-
 
24
 
-
 
25
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
22
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
26
			UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
-
 
27
 
-
 
28
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
23
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
29
 
-
 
30
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
24
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
31
 
-
 
32
	public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
25
	public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
33
 
26
 
34
	public Map<Integer, CustomRetailer> getAllFofoRetailers();
27
	public Map<Integer, CustomRetailer> getAllFofoRetailers();
35
 
28
 
36
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
29
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
37
 
-
 
38
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
30
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
39
 
-
 
40
	public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
31
	public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
41
 
-
 
42
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
32
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
43
 
-
 
44
	Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
33
	Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
45
 
-
 
46
	Map<Integer, String> getAllFofoRetailerIdNameMap();
34
	Map<Integer, String> getAllFofoRetailerIdNameMap();
47
 
-
 
48
	Map<Integer, String> getAllFofoRetailerIdUrlMap();
35
	Map<Integer, String> getAllFofoRetailerIdUrlMap();
49
 
36
 
50
	Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
37
	Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
51
 
38
 
52
	LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
39
	LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
53
			throws ProfitMandiBusinessException;
40
			throws ProfitMandiBusinessException;
54
 
-
 
55
	Map<String, Integer> getStoreCodeRetailerMap();
41
	Map<String, Integer> getStoreCodeRetailerMap();
-
 
42
	String getPartnerCriteriaString(PartnerCriteria partnerCriteria);
56
}
43
}