Subversion Repositories SmartDukaan

Rev

Rev 24383 | Rev 24479 | 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.auth;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
import com.spice.profitmandi.dao.entity.auth.AuthUser;


@Repository
public interface AuthRepository {
        boolean authenticate(String email, String hashedPassword);
        void persist(AuthUser authUser);
        AuthUser selectByEmailOrMobile(String emailOrMobile) throws ProfitMandiBusinessException;
        public List<AuthUser> selectAll(int offset,int limit);
        public long selectCountAuthUser();
        public List<AuthUser> selectAll();
        public AuthUser selectById(int id);
}