Subversion Repositories SmartDukaan

Rev

Rev 34794 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
24330 amit.gupta 1
package com.spice.profitmandi.service;
2
 
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.dao.entity.auth.AuthUser;
30771 amit.gupta 5
import org.springframework.stereotype.Service;
24330 amit.gupta 6
 
30771 amit.gupta 7
import java.util.List;
8
 
24330 amit.gupta 9
@Service
10
public interface AuthService {
11
	boolean authenticate(String emailOrMobile, String passowrd);
12
	void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
34794 vikas.jang 13
	void resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
37209 amit 14
	AuthUser resetAuthUserPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
24330 amit.gupta 15
	void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
34794 vikas.jang 16
	void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword) throws ProfitMandiBusinessException;
24479 amit.gupta 17
	String getNameByEmailId(String email);
29285 amit.gupta 18
	List<Integer> getDirectReportees(int authId);
34077 tejus.loha 19
	List<AuthUser> getAllManagers(int authId);
29285 amit.gupta 20
	List<Integer> getAllReportees(int authId);
24330 amit.gupta 21
}