Subversion Repositories SmartDukaan

Rev

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

Rev 24107 Rev 24159
Line 16... Line 16...
16
 */
16
 */
17
@Repository
17
@Repository
18
@Transactional
18
@Transactional
19
public interface UserRepository {
19
public interface UserRepository {
20
	public void persist(User user);
20
	public void persist(User user);
-
 
21
 
21
	public User selectById(int id) throws ProfitMandiBusinessException;
22
	public User selectById(int id) throws ProfitMandiBusinessException;
-
 
23
 
22
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
24
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
-
 
25
 
23
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
26
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
-
 
27
 
24
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
28
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
-
 
29
 
25
	public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
30
	public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
-
 
31
 
26
	public List<Integer> selectIdAll();
32
	public List<Integer> selectIdAll();
-
 
33
 
27
	public List<User> selectAllByIds(Set<Integer> ids);
34
	public List<User> selectAllByIds(Set<Integer> ids);
-
 
35
 
28
	public boolean isExistByMobileNumber(String mobileNumber);
36
	public boolean isExistByMobileNumber(String mobileNumber);
-
 
37
 
29
	public boolean isExistByEmailId(String emailId);
38
	public boolean isExistByEmailId(String emailId);
-
 
39
 
30
	public boolean isExistBySecondryEmailId(String emailId);
40
	public boolean isExistBySecondryEmailId(String emailId);
-
 
41
 
31
	public List<User> selectAll();
42
	public List<User> selectAll();
32
}
43
}
33
44