Interface SubjectAreasInterface


public interface SubjectAreasInterface
The SubjectAreasInterface is used by the governance team to define the subject area for topic related governance definitions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addSubjectAreaMemberClassification(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaClassificationProperties properties)
    Add a subject area classification to a referenceable element.
    createSubjectArea(String userId, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaProperties properties)
    Create a definition of a subject area.
    void
    deleteSubjectArea(String userId, String subjectAreaGUID)
    Remove the definition of a subject area.
    void
    Remove a subject area classification from a referenceable.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementStub>
    getMembersOfSubjectArea(String userId, String subjectAreaName, int startFrom, int pageSize)
    Return information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.
    org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement
    getSubjectAreaByGUID(String userId, String subjectAreaGUID)
    Return information about a specific subject area.
    org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement
    getSubjectAreaByName(String userId, String qualifiedName)
    Return information about a specific subject area.
    org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaDefinition
    getSubjectAreaDefinitionByGUID(String userId, String subjectAreaGUID)
    Return information about a specific subject area and its linked governance definitions.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement>
    getSubjectAreasForDomain(String userId, int domainIdentifier, int startFrom, int pageSize)
    Return information about the defined subject areas.
    void
    linkSubjectAreasInHierarchy(String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID)
    Link two related subject areas together as part of a hierarchy.
    void
    unlinkSubjectAreasInHierarchy(String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID)
    Remove the link between two subject areas in the subject area hierarchy.
    void
    updateSubjectArea(String userId, String subjectAreaGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaProperties properties)
    Update the definition of a subject area.
  • Method Details

    • createSubjectArea

      String createSubjectArea(String userId, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a definition of a subject area.
      Parameters:
      userId - calling user
      properties - properties for a subject area
      Returns:
      unique identifier of subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - qualifiedName or userId is null; qualifiedName is not unique
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • updateSubjectArea

      void updateSubjectArea(String userId, String subjectAreaGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Update the definition of a subject area.
      Parameters:
      userId - calling user
      subjectAreaGUID - unique identifier of subject area
      isMergeUpdate - are unspecified properties unchanged (true) or replaced with null?
      properties - properties to change
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - guid, qualifiedName or userId is null; qualifiedName is not unique; guid is not known
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • deleteSubjectArea

      void deleteSubjectArea(String userId, String subjectAreaGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove the definition of a subject area.
      Parameters:
      userId - calling user
      subjectAreaGUID - unique identifier of subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - guid or userId is null; guid is not known
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • linkSubjectAreasInHierarchy

      void linkSubjectAreasInHierarchy(String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Link two related subject areas together as part of a hierarchy. A subject area can only have one parent but many child subject areas.
      Parameters:
      userId - calling user
      parentSubjectAreaGUID - unique identifier of the parent subject area
      childSubjectAreaGUID - unique identifier of the child subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the guids is null or not known
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • unlinkSubjectAreasInHierarchy

      void unlinkSubjectAreasInHierarchy(String userId, String parentSubjectAreaGUID, String childSubjectAreaGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove the link between two subject areas in the subject area hierarchy.
      Parameters:
      userId - calling user
      parentSubjectAreaGUID - unique identifier of the parent subject area
      childSubjectAreaGUID - unique identifier of the child subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the guids is null or not known
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • getSubjectAreaByGUID

      org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement getSubjectAreaByGUID(String userId, String subjectAreaGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return information about a specific subject area.
      Parameters:
      userId - calling user
      subjectAreaGUID - unique identifier for the subject area
      Returns:
      properties of the subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - subjectAreaGUID or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • getSubjectAreaByName

      org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement getSubjectAreaByName(String userId, String qualifiedName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return information about a specific subject area.
      Parameters:
      userId - calling user
      qualifiedName - unique name for the subject area
      Returns:
      properties of the subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - qualifiedName or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • getSubjectAreasForDomain

      List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaElement> getSubjectAreasForDomain(String userId, int domainIdentifier, 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 information about the defined subject areas.
      Parameters:
      userId - calling user
      domainIdentifier - identifier for the desired governance domain
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      properties of the subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - qualifiedName or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • getSubjectAreaDefinitionByGUID

      org.odpi.openmetadata.frameworks.openmetadata.metadataelements.SubjectAreaDefinition getSubjectAreaDefinitionByGUID(String userId, String subjectAreaGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Return information about a specific subject area and its linked governance definitions.
      Parameters:
      userId - calling user
      subjectAreaGUID - unique identifier for the subject area
      Returns:
      properties of the subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - subjectAreaGUID or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • addSubjectAreaMemberClassification

      void addSubjectAreaMemberClassification(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.governance.SubjectAreaClassificationProperties properties) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Add a subject area classification to a referenceable element.
      Parameters:
      userId - calling user
      elementGUID - unique identifier for the element
      properties - identifier for a subject area
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - qualifiedName or userId is null; qualifiedName is not unique
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • deleteSubjectAreaMemberClassification

      void deleteSubjectAreaMemberClassification(String userId, String elementGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a subject area classification from a referenceable.
      Parameters:
      userId - calling user
      elementGUID - unique identifier for the element
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - guid or userId is null; guid is not known
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • getMembersOfSubjectArea

      List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ElementStub> getMembersOfSubjectArea(String userId, String subjectAreaName, 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 information about the contents of a subject area such as the glossaries, reference data sets and quality definitions.
      Parameters:
      userId - calling user
      subjectAreaName - unique identifier for the subject area
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      properties of the subject area members
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - qualifiedName or userId is null
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem