Subversion Repositories SmartDukaan

Rev

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

Rev 30219 Rev 32668
Line 1... Line 1...
1
package com.spice.profitmandi.service.user;
1
package com.spice.profitmandi.service.user;
2
 
2
 
3
import java.util.List;
-
 
4
import java.util.Map;
-
 
5
import java.util.Set;
-
 
6
 
-
 
7
import org.springframework.stereotype.Service;
-
 
8
 
-
 
9
import com.spice.profitmandi.common.enumuration.FofoType;
3
import com.spice.profitmandi.common.enumuration.FofoType;
10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
11
import com.spice.profitmandi.common.model.CustomRetailer;
5
import com.spice.profitmandi.common.model.CustomRetailer;
12
import com.spice.profitmandi.common.model.MapWrapper;
6
import com.spice.profitmandi.common.model.MapWrapper;
13
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
7
import com.spice.profitmandi.common.model.UpdateRetailerRequest;
14
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
8
import com.spice.profitmandi.dao.entity.dtr.DistrictMaster;
-
 
9
import com.spice.profitmandi.dao.entity.dtr.User;
15
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
10
import com.spice.profitmandi.dao.entity.fofo.FofoStore;
16
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
11
import com.spice.profitmandi.dao.entity.user.LoginRequestResponseModel;
17
import com.spice.profitmandi.service.offers.PartnerCriteria;
12
import com.spice.profitmandi.service.offers.PartnerCriteria;
-
 
13
import org.springframework.stereotype.Service;
-
 
14
 
-
 
15
import java.util.List;
-
 
16
import java.util.Map;
-
 
17
import java.util.Set;
18
 
18
 
19
@Service
19
@Service
20
public interface RetailerService {
20
public interface RetailerService {
21
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
21
	public Map<String, Object> getByEmailIdOrMobileNumber(String emailIdOrMobileNumber)
22
			throws ProfitMandiBusinessException;
22
			throws ProfitMandiBusinessException;
Line 58... Line 58...
58
			throws ProfitMandiBusinessException;
58
			throws ProfitMandiBusinessException;
59
 
59
 
60
	Map<String, Integer> getStoreCodeRetailerMap();
60
	Map<String, Integer> getStoreCodeRetailerMap();
61
 
61
 
62
	String getPartnerCriteriaString(PartnerCriteria partnerCriteria);
62
	String getPartnerCriteriaString(PartnerCriteria partnerCriteria);
-
 
63
 
-
 
64
 
-
 
65
	User getEmail();
-
 
66
 
-
 
67
	void update(com.spice.profitmandi.dao.entity.user.User user);
-
 
68
 
-
 
69
	void updateRetailerEmail(int fofoID, String newEmail) throws ProfitMandiBusinessException;
-
 
70
 
-
 
71
 
-
 
72
	//void update(com.spice.profitmandi.dao.entity.user.User user);
-
 
73
//	{
-
 
74
//		String sql="update Emp99 set name='"+p.getName()+"', salary="+p.getSalary()+",designation='"+p.getDesignation()+"' where id="+p.getId()+"";
-
 
75
//		return template.update(sql);
-
 
76
//	}
63
}
77
}