Class GlossaryWorkflowInstanceHandler
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
org.odpi.openmetadata.viewservices.glossaryworkflow.server.GlossaryWorkflowInstanceHandler
GlossaryWorkflowInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the GlossaryWorkflowAdmin class.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName
-
Constructor Summary
ConstructorDescriptionDefault constructor registers the view service -
Method Summary
Modifier and TypeMethodDescriptiongetCollaborationManagementClient
(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the asset manager APIgetGlossaryManagementClient
(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the asset manager APIgetStewardshipManagementClient
(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the asset manager APIMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getEndsWithRegex, getExceptionHandler, getMiddleRegex, getSearchString, getStartsWithRegex
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLog
Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
GlossaryWorkflowInstanceHandler
public GlossaryWorkflowInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getCollaborationManagementClient
public CollaborationManagementClient getCollaborationManagementClient(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the object for the tenant to use to work with the asset manager API- Parameters:
serverName
- name of the server that the request is foruserId
- local server useridserviceOperationName
- service operation - usually the top level rest call- Returns:
- SubjectAreaNodeClients subject area nodes API objects
- Throws:
InvalidParameterException
- unknown server/serviceUserNotAuthorizedException
- User not authorized to call this servicePropertyServerException
- internal error
-
getGlossaryManagementClient
public GlossaryManagementClient getGlossaryManagementClient(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the object for the tenant to use to work with the asset manager API- Parameters:
serverName
- name of the server that the request is foruserId
- local server useridserviceOperationName
- service operation - usually the top level rest call- Returns:
- SubjectAreaNodeClients subject area nodes API objects
- Throws:
InvalidParameterException
- unknown server/serviceUserNotAuthorizedException
- User not authorized to call this servicePropertyServerException
- internal error
-
getStewardshipManagementClient
public StewardshipManagementClient getStewardshipManagementClient(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, PropertyServerException, UserNotAuthorizedException This method returns the object for the tenant to use to work with the asset manager API- Parameters:
serverName
- name of the server that the request is foruserId
- local server useridserviceOperationName
- service operation - usually the top level rest call- Returns:
- SubjectAreaNodeClients subject area nodes API objects
- Throws:
InvalidParameterException
- unknown server/serviceUserNotAuthorizedException
- User not authorized to call this servicePropertyServerException
- internal error
-