Subversion Repositories SmartDukaan

Rev

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

Rev 26522 Rev 29891
Line 1... Line 1...
1
package com.spice.profitmandi.dao.repository.user;
1
package com.spice.profitmandi.dao.repository.user;
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.user.User;
9
import com.spice.profitmandi.dao.entity.user.User;
9
 
10
 
10
@Repository
11
@Repository
11
public interface UserRepository {
12
public interface UserRepository {
12
	public void persist(User user);
13
	public void persist(User user);
-
 
14
 
13
	public User selectById(int id) throws ProfitMandiBusinessException;
15
	public User selectById(int id) throws ProfitMandiBusinessException;
-
 
16
 
14
	public User selectByCartId(int cartId) throws ProfitMandiBusinessException;
17
	public User selectByCartId(int cartId) throws ProfitMandiBusinessException;
-
 
18
 
15
	public List<User> selectByIds(List<Integer> ids);
19
	public List<User> selectByIds(List<Integer> ids);
-
 
20
 
16
	public List<User> selectAll();
21
	public List<User> selectAll();
-
 
22
 
17
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
23
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
-
 
24
 
-
 
25
	public List<User> selectByEmailIds(Set<String> emailIds);
-
 
26
 
18
	public boolean isExistByEmailId(String emailId);
27
	public boolean isExistByEmailId(String emailId);
19
}
28
}