Subversion Repositories SmartDukaan

Rev

Rev 29269 | Rev 30771 | 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
 
29269 manish 3
import java.util.List;
4
 
24330 amit.gupta 5
import org.springframework.stereotype.Service;
6
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.auth.AuthUser;
9
 
10
@Service
11
public interface AuthService {
12
	boolean authenticate(String emailOrMobile, String passowrd);
13
	void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
14
 
15
	void addAuthUser(AuthUser authUser) throws ProfitMandiBusinessException;
16
	void changePassword(String emailOrMobile, String oldHashedPassword, String hashedPassword)
17
			throws ProfitMandiBusinessException;
18
 
24479 amit.gupta 19
	String getNameByEmailId(String email);
29285 amit.gupta 20
	List<Integer> getDirectReportees(int authId);
21
	List<Integer> getAllReportees(int authId);
24479 amit.gupta 22
 
24330 amit.gupta 23
}