Subversion Repositories SmartDukaan

Rev

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

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