Class AnnotationStore

java.lang.Object
org.odpi.openmetadata.frameworks.surveyaction.AnnotationStore

public class AnnotationStore extends Object
The AnnotationStore provides the interface used by a survey action service to store annotations in the open metadata repositories.
  • Constructor Details

    • AnnotationStore

      public AnnotationStore(String userId, String assetGUID, OpenMetadataClient openMetadataStore, String externalSourceGUID, String externalSourceName, String reportQualifiedName, String reportDisplayName, String surveyDescription, String surveyPurpose, String engineActionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
      Constructor sets up the key parameters for accessing the annotations store and creates a survey report. This constructor is used by the engine service running a survey action service.
      Parameters:
      userId - calling user
      assetGUID - unique of the asset that describes the resource being surveyed
      openMetadataStore - access to the open metadata repositories
      externalSourceGUID - unique identifier of the external source that is supplying the survey data
      externalSourceName - unique name of the external source that is supplying the survey data
      reportQualifiedName - qualified name of report
      reportDisplayName - display name of report
      surveyDescription - description of report
      surveyPurpose - purpose of the survey
      engineActionGUID - unique identifier of the engine action that started this report
      Throws:
      InvalidParameterException - one of the parameters is invalid
      UserNotAuthorizedException - the user id not authorized to issue this request
      PropertyServerException - there was a problem retrieving annotations from the annotation store.
    • AnnotationStore

      public AnnotationStore(String userId, OpenMetadataClient openMetadataStore, String surveyReportGUID, String externalSourceGUID, String externalSourceName)
      Constructor sets up the key parameters for accessing the annotations store. This is typically used by a subclass that is making use of the annotation support.
      Parameters:
      userId - calling user
      openMetadataStore - access to the open metadata repositories
      surveyReportGUID - unique identifier of the survey report
      externalSourceGUID - unique identifier of the external source that is supplying the survey data
      externalSourceName - unique name of the external source that is supplying the survey data
  • Method Details