Subversion Repositories SmartDukaan

Rev

Rev 29891 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29891 Rev 33247
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;
-
 
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.user.User;
4
import com.spice.profitmandi.dao.entity.user.User;
-
 
5
import org.springframework.stereotype.Repository;
-
 
6
 
-
 
7
import java.util.List;
-
 
8
import java.util.Set;
10
 
9
 
11
@Repository
10
@Repository
12
public interface UserRepository {
11
public interface UserRepository {
13
	public void persist(User user);
12
	public void persist(User user);
14
 
13
 
Line 20... Line 19...
20
 
19
 
21
	public List<User> selectAll();
20
	public List<User> selectAll();
22
 
21
 
23
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
22
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
24
 
23
 
25
	public List<User> selectByEmailIds(Set<String> emailIds);
24
    public List<User> selectByEmailIds(Set<String> emailIds) throws ProfitMandiBusinessException;
26
 
25
 
27
	public boolean isExistByEmailId(String emailId);
26
	public boolean isExistByEmailId(String emailId);
28
}
27
}