Subversion Repositories SmartDukaan

Rev

Rev 23984 | 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
 
23984 govind 3
import java.util.List;
23204 ashik.ali 4
import java.util.Map;
21525 amit.gupta 5
 
23204 ashik.ali 6
import org.springframework.stereotype.Service;
7
 
8
import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;
24099 amit.gupta 9
import com.spice.profitmandi.dao.entity.dtr.User;
23204 ashik.ali 10
 
24099 amit.gupta 11
 
23204 ashik.ali 12
@Service
21525 amit.gupta 13
public interface UserService {
14
	boolean updateActivation(int userId, int retailerId, String activationCode) throws Throwable;
22845 amit.gupta 15
	boolean createActivationCode(int userId) throws Throwable;
23204 ashik.ali 16
	public Map<String, String> getEmailsAndFofoStoreCodeByUserId(int userId) throws ProfitMandiBusinessException;
23984 govind 17
	public Map<Integer,String> getAllUseUserIdEmailIdMap(List<Integer> userIds);
24099 amit.gupta 18
	User authenticate(String emailOrMobile, String password) throws ProfitMandiBusinessException;
19
	boolean resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
21525 amit.gupta 20
}