Rev 30441 | 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;@Repositorypublic 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 List<AuthUser> selectAllActiveUser(int offset, int limit);public long selectCountAuthUser();public List<AuthUser> selectAllActiveUser();public List<AuthUser> selectAll();public AuthUser selectById(int id);public List<AuthUser> selectByIds(List<Integer> ids);public AuthUser selectByGmailId(String gmailId);List<AuthUser> selectHOUsers();AuthUser selectByManagerId(int managerId);List<AuthUser> selectAllByManagerAuthId(int authId);List<AuthUser> selectManagerByAuthUserIds(List<Integer> authIds);}