Rev 21723 | Rev 22110 | 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) throws ProfitMandiBusinessException;public User selectById(int id) throws ProfitMandiBusinessException;public User selectByEmailId(String emailId) throws ProfitMandiBusinessException;public User selectByMobileNumber(String mobileNumber) throws ProfitMandiBusinessException;public List<Object[]> selectIdAndSololicUserId();public boolean isExistByMobileNumber(String mobileNumber);public boolean isExistByEmailId(String emailId);public List<User> selectAll(int pageNumber, int pageSize);}