| 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;
|
3 |
import java.util.List;
|
| 4 |
import java.util.Set;
|
- |
|
| 5 |
|
4 |
|
| 6 |
import org.springframework.stereotype.Repository;
|
5 |
import org.springframework.stereotype.Repository;
|
| 7 |
|
6 |
|
| 8 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
7 |
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
|
| 9 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
8 |
import com.spice.profitmandi.dao.entity.dtr.User;
|
| Line 15... |
Line 14... |
| 15 |
@Repository
|
14 |
@Repository
|
| 16 |
public interface UserRepository {
|
15 |
public interface UserRepository {
|
| 17 |
public void persist(User user) throws ProfitMandiBusinessException;
|
16 |
public void persist(User user) throws ProfitMandiBusinessException;
|
| 18 |
public User selectById(int id) throws ProfitMandiBusinessException;
|
17 |
public User selectById(int id) throws ProfitMandiBusinessException;
|
| 19 |
public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
|
18 |
public User selectByEmailId(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 List<User> selectAll(int pageNumber, int pageSize);
|
26 |
public List<User> selectAll(int pageNumber, int pageSize);
|
| 26 |
public List<String> selectEmailIdsByEmailIds(Set<String> emailIds);
|
- |
|
| 27 |
}
|
27 |
}
|
| 28 |
|
28 |
|