Subversion Repositories SmartDukaan

Rev

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

Rev 23202 Rev 23269
Line 11... Line 11...
11
 * @author ashikali
11
 * @author ashikali
12
 *
12
 *
13
 */
13
 */
14
@Repository
14
@Repository
15
public interface UserRepository {
15
public interface UserRepository {
16
	public void persist(User user) throws ProfitMandiBusinessException;
16
	public void persist(User user);
17
	public User selectById(int id) throws ProfitMandiBusinessException;
17
	public User selectById(int id) throws ProfitMandiBusinessException;
18
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
18
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
19
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
19
	public User selectBySecondryEmailId(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 User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
22
	public List<Integer> selectIdAll();
22
	public List<Integer> selectIdAll();
23
	public boolean isExistByMobileNumber(String mobileNumber);
23
	public boolean isExistByMobileNumber(String mobileNumber);
24
	public boolean isExistByEmailId(String emailId);
24
	public boolean isExistByEmailId(String emailId);
25
	public boolean isExistBySecondryEmailId(String emailId);
25
	public boolean isExistBySecondryEmailId(String emailId);
26
	public List<User> selectAll(int pageNumber, int pageSize);
-
 
27
}
26
}
28
27