Subversion Repositories SmartDukaan

Rev

Rev 29891 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22352 ashik.ali 1
package com.spice.profitmandi.dao.repository.user;
2
 
33247 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.dao.entity.user.User;
5
import org.springframework.stereotype.Repository;
6
 
23509 amit.gupta 7
import java.util.List;
29891 tejbeer 8
import java.util.Set;
23509 amit.gupta 9
 
22352 ashik.ali 10
@Repository
11
public interface UserRepository {
12
	public void persist(User user);
29891 tejbeer 13
 
22352 ashik.ali 14
	public User selectById(int id) throws ProfitMandiBusinessException;
29891 tejbeer 15
 
26522 amit.gupta 16
	public User selectByCartId(int cartId) throws ProfitMandiBusinessException;
29891 tejbeer 17
 
23509 amit.gupta 18
	public List<User> selectByIds(List<Integer> ids);
29891 tejbeer 19
 
24016 amit.gupta 20
	public List<User> selectAll();
29891 tejbeer 21
 
22925 ashik.ali 22
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
29891 tejbeer 23
 
33247 ranu 24
    public List<User> selectByEmailIds(Set<String> emailIds) throws ProfitMandiBusinessException;
29891 tejbeer 25
 
24159 tejbeer 26
	public boolean isExistByEmailId(String emailId);
22352 ashik.ali 27
}