Class ActorRoleManagement
java.lang.Object
org.odpi.openmetadata.frameworkservices.omf.client.handlers.ActorRoleHandler
org.odpi.openmetadata.accessservices.communityprofile.client.ActorRoleManagement
ActorRoleManagement is the client for explicitly managing the actor profile entities and associating them with
profiles. It is typically used when the relationship between user identities and profiles are many to one.
-
Constructor Summary
ConstructorsConstructorDescriptionActorRoleManagement
(String localServerName, String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) Create a new client that passes userId and password in each HTTP request.ActorRoleManagement
(String localServerName, String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworkservices.omf.client.handlers.ActorRoleHandler
createActorRole, createActorRoleFromTemplate, deleteActorRole, detachITProfileRoleFromProfile, detachPersonRoleFromProfile, detachTeamRoleFromProfile, findActorRoles, getActorRoleByGUID, getActorRolesByName, linkITProfileRoleToProfile, linkPersonRoleToProfile, linkTeamRoleToProfile, updateActorRole
-
Constructor Details
-
ActorRoleManagement
public ActorRoleManagement(String localServerName, String serverName, String serverPlatformURLRoot, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
localServerName
- name of this server (view server)serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesauditLog
- logging destinationmaxPageSize
- maximum number of results supported by this server- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-
ActorRoleManagement
public ActorRoleManagement(String localServerName, String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog, int maxPageSize) throws InvalidParameterException Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.- Parameters:
serverName
- name of the server to connect toserverPlatformURLRoot
- the network address of the server running the OMAS REST servicesuserId
- caller's userId embedded in all HTTP requestspassword
- caller's userId embedded in all HTTP requestsmaxPageSize
- maximum number of results supported by this serverauditLog
- logging destination- Throws:
InvalidParameterException
- there is a problem creating the client-side components to issue any REST API calls.
-