Subversion Repositories SmartDukaan

Rev

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

Rev 26965 Rev 27861
Line 14... Line 14...
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
 
16
 
17
@Service
17
@Service
18
public interface RetailerService {
18
public interface RetailerService {
19
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
19
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
-
 
20
			throws ProfitMandiBusinessException;
-
 
21
 
20
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
22
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest)
-
 
23
			throws ProfitMandiBusinessException;
-
 
24
 
21
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
25
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,
-
 
26
			UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
-
 
27
 
22
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
28
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
-
 
29
 
23
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
30
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
-
 
31
 
24
	public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
32
	public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);
-
 
33
 
-
 
34
	public Map<Integer, CustomRetailer> getAllFofoRetailers();
-
 
35
 
25
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
36
	public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;
-
 
37
 
26
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
38
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();
-
 
39
 
27
	public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
40
	public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();
-
 
41
 
28
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
42
	public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);
-
 
43
 
29
	Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
44
	Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);
-
 
45
 
30
	Map<Integer, String> getAllFofoRetailerIdNameMap();
46
	Map<Integer, String> getAllFofoRetailerIdNameMap();
-
 
47
 
31
	Map<Integer, String> getAllFofoRetailerIdUrlMap();
48
	Map<Integer, String> getAllFofoRetailerIdUrlMap();
-
 
49
 
32
	Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds)throws ProfitMandiBusinessException;
50
	Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds) throws ProfitMandiBusinessException;
-
 
51
 
33
	LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
52
	LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)
34
			throws ProfitMandiBusinessException;
53
			throws ProfitMandiBusinessException;
-
 
54
 
35
	Map<String, Integer> getStoreCodeRetailerMap();
55
	Map<String, Integer> getStoreCodeRetailerMap();
36
}
56
}