Subversion Repositories SmartDukaan

Rev

Rev 23418 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23418 Rev 26783
Line 8... Line 8...
8
import com.spice.profitmandi.dao.entity.dtr.Otp;
8
import com.spice.profitmandi.dao.entity.dtr.Otp;
9
 
9
 
10
@Repository
10
@Repository
11
public interface OtpRepository {
11
public interface OtpRepository {
12
	public void persist(Otp otp);
12
	public void persist(Otp otp);
13
	public List<Otp> selectAllByEmailWithTime(String email);
13
	public List<Otp> selectAllByMobileWithTime(String mobile);
14
	public Otp selectById(int id) throws ProfitMandiBusinessException;
14
	public Otp selectById(int id) throws ProfitMandiBusinessException;
15
	public Otp selectByIdEmailIdMobileNumber(int id, String emailId, String mobileNumber) throws ProfitMandiBusinessException;
15
	public Otp selectByIdEmailIdMobileNumber(int id, String emailId, String mobileNumber) throws ProfitMandiBusinessException;
16
}
16
}