Subversion Repositories SmartDukaan

Rev

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

Rev 22110 Rev 22352
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;
4
 
5
 
5
import org.springframework.stereotype.Repository;
6
import org.springframework.stereotype.Repository;
6
 
7
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.dtr.User;
9
import com.spice.profitmandi.dao.entity.dtr.User;
Line 15... Line 16...
15
public interface UserRepository {
16
public interface UserRepository {
16
	public void persist(User user) throws ProfitMandiBusinessException;
17
	public void persist(User user) throws ProfitMandiBusinessException;
17
	public User selectById(int id) throws ProfitMandiBusinessException;
18
	public User selectById(int id) throws ProfitMandiBusinessException;
18
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
19
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
19
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
20
	public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;
20
	public List<Object[]> selectIdAndSololicUserId();
21
	public List<Integer> selectIdAll();
21
	public boolean isExistByMobileNumber(String mobileNumber);
22
	public boolean isExistByMobileNumber(String mobileNumber);
22
	public boolean isExistByEmailId(String emailId);
23
	public boolean isExistByEmailId(String emailId);
23
	public List<User> selectAll(int pageNumber, int pageSize);
24
	public List<User> selectAll(int pageNumber, int pageSize);
-
 
25
	public List<String> selectEmailIdsByEmailIds(Set<String> emailIds);
24
}
26
}
25
27