Subversion Repositories SmartDukaan

Rev

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

Rev 22352 Rev 22980
Line 16... Line 16...
16
public interface UserRepository {
16
public interface UserRepository {
17
	public void persist(User user) throws ProfitMandiBusinessException;
17
	public void persist(User user) throws ProfitMandiBusinessException;
18
	public User selectById(int id) throws ProfitMandiBusinessException;
18
	public User selectById(int id) throws ProfitMandiBusinessException;
19
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
19
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
20
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
20
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
-
 
21
	public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
21
	public List<Integer> selectIdAll();
22
	public List<Integer> selectIdAll();
22
	public boolean isExistByMobileNumber(String mobileNumber);
23
	public boolean isExistByMobileNumber(String mobileNumber);
23
	public boolean isExistByEmailId(String emailId);
24
	public boolean isExistByEmailId(String emailId);
24
	public List<User> selectAll(int pageNumber, int pageSize);
25
	public List<User> selectAll(int pageNumber, int pageSize);
25
	public List<String> selectEmailIdsByEmailIds(Set<String> emailIds);
26
	public List<String> selectEmailIdsByEmailIds(Set<String> emailIds);