Subversion Repositories SmartDukaan

Rev

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

Rev 23781 Rev 24107
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
import java.util.Set;
5
 
5
 
-
 
6
import javax.transaction.Transactional;
-
 
7
 
6
import org.springframework.stereotype.Repository;
8
import org.springframework.stereotype.Repository;
7
 
9
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
9
import com.spice.profitmandi.dao.entity.dtr.User;
11
import com.spice.profitmandi.dao.entity.dtr.User;
10
 
12
 
11
/**
13
/**
12
 * @author ashikali
14
 * @author ashikali
13
 *
15
 *
14
 */
16
 */
15
@Repository
17
@Repository
-
 
18
@Transactional
16
public interface UserRepository {
19
public interface UserRepository {
17
	public void persist(User user);
20
	public void persist(User user);
18
	public User selectById(int id) throws ProfitMandiBusinessException;
21
	public User selectById(int id) throws ProfitMandiBusinessException;
19
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
22
	public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
20
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;
23
	public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;