Subversion Repositories SmartDukaan

Rev

Rev 27861 | Rev 30099 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
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;
27877 amit.gupta 16
import com.spice.profitmandi.service.offers.PartnerCriteria;
22980 ashik.ali 17
 
18
@Service
19
public interface RetailerService {
27877 amit.gupta 20
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
21
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
22
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
23329 ashik.ali 23
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
23509 amit.gupta 24
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
26965 amit.gupta 25
	public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
27861 tejbeer 26
 
27
	public Map<Integer, CustomRetailer> getAllFofoRetailers();
28
 
23957 tejbeer 29
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
23781 ashik.ali 30
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
24349 amit.gupta 31
	public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
23880 ashik.ali 32
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
24349 amit.gupta 33
	Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
34
	Map<Integer, String> getAllFofoRetailerIdNameMap();
26533 amit.gupta 35
	Map<Integer, String> getAllFofoRetailerIdUrlMap();
27861 tejbeer 36
 
37
	Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
38
 
26522 amit.gupta 39
	LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
40
			throws ProfitMandiBusinessException;
26590 amit.gupta 41
	Map<String, Integer> getStoreCodeRetailerMap();
27877 amit.gupta 42
	String getPartnerCriteriaString(PartnerCriteria partnerCriteria);
22980 ashik.ali 43
}