Project

General

Profile

1
package eu.dnetlib.api.functionality;
2

    
3
import java.util.List;
4

    
5
import eu.dnetlib.api.DriverService;
6
import eu.dnetlib.domain.functionality.UserProfile;
7
import eu.dnetlib.domain.functionality.UserProfileSearchCriteria;
8

    
9
/**
10
 * Class that manages UserProfile objects.
11
 */
12
public interface UserProfileService extends DriverService {
13

    
14
	public UserProfile saveUser(UserProfile profile)
15
			throws UserProfileServiceException;
16

    
17
	public void deleteUser(UserProfile profile)
18
			throws UserProfileServiceException;
19

    
20
	public void deleteUserById(String id) throws UserProfileServiceException;
21

    
22
	public UserProfile getUserById(String id)
23
			throws UserProfileServiceException;
24

    
25
	public List<UserProfile> searchUsers(UserProfileSearchCriteria criteria)
26
			throws UserProfileServiceException;
27

    
28
	public List<String> searchUserIds(UserProfileSearchCriteria criteria)
29
			throws UserProfileServiceException;
30
}
(19-19/23)