Subversion Repositories SmartDukaan

Rev

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

Rev 22925 Rev 23509
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
 
3
import org.springframework.stereotype.Repository;
5
import org.springframework.stereotype.Repository;
4
 
6
 
5
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
6
import com.spice.profitmandi.dao.entity.user.User;
8
import com.spice.profitmandi.dao.entity.user.User;
7
 
9
 
8
@Repository
10
@Repository
9
public interface UserRepository {
11
public interface UserRepository {
10
	public void persist(User user);
12
	public void persist(User user);
11
	public User selectById(int id) throws ProfitMandiBusinessException;
13
	public User selectById(int id) throws ProfitMandiBusinessException;
-
 
14
	public List<User> selectByIds(List<Integer> ids);
12
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
15
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
13
}
16
}