Rev 29891 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.dao.repository.user;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.user.User;import org.springframework.stereotype.Repository;import java.util.List;import java.util.Set;@Repositorypublic interface UserRepository {public void persist(User user);public User selectById(int id) throws ProfitMandiBusinessException;public User selectByCartId(int cartId) throws ProfitMandiBusinessException;public List<User> selectByIds(List<Integer> ids);public List<User> selectAll();public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;public List<User> selectByEmailIds(Set<String> emailIds) throws ProfitMandiBusinessException;public boolean isExistByEmailId(String emailId);}