Subversion Repositories SmartDukaan

Rev

Rev 24099 | Rev 34785 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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