Rev 30771 | Go to most recent revision | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.auth.AuthUser;import org.springframework.stereotype.Service;import java.util.List;@Servicepublic interface AuthService {boolean authenticate(String emailOrMobile, String passowrd);void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)throws ProfitMandiBusinessException;String getNameByEmailId(String email);List<Integer> getDirectReportees(int authId);List<AuthUser> getAllManagers(int authId);List<Integer> getAllReportees(int authId);}