Subversion Repositories SmartDukaan

Rev

Rev 24417 | Rev 24500 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24330 amit.gupta 1
package com.spice.profitmandi.dao.repository.auth;
2
 
24383 amit.gupta 3
import java.util.List;
4
 
24330 amit.gupta 5
import org.springframework.stereotype.Repository;
6
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.auth.AuthUser;
9
 
10
 
11
@Repository
12
public interface AuthRepository {
13
	boolean authenticate(String email, String hashedPassword);
14
	void persist(AuthUser authUser);
15
	AuthUser selectByEmailOrMobile(String emailOrMobile) throws ProfitMandiBusinessException;
24383 amit.gupta 16
	public List<AuthUser> selectAll(int offset,int limit);
17
	public long selectCountAuthUser();
24417 govind 18
	public List<AuthUser> selectAll();
19
	public AuthUser selectById(int id);
24479 amit.gupta 20
	public AuthUser selectByGmailId(String gmailId);
24330 amit.gupta 21
}