Class OrganizationRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.server.OrganizationRESTServices
The OrganizationRESTServices provides the server-side implementation of the Community Profile Open Metadata
Assess Service (OMAS) capability for organization management. This interface provides support for creating all types of actor profiles and
associated user roles in order to describe the structure of an organization.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActorProfileByUserId
(String serverName, String userId, String actorProfileUserId) Return information about a specific actor profile.getPersonRoleByGUID
(String serverName, String userId, String personRoleGUID) Return information about a specific person role.
-
Constructor Details
-
OrganizationRESTServices
public OrganizationRESTServices()Default constructor
-
-
Method Details
-
getActorProfileByUserId
public ActorProfileGraphResponse getActorProfileByUserId(String serverName, String userId, String actorProfileUserId) Return information about a specific actor profile.- Parameters:
serverName
- called serveruserId
- calling useractorProfileUserId
- unique identifier for the actor profile- Returns:
- properties of the actor profile InvalidParameterException actorProfileUserId or userId is null PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
getPersonRoleByGUID
public ActorRoleResponse getPersonRoleByGUID(String serverName, String userId, String personRoleGUID) Return information about a specific person role.- Parameters:
serverName
- called serveruserId
- calling userpersonRoleGUID
- unique identifier for the person role- Returns:
- properties of the person role InvalidParameterException personRoleGUID or userId is null PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-