Class CollectionManagerInstanceHandler
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.collectionmanager.server.CollectionManagerInstanceHandler
public class CollectionManagerInstanceHandler
extends org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
CollectionManagerInstanceHandler retrieves information from the instance map for the
view service instances. The instance map is thread-safe. Instances are added
and removed by the CollectionManagerAdmin class.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor registers the view service -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.accessservices.digitalservice.client.CollectionsClientgetCollectionsClient(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the Digital Service API.org.odpi.openmetadata.accessservices.digitalservice.client.ConnectedAssetClientgetConnectedAssetClient(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the Digital Service API.org.odpi.openmetadata.accessservices.digitalservice.client.OpenMetadataStoreClientgetOpenMetadataStoreClient(String userId, String serverName, String serviceOperationName) This method returns the object for the tenant to use to work with the Digital Service API.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
getEndsWithRegex, getExceptionHandler, getMiddleRegex, getSearchString, getStartsWithRegexMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
getAuditLogMethods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServiceName, isServerActive, removeServerServiceInstance
-
Constructor Details
-
CollectionManagerInstanceHandler
public CollectionManagerInstanceHandler()Default constructor registers the view service
-
-
Method Details
-
getCollectionsClient
public org.odpi.openmetadata.accessservices.digitalservice.client.CollectionsClient getCollectionsClient(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException This method returns the object for the tenant to use to work with the Digital Service 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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- unknown server/serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- User not authorized to call this serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- internal error
-
getConnectedAssetClient
public org.odpi.openmetadata.accessservices.digitalservice.client.ConnectedAssetClient getConnectedAssetClient(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException This method returns the object for the tenant to use to work with the Digital Service 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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- unknown server/serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- User not authorized to call this serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- internal error
-
getOpenMetadataStoreClient
public org.odpi.openmetadata.accessservices.digitalservice.client.OpenMetadataStoreClient getOpenMetadataStoreClient(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException This method returns the object for the tenant to use to work with the Digital Service 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:
org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException- unknown server/serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException- User not authorized to call this serviceorg.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException- internal error
-