summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-core/src/main/java/org/openecomp/portalsdk/core/service/UserService.java
blob: d1c2f4b480a2441b7e4288bea64482898cbd3fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package org.openecomp.portalsdk.core.service;

import org.openecomp.portalsdk.core.domain.User;

public interface UserService {

	/**
	 * Gets the user object for the specified ID.
	 * 
	 * @param id
	 *            orgUserID
	 * @return User object
	 * @throws Exception
	 */
	User getUser(String id) throws Exception;

	/**
	 * Builds a User object from a JSON string.
	 * 
	 * @param response
	 * @return User object
	 * @throws Exception
	 */
	User userMapper(String response) throws Exception;
}