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