Subversion Repositories SmartDukaan

Rev

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

Rev 23378 Rev 23509
Line 4... Line 4...
4
import java.util.Map;
4
import java.util.Map;
5
 
5
 
6
import org.springframework.stereotype.Service;
6
import org.springframework.stereotype.Service;
7
 
7
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
-
 
9
import com.spice.profitmandi.common.model.CustomRetailer;
9
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
10
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
10
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
11
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
11
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
12
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
12
 
13
 
13
@Service
14
@Service
14
public interface RetailerService {
15
public interface RetailerService {
15
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
16
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
16
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
17
	public Map<String, Object> updateRetailerDetails(UpdateRetailerRequest updateRetailerRequest) throws ProfitMandiBusinessException;
17
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName) throws ProfitMandiBusinessException;
18
	public FofoStore createFofoStoreCodeByUserId(int userId, String districtName, String stateName) throws ProfitMandiBusinessException;
18
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
19
	public List<DistrictMaster> getAllDistrictMaster(String stateName);
-
 
20
	public Map<Integer, CustomRetailer> getFofoRetailers(List<Integer> fofoIds);
19
}
21
}