Rev 34785 | View as "text/plain" | Blame | Compare with Previous | Last modification | View Log | RSS feed
package com.spice.profitmandi.service.user;import com.spice.profitmandi.common.exception.ProfitMandiBusinessException;import com.spice.profitmandi.dao.entity.dtr.User;import org.springframework.stereotype.Service;import java.util.List;import java.util.Map;@Servicepublic interface UserService {boolean updateActivation(int userId, int retailerId, String activationCode) throws Throwable;boolean createActivationCode(int userId) throws Throwable;public Map<String, String> getEmailsAndFofoStoreCodeByUserId(int userId) throws ProfitMandiBusinessException;public Map<Integer, String> getAllUseUserIdEmailIdMap(List<Integer> userIds) throws ProfitMandiBusinessException;User authenticate(String emailOrMobile, String password) throws ProfitMandiBusinessException;public void resetPassword(String emailOrMobile) throws ProfitMandiBusinessException;boolean resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;boolean changePassword(User user, String password) throws ProfitMandiBusinessException;}