Subversion Repositories SmartDukaan

Rev

Rev 33247 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
23781 ashik.ali 1
package com.spice.profitmandi.service.user;
21525 amit.gupta 2
 
33247 ranu 3
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
4
import com.spice.profitmandi.dao.entity.dtr.User;
5
import org.springframework.stereotype.Service;
6
 
23984 govind 7
import java.util.List;
23204 ashik.ali 8
import java.util.Map;
21525 amit.gupta 9
 
23204 ashik.ali 10
 
11
@Service
21525 amit.gupta 12
public interface UserService {
13
	boolean updateActivation(int userId, int retailerId, String activationCode) throws Throwable;
34785 vikas.jang 14
 
22845 amit.gupta 15
	boolean createActivationCode(int userId) throws Throwable;
34785 vikas.jang 16
 
23204 ashik.ali 17
	public Map<String, String> getEmailsAndFofoStoreCodeByUserId(int userId) throws ProfitMandiBusinessException;
33247 ranu 18
 
19
    public Map<Integer, String> getAllUseUserIdEmailIdMap(List<Integer> userIds) throws ProfitMandiBusinessException;
34785 vikas.jang 20
 
24099 amit.gupta 21
	User authenticate(String emailOrMobile, String password) throws ProfitMandiBusinessException;
34785 vikas.jang 22
 
23
	public void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;
24
 
24099 amit.gupta 25
	boolean resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
21525 amit.gupta 26
}