Rev 23269 | Rev 24107 | 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.dtr;import java.util.List;import java.util.Set;import org.springframework.stereotype.Repository;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.dtr.User;/*** @author ashikali**/@Repositorypublic interface UserRepository {public void persist(User user);public User selectById(int id) throws ProfitMandiBusinessException;public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;public User selectBySecondryEmailId(String emailId) throws ProfitMandiBusinessException;public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;public User selectByEmailIdOrMobileNumber(String emailIdOrMobileNumber) throws ProfitMandiBusinessException;public List<Integer> selectIdAll();public List<User> selectAllByIds(Set<Integer> ids);public boolean isExistByMobileNumber(String mobileNumber);public boolean isExistByEmailId(String emailId);public boolean isExistBySecondryEmailId(String emailId);public List<User> selectAll();}