Subversion Repositories SmartDukaan

Rev

Rev 29285 | Rev 34077 | 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.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;
13
 
14
	void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
15
	void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)
16
			throws ProfitMandiBusinessException;
17
 
24479 amit.gupta 18
	String getNameByEmailId(String email);
29285 amit.gupta 19
	List<Integer> getDirectReportees(int authId);
20
	List<Integer> getAllReportees(int authId);
30771 amit.gupta 21
 
22
 
24330 amit.gupta 23
}