Subversion Repositories SmartDukaan

Rev

Rev 23880 | Rev 23955 | 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;
22980 ashik.ali 15
 
16
@Service
17
public interface RetailerService {
18
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
23025 ashik.ali 19
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
23378 ashik.ali 20
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName) throws ProfitMandiBusinessException;
23329 ashik.ali 21
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
23509 amit.gupta 22
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
23942 tejbeer 23
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
23781 ashik.ali 24
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
25
	public List<MapWrapper<Integer, String>> getFofoRetailerIdEmailIdMap();
23880 ashik.ali 26
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
22980 ashik.ali 27
}