Subversion Repositories SmartDukaan

Rev

Rev 29285 | Rev 34077 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 29285 Rev 30771
Line 1... Line 1...
1
package com.spice.profitmandi.service;
1
package com.spice.profitmandi.service;
2
 
2
 
3
import java.util.List;
-
 
4
 
-
 
5
import org.springframework.stereotype.Service;
-
 
6
 
-
 
7
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
8
import com.spice.profitmandi.dao.entity.auth.AuthUser;
4
import com.spice.profitmandi.dao.entity.auth.AuthUser;
-
 
5
import org.springframework.stereotype.Service;
-
 
6
 
-
 
7
import java.util.List;
9
 
8
 
10
@Service
9
@Service
11
public interface AuthService {
10
public interface AuthService {
12
	boolean authenticate(String emailOrMobile, String passowrd);
11
	boolean authenticate(String emailOrMobile, String passowrd);
13
	void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
12
	void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
Line 17... Line 16...
17
			throws ProfitMandiBusinessException;
16
			throws ProfitMandiBusinessException;
18
	
17
	
19
	String getNameByEmailId(String email);
18
	String getNameByEmailId(String email);
20
	List<Integer> getDirectReportees(int authId);
19
	List<Integer> getDirectReportees(int authId);
21
	List<Integer> getAllReportees(int authId);
20
	List<Integer> getAllReportees(int authId);
-
 
21
 
22
	
22
 
23
}
23
}