Subversion Repositories SmartDukaan

Rev

Rev 23509 | Rev 24159 | 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 org.springframework.stereotype.Repository;

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

@Repository
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;
}