Class AssetCatalogInstanceHandler

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.assetcatalog.server.AssetCatalogInstanceHandler

public class AssetCatalogInstanceHandler extends org.odpi.openmetadata.commonservices.multitenant.OMVSServiceInstanceHandler
AssetCatalogInstanceHandler retrieves information from the instance map for the view service instances. The instance map is thread-safe. Instances are added and removed by the AssetCatalogAdmin class.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor registers the view service
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.accessservices.assetconsumer.client.AssetConsumer
    getAssetConsumerClient(String userId, String serverName, String serviceOperationName)
    This method returns the object for the tenant to use to work with the Asset Consumer API
    org.odpi.openmetadata.accessservices.assetconsumer.client.OpenIntegrationServiceClient
    getOpenIntegrationServiceClient(String userId, String serverName, String serviceOperationName)
    This method returns the object for the tenant to use to work with the asset consumer API
    org.odpi.openmetadata.accessservices.assetconsumer.client.OpenMetadataStoreClient
    getOpenMetadataStoreClient(String userId, String serverName, String serviceOperationName)
    This method returns the object for the tenant to use to work with the asset consumer API
    getSupportedAssetTypes(String userId, String serverName, String serviceOperationName)
    Return the values from the SupportedTypesForSearch view service option.

    Methods 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, getServiceName, isServerActive, removeServerServiceInstance

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssetCatalogInstanceHandler

      public AssetCatalogInstanceHandler()
      Default constructor registers the view service
  • Method Details

    • getSupportedAssetTypes

      public List<Type> getSupportedAssetTypes(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
      Return the values from the SupportedTypesForSearch view service option.
      Parameters:
      serverName - name of the server that the request is for
      userId - local server userid
      serviceOperationName - service operation - usually the top level rest call
      Returns:
      list of types.
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - unknown server/service
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - User not authorized to call this service
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - internal error
    • getAssetConsumerClient

      public org.odpi.openmetadata.accessservices.assetconsumer.client.AssetConsumer getAssetConsumerClient(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 Asset Consumer API
      Parameters:
      serverName - name of the server that the request is for
      userId - local server userid
      serviceOperationName - service operation - usually the top level rest call
      Returns:
      requested client
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - unknown server/service
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - User not authorized to call this service
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - internal error
    • getOpenIntegrationServiceClient

      public org.odpi.openmetadata.accessservices.assetconsumer.client.OpenIntegrationServiceClient getOpenIntegrationServiceClient(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 asset consumer API
      Parameters:
      serverName - name of the server that the request is for
      userId - local server userid
      serviceOperationName - service operation - usually the top level rest call
      Returns:
      requested client
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - unknown server/service
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - User not authorized to call this service
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - internal error
    • getOpenMetadataStoreClient

      public org.odpi.openmetadata.accessservices.assetconsumer.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 asset consumer API
      Parameters:
      serverName - name of the server that the request is for
      userId - local server userid
      serviceOperationName - service operation - usually the top level rest call
      Returns:
      requested client
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - unknown server/service
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - User not authorized to call this service
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - internal error