Subversion Repositories SmartDukaan

Rev

Rev 24159 | Rev 25139 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed

package com.spice.profitmandi.dao.repository.user;

import java.util.List;

import javax.transaction.Transactional;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.user.User;

@Repository
@EnableTransactionManagement
@Transactional
public interface UserRepository {
        public void persist(User user);
        public User selectById(int id) throws ProfitMandiBusinessException;
        public List<User> selectByIds(List<Integer> ids);
        public List<User> selectAll();
        public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;
        public boolean isExistByEmailId(String emailId);
}