1
|
package eu.dnetlib.repo.manager.client;
|
2
|
|
3
|
import com.google.gwt.user.client.rpc.RemoteService;
|
4
|
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
|
5
|
import eu.dnetlib.domain.functionality.UserProfile;
|
6
|
import eu.dnetlib.repo.manager.shared.UserAccessException;
|
7
|
|
8
|
/**
|
9
|
* Created by stefania on 12/4/15.
|
10
|
*/
|
11
|
@RemoteServiceRelativePath("springGwtServices/userService")
|
12
|
public interface UserService extends RemoteService {
|
13
|
|
14
|
UserProfile login(String email, String password) throws UserAccessException;
|
15
|
|
16
|
void register(UserProfile userProfile) throws UserAccessException;
|
17
|
|
18
|
void activateUser(String activationId) throws UserAccessException;
|
19
|
|
20
|
void updateUser(UserProfile userProfile) throws UserAccessException;
|
21
|
|
22
|
UserProfile getUserByEmail(String email) throws UserAccessException;
|
23
|
|
24
|
void prepareResetPassword(String email) throws UserAccessException;
|
25
|
|
26
|
void resetPassword(String securityCode, String password) throws UserAccessException;
|
27
|
|
28
|
void resendActivation(String email) throws UserAccessException;
|
29
|
|
30
|
}
|