Subversion Repositories SmartDukaan

Rev

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

Rev 25383 Rev 33247
Line 1... Line 1...
1
package com.spice.profitmandi.dao.repository.dtr;
1
package com.spice.profitmandi.dao.repository.dtr;
2
 
2
 
3
import java.util.List;
-
 
4
import java.util.Set;
-
 
5
 
-
 
6
import org.springframework.stereotype.Repository;
-
 
7
 
-
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.dao.entity.dtr.User;
4
import com.spice.profitmandi.dao.entity.dtr.User;
-
 
5
import org.springframework.stereotype.Repository;
-
 
6
 
-
 
7
import java.util.List;
-
 
8
import java.util.Set;
10
 
9
 
11
/**
10
/**
12
 * @author ashikali
11
 * @author ashikali
13
 *
12
 *
14
 */
13
 */
Line 20... Line 19...
20
 
19
 
21
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
20
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
22
	
21
	
23
	public List<User> selectAllByEmails(List<String> emails,int offset, int limit);
22
	public List<User> selectAllByEmails(List<String> emails,int offset, int limit);
24
 
23
 
25
	public List<User> selectAllByEmailIds(List<String> emails);
24
    public List<User> selectAllByEmailIds(List<String> emails) throws ProfitMandiBusinessException;
26
 
25
 
27
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
26
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
28
 
27
 
29
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
28
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
30
 
29
 
31
	public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
30
	public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;
32
 
31
 
33
	public List<Integer> selectIdAll();
32
	public List<Integer> selectIdAll();
34
 
33
 
35
	public List<User> selectAllByIds(Set<Integer> ids);
34
    public List<User> selectAllByIds(Set<Integer> ids) throws ProfitMandiBusinessException;
36
 
35
 
37
	public boolean isExistByMobileNumber(String mobileNumber);
36
	public boolean isExistByMobileNumber(String mobileNumber);
38
 
37
 
39
	public boolean isExistByEmailId(String emailId);
38
	public boolean isExistByEmailId(String emailId);
40
 
39