Subversion Repositories SmartDukaan

Rev

Rev 21723 | Rev 23269 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21723 Rev 22925
Line 9... Line 9...
9
import com.spice.profitmandi.dao.enumuration.dtr.OtpType;
9
import com.spice.profitmandi.dao.enumuration.dtr.OtpType;
10
 
10
 
11
@Repository
11
@Repository
12
public interface OtpRepository {
12
public interface OtpRepository {
13
	
13
	
14
	public Otp generateOtp(String email, String phone, OtpType otpType, String otp) throws ProfitMandiBusinessException;
14
	public Otp generateOtp(String email, String phone, OtpType otpType, String otp);
15
	public List<Otp> getGeneratedOtpForCredentials(String email, OtpType otpType) throws ProfitMandiBusinessException;
15
	public List<Otp> getGeneratedOtpForCredentials(String email, OtpType otpType);
16
	public void updateById(Otp otp) throws ProfitMandiBusinessException;
16
	public void update(Otp otp);
17
	public Otp getById(int id) throws ProfitMandiBusinessException;
17
	public Otp getById(int id) throws ProfitMandiBusinessException;
18
}
18
}