Subversion Repositories SmartDukaan

Rev

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

Rev 24159 Rev 24383
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
 
4
 
-
 
5
import javax.transaction.Transactional;
-
 
6
 
5
import org.springframework.stereotype.Repository;
7
import org.springframework.stereotype.Repository;
-
 
8
import org.springframework.transaction.annotation.EnableTransactionManagement;
6
 
9
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
10
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.user.User;
11
import com.spice.profitmandi.dao.entity.user.User;
9
 
12
 
10
@Repository
13
@Repository
-
 
14
@EnableTransactionManagement
-
 
15
@Transactional
11
public interface UserRepository {
16
public interface UserRepository {
12
	public void persist(User user);
17
	public void persist(User user);
13
	public User selectById(int id) throws ProfitMandiBusinessException;
18
	public User selectById(int id) throws ProfitMandiBusinessException;
14
	public List<User> selectByIds(List<Integer> ids);
19
	public List<User> selectByIds(List<Integer> ids);
15
	public List<User> selectAll();
20
	public List<User> selectAll();