java.lang.Object
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
org.odpi.openmetadata.accessservices.discoveryengine.client.DiscoveryEngineClient
All Implemented Interfaces:
org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.api.ConnectorFactoryInterface

public class DiscoveryEngineClient extends org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase
DiscoveryEngineClient provides the client-side operational REST APIs for a running Discovery Engine. The discovery engine embeds this client in each of the special store clients defined by the Open Discovery Framework (ODF).
  • Field Summary

    Fields inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase

    auditLog, invalidParameterHandler, nullRequestBody, serverName, serverPlatformURLRoot
  • Constructor Summary

    Constructors
    Constructor
    Description
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot)
    Create a new client with no authentication embedded in the HTTP request.
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, String userId, String password)
    Create a new client that passes userId and password in each HTTP request.
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client that passes userId and password in each HTTP request.
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, ODFRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client that is to be used within an OMAG Server.
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, ODFRESTClient restClient, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a client-side object for calling a discovery engine within a discovery server.
    DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client with no authentication embedded in the HTTP request.
  • Method Summary

    Modifier and Type
    Method
    Description
    createDiscoveryAnalysisReport(String userId, String qualifiedName, String displayName, String description, Date creationDate, Map<String,String> analysisParameters, String analysisStep, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, String discoveryEngineGUID, String discoveryServiceGUID, Map<String,String> additionalProperties)
    Create a new discovery analysis report and chain it to its asset, discovery engine and discovery service.
    findAssets(String userId, String searchString, int startFrom, int pageSize)
    Return a list of assets with the requested search string in their name, qualified name or description.
    findAssetsByEndpoint(String userId, String networkAddress, int startFrom, int pageSize)
    Return the list of assets that have the same endpoint address.
    org.odpi.openmetadata.frameworks.discovery.properties.Annotation
    getAnnotation(String userId, String annotationGUID)
    Retrieve a single annotation by unique identifier.
    org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse
    getAssetProperties(String userId, String assetGUID)
    Returns a comprehensive collection of properties about the requested asset.
    getAssets(String userId, int startFrom, int pageSize)
    Return the next set of assets to process.
    getAssetsByName(String userId, String name, int startFrom, int pageSize)
    Return the list of matching assets that have the supplied name as either the qualified name or display name.
    getAssetsByQualifiedName(String userId, String name, int startFrom, int pageSize)
    Return the assets with the same qualified name.
    org.odpi.openmetadata.frameworks.connectors.Connector
    getConnectorForConnection(String userId, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection)
    Returns the connector corresponding to the supplied connection.
    org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport
    getDiscoveryAnalysisReport(String userId, String discoveryReportGUID)
    Request the discovery report for a discovery request that has completed.
    List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation>
    getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, int startingFrom, int maximumResults)
    Return the annotations linked directly to the report.
    org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus
    getDiscoveryStatus(String userId, String discoveryReportGUID)
    Request the status of an executing discovery request.
    List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation>
    getExtendedAnnotations(String userId, String annotationGUID, int startingFrom, int maximumResults)
    Return any annotations attached to this annotation.
    void
    logAssetAuditMessage(String userId, String assetGUID, String discoveryService, String message)
    Log an audit message about this asset.
    void
    setDiscoveryStatus(String userId, String discoveryReportGUID, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus newStatus)
    Request the status of an executing discovery request.
    void
    updateDiscoveryAnalysisReport(String userId, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport updatedReport)
    Update the properties of the discovery analysis report.

    Methods inherited from class org.odpi.openmetadata.frameworkservices.ocf.metadatamanagement.client.ConnectedAssetClientBase

    getAssetForConnection, getAssetProperties, getAssetSummary, getConnectionByGUID, getConnectionByName, getConnectionForAsset, getConnectorByConnection, getConnectorByGUID, getConnectorByName, getConnectorForAsset, getConnectorForConnection

    Methods inherited from class java.lang.Object

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

    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, ODFRESTClient restClient, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a client-side object for calling a discovery engine within a discovery server.
      Parameters:
      serverPlatformURLRoot - the root url of the platform where the discovery engine is running.
      serverName - the name of the discovery server where the discovery engine is running
      restClient - pre-built client
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.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 to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws org.odpi.openmetadata.frameworks.connectors.ffdc.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 to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - null URL or server name
    • DiscoveryEngineClient

      public DiscoveryEngineClient(String serverName, String serverPlatformURLRoot, ODFRESTClient restClient, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client that is to be used within an OMAG Server.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      restClient - pre-initialized REST client
      maxPageSize - pre-initialized parameter limit
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - there is a problem with the information about the remote OMAS
  • Method Details

    • getAssets

      public List<String> getAssets(String userId, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the next set of assets to process.
      Parameters:
      userId - calling user
      startFrom - starting point of the query
      pageSize - maximum number of results to return
      Returns:
      list of unique identifiers for located assets
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is not recognized
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to access the asset and/or connection
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem in the store whether the asset/connection properties are kept.
    • getAssetsByQualifiedName

      public List<String> getAssetsByQualifiedName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the assets with the same qualified name. If all is well there should be only one returned.
      Parameters:
      userId - calling user
      name - the qualified name to query on
      startFrom - place to start in query
      pageSize - number of results to return
      Returns:
      list of unique identifiers for matching assets
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is not recognized
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to access the asset and/or connection
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem in the store whether the asset/connection properties are kept.
    • getAssetsByName

      public List<String> getAssetsByName(String userId, String name, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the list of matching assets that have the supplied name as either the qualified name or display name. This is an exact match retrieval.
      Parameters:
      userId - calling user
      name - name to query for
      startFrom - place to start in query
      pageSize - number of results to return
      Returns:
      list of unique identifiers for matching assets
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is not recognized
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to access the asset and/or connection
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem in the store whether the asset/connection properties are kept.
    • findAssets

      public List<String> findAssets(String userId, String searchString, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Return a list of assets with the requested search string in their name, qualified name or description. The search string is interpreted as a regular expression (RegEx).
      Parameters:
      userId - calling user
      searchString - string to search for in text
      startFrom - starting element (used in paging through large result sets)
      pageSize - maximum number of results to return
      Returns:
      list of assets that match the search string.
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - the searchString is invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem access in the property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user does not have access to the properties
    • findAssetsByEndpoint

      public List<String> findAssetsByEndpoint(String userId, String networkAddress, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the list of assets that have the same endpoint address.
      Parameters:
      userId - calling user
      networkAddress - address to query on
      startFrom - place to start in query
      pageSize - number of results to return
      Returns:
      list of unique identifiers for matching assets
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is not recognized
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to access the asset and/or connection
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem in the store whether the asset/connection properties are kept.
    • getConnectorForConnection

      public org.odpi.openmetadata.frameworks.connectors.Connector getConnectorForConnection(String userId, org.odpi.openmetadata.frameworks.connectors.properties.beans.Connection connection) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectionCheckedException, org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException
      Returns the connector corresponding to the supplied connection.
      Parameters:
      userId - userId of user making request.
      connection - the connection object that contains the properties needed to create the connection.
      Returns:
      connector instance
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectionCheckedException - there are errors in the configuration of the connection which is preventing the creation of a connector.
      org.odpi.openmetadata.frameworks.connectors.ffdc.ConnectorCheckedException - there are errors in the initialization of the connector.
    • getAssetProperties

      public org.odpi.openmetadata.frameworks.connectors.properties.AssetUniverse getAssetProperties(String userId, String assetGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Returns a comprehensive collection of properties about the requested asset.
      Parameters:
      userId - userId of user making request.
      assetGUID - unique identifier for asset.
      Returns:
      a comprehensive collection of properties about the asset.
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem retrieving the asset properties from the property servers).
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • logAssetAuditMessage

      public void logAssetAuditMessage(String userId, String assetGUID, String discoveryService, String message) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException
      Log an audit message about this asset.
      Parameters:
      userId - userId of user making request.
      assetGUID - unique identifier for asset.
      discoveryService - unique name for discoveryService.
      message - message to log
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem retrieving the asset properties from the property servers).
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • createDiscoveryAnalysisReport

      public String createDiscoveryAnalysisReport(String userId, String qualifiedName, String displayName, String description, Date creationDate, Map<String,String> analysisParameters, String analysisStep, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus discoveryRequestStatus, String assetGUID, String discoveryEngineGUID, String discoveryServiceGUID, Map<String,String> additionalProperties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a new discovery analysis report and chain it to its asset, discovery engine and discovery service.
      Parameters:
      userId - calling user
      qualifiedName - unique name for the report
      displayName - short name for the report
      description - description of the report
      creationDate - date of the report
      analysisParameters - analysis parameters passed to the discovery service
      analysisStep - name of the first analysis step
      discoveryRequestStatus - current status of the discovery processing
      assetGUID - unique identifier of the asset being analysed
      discoveryEngineGUID - unique identifier of the discovery engine that is running the discovery service
      discoveryServiceGUID - unique identifier of the discovery service creating the report
      additionalProperties - additional properties for the report
      Returns:
      unique identifier of new discovery report.
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - the user is not authorized to access the asset and/or report
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem in the store whether the asset/report properties are kept.
    • updateDiscoveryAnalysisReport

      public void updateDiscoveryAnalysisReport(String userId, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport updatedReport) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Update the properties of the discovery analysis report.
      Parameters:
      userId - calling user.
      updatedReport - updated report - this will replace the current stored values.
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • getDiscoveryStatus

      public org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus getDiscoveryStatus(String userId, String discoveryReportGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Request the status of an executing discovery request.
      Parameters:
      userId - identifier of calling user
      discoveryReportGUID - identifier of the discovery request.
      Returns:
      status enum
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • setDiscoveryStatus

      public void setDiscoveryStatus(String userId, String discoveryReportGUID, org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryRequestStatus newStatus) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Request the status of an executing discovery request.
      Parameters:
      userId - identifier of calling user
      discoveryReportGUID - identifier of the discovery request.
      newStatus - status enum
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • getDiscoveryAnalysisReport

      public org.odpi.openmetadata.frameworks.discovery.properties.DiscoveryAnalysisReport getDiscoveryAnalysisReport(String userId, String discoveryReportGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Request the discovery report for a discovery request that has completed.
      Parameters:
      userId - identifier of calling user
      discoveryReportGUID - identifier of the discovery report.
      Returns:
      discovery report
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • getDiscoveryReportAnnotations

      public List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation> getDiscoveryReportAnnotations(String userId, String discoveryReportGUID, int startingFrom, int maximumResults) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return the annotations linked directly to the report.
      Parameters:
      userId - identifier of calling user
      discoveryReportGUID - identifier of the discovery request.
      startingFrom - initial position in the stored list.
      maximumResults - maximum number of definitions to return on this call.
      Returns:
      list of annotations
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • getExtendedAnnotations

      public List<org.odpi.openmetadata.frameworks.discovery.properties.Annotation> getExtendedAnnotations(String userId, String annotationGUID, int startingFrom, int maximumResults) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return any annotations attached to this annotation.
      Parameters:
      userId - identifier of calling user
      annotationGUID - parent annotation
      startingFrom - starting position in the list
      maximumResults - maximum number of annotations that can be returned.
      Returns:
      list of Annotation objects
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.
    • getAnnotation

      public org.odpi.openmetadata.frameworks.discovery.properties.Annotation getAnnotation(String userId, String annotationGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Retrieve a single annotation by unique identifier. This call is typically used to retrieve the latest values for an annotation.
      Parameters:
      userId - identifier of calling user
      annotationGUID - unique identifier of the annotation
      Returns:
      Annotation object
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - user not authorized to issue this request.
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there was a problem that occurred within the property server.