Rev 26590 | Rev 27861 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.user;import java.util.List;import java.util.Map;import java.util.Set;import org.springframework.stereotype.Service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.common.model.CustomRetailer;import com.spice.profitmandi.common.model.MapWrapper;import com.spice.profitmandi.common.model.UpdateRetailerRequest;import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;import com.spice.profitmandi.dao.entity.fofo.FofoStore;import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;@Servicepublic interface RetailerService {public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName,UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;public List<DistrictMaster> getAllDistrictMaster(String stateName);public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);public Map<Integer, CustomRetailer> getFofoRetailers(boolean activeOnly);public CustomRetailer getFofoRetailer(int fofoId) throws ProfitMandiBusinessException;public Map<Integer, String> getAllFofoRetailerIdEmailIdMap();public List<MapWrapper<Integer, String>> getAllFofoRetailerIdNameList();public Map<Integer, String> getAllFofoRetailerIdEmailIdMap(Set<Integer> retailerIds);Map<Integer, String> getAllFofoRetailerIdNameMap(List<Integer> storeIds);Map<Integer, String> getAllFofoRetailerIdNameMap();Map<Integer, String> getAllFofoRetailerIdUrlMap();Map<Integer, CustomRetailer> getFofoRetailerUserId(List<Integer> fofoIds)throws ProfitMandiBusinessException;LoginRequestResponseModel registerWebUser(LoginRequestResponseModel loginRequestModel)throws ProfitMandiBusinessException;Map<String, Integer> getStoreCodeRetailerMap();}