Subversion Repositories SmartDukaan

Rev

Rev 24099 | Rev 34785 | Go to most recent revision | 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;


@Service
public 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;
        boolean resetPassword(String emailOrMobile, String password) throws ProfitMandiBusinessException;
}