Class GovernanceProgramBaseClient

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.client.GovernanceProgramBaseClient
All Implemented Interfaces:
org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
Direct Known Subclasses:
CertificationManager, ExternalReferenceManager, GovernanceClassificationLevelManager, GovernanceDefinitionManager, GovernanceDomainManager, GovernanceMetricsManager, GovernanceProgramReviewManager, GovernanceRoleManager, GovernanceStatusLevelManager, GovernanceZoneManager, RightsManager, SubjectAreaManager

public class GovernanceProgramBaseClient extends Object implements org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
GovernanceProgramBaseClient supports the common properties and functions for the Community Profile OMAS.
  • Constructor Summary

    Constructors
    Constructor
    Description
    GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot)
    Create a new client with no authentication embedded in the HTTP request.
    GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client with no authentication embedded in the HTTP request.
    GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, String userId, String password)
    Create a new client that passes userId and password in each HTTP request.
    GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client that passes userId and password in each HTTP request.
    GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, GovernanceProgramRESTClient restClient, int maxPageSize)
    Create a new client that is going to be used in an OMAG Server.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearAssignmentScope(String userId, String elementGUID, String scopeGUID)
    Remove an "AssignmentScope" relationship between two referenceables.
    void
    clearGovernanceDefinitionScope(String userId, String governanceDefinitionGUID, String scopeGUID)
    Remove an "GovernanceDefinitionScope" relationship between two referenceables.
    void
    clearGovernanceResponsibilityAssignment(String userId, String governanceResponsibilityGUID, String personRoleGUID)
    Remove a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
    void
    clearGovernedBy(String userId, String elementGUID, String governanceDefinitionGUID)
    Remove a "GovernedBy" relationship between two elements.
    void
    clearMoreInformation(String userId, String elementGUID, String detailGUID)
    Remove a "MoreInformation" relationship between two referenceables.
    void
    clearResource(String userId, String elementGUID, String resourceGUID)
    Remove a "ResourceList" relationship between two referenceables.
    void
    clearStakeholder(String userId, String elementGUID, String stakeholderGUID)
    Remove a "Stakeholder" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getAssignedActors(String userId, String scopeGUID, int startFrom, int pageSize)
    Retrieve the assigned actors linked by the "AssignmentScope" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getAssignedScopes(String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the assigned scopes linked by the "AssignmentScope" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getDescriptiveElements(String userId, String detailGUID, int startFrom, int pageSize)
    Retrieve the descriptive elements linked via a "MoreInformation" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getGovernanceDefinitionScopes(String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
    Retrieve the assigned scopes linked by the "GovernanceDefinitionScope" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement>
    getGovernanceDefinitionsForElement(String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the governance definitions linked via a "GovernedBy" relationship to an element.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getGovernedElements(String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
    Retrieve the governed elements linked via a "GovernedBy" relationship to a governance definition.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getMoreInformation(String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the detail elements linked via a "MoreInformation" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getResourceList(String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the list of resources assigned to an element via the "ResourceList" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceRoleElement>
    getResponsibleRoles(String userId, String governanceResponsibilityGUID, int startFrom, int pageSize)
    Retrieve the person roles linked via a "GovernanceResponsibilityAssignment" relationship to a governance responsibility.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement>
    getRoleResponsibilities(String userId, String personRoleGUID, int startFrom, int pageSize)
    Retrieve the governance responsibilities linked via a "GovernanceResponsibilityAssignment" relationship to a person role.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement>
    getScopedGovernanceDefinitions(String userId, String scopeGUID, int startFrom, int pageSize)
    Retrieve the governance definitions linked by the "GovernanceDefinitionScope" relationship to a scope element.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getStakeholderCommissionedElements(String userId, String stakeholderGUID, int startFrom, int pageSize)
    Retrieve the elements commissioned by a stakeholder, linked via the "Stakeholder" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getStakeholders(String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the stakeholder elements linked via the "Stakeholder" relationship between two referenceables.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement>
    getSupportedByResource(String userId, String resourceGUID, int startFrom, int pageSize)
    Retrieve the list of elements assigned to a resource via the "ResourceList" relationship between two referenceables.
    void
    removeReferenceable(String userId, String elementGUID, String elementGUIDParameterName, String urlTemplate, String methodName)
    Remove the metadata element.
    void
    setupAssignmentScope(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.actors.AssignmentScopeProperties properties, String scopeGUID)
    Create an "AssignmentScope" relationship between an element and its scope.
    void
    setupGovernanceDefinitionScope(String userId, String governanceDefinitionGUID, String scopeGUID)
    Create an "GovernanceDefinitionScope" relationship between a governance definition and its scope element.
    void
    setupGovernanceResponsibilityAssignment(String userId, String governanceResponsibilityGUID, String personRoleGUID)
    Create a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
    void
    setupGovernedBy(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String governanceDefinitionGUID)
    Create a "GovernedBy" relationship between an element and a governance definition.
    void
    setupMoreInformation(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String detailGUID)
    Create a "MoreInformation" relationship between an element that is descriptive and one that is providing the detail.
    void
    setupResource(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.resources.ResourceListProperties properties, String resourceGUID)
    Create a "ResourceList" relationship between a consuming element and an element that represents resources.
    void
    setupStakeholder(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.StakeholderProperties properties, String stakeholderGUID)
    Create a "Stakeholder" relationship between an element and its stakeholder.
    void
    updateGovernanceDefinitionStatus(String userId, String elementGUID, String elementGUIDParameterName, org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus newStatus, String propertiesParameterName, String methodName)
    Update the status of a governance definition
    void
    updateRelationship(String userId, String relationshipGUID, String relationshipGUIDParameterName, boolean isMergeUpdate, String relationshipName, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String urlTemplate, String methodName)
    Update the properties of a multi-link relationship.

    Methods inherited from class java.lang.Object

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

    • GovernanceProgramBaseClient

      public GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, int maxPageSize, 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
      maxPageSize - pre-initialized parameter limit
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • GovernanceProgramBaseClient

      public GovernanceProgramBaseClient(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 - there is a problem creating the client-side components to issue any REST API calls.
    • GovernanceProgramBaseClient

      public GovernanceProgramBaseClient(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 - there is a problem creating the client-side components to issue any REST API calls.
    • GovernanceProgramBaseClient

      public GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, 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
      maxPageSize - pre-initialized parameter limit
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • GovernanceProgramBaseClient

      public GovernanceProgramBaseClient(String serverName, String serverPlatformURLRoot, GovernanceProgramRESTClient restClient, int maxPageSize) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException
      Create a new client that is going to be used in 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 - client that issues the REST API calls
      maxPageSize - maximum number of results supported by this server
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
  • Method Details

    • updateGovernanceDefinitionStatus

      public void updateGovernanceDefinitionStatus(String userId, String elementGUID, String elementGUIDParameterName, org.odpi.openmetadata.frameworks.openmetadata.enums.GovernanceDefinitionStatus newStatus, String propertiesParameterName, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Update the status of a governance definition
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the metadata element to update
      elementGUIDParameterName - name of parameter passing the elementGUID
      newStatus - new status
      propertiesParameterName - name of parameter passing the properties
      methodName - calling method
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • updateRelationship

      public void updateRelationship(String userId, String relationshipGUID, String relationshipGUIDParameterName, boolean isMergeUpdate, String relationshipName, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String urlTemplate, String methodName) 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 a multi-link relationship.
      Parameters:
      userId - calling user
      relationshipGUID - unique identifier of the primary element
      relationshipGUIDParameterName - name of parameter passing the relationshipGUID
      isMergeUpdate - should the supplied properties overlay the existing properties or replace them
      relationshipName - type name of relationship
      properties - describes the properties for the relationship
      urlTemplate - URL to call (no expected placeholders)
      methodName - calling method
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException - one of the properties is invalid
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException - security access problem
    • removeReferenceable

      public void removeReferenceable(String userId, String elementGUID, String elementGUIDParameterName, String urlTemplate, String methodName) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove the metadata element.
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the metadata element to remove
      elementGUIDParameterName - name of parameter passing the elementGUID
      urlTemplate - URL to call (no expected placeholders)
      methodName - calling method
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupMoreInformation

      public void setupMoreInformation(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String detailGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a "MoreInformation" relationship between an element that is descriptive and one that is providing the detail.
      Specified by:
      setupMoreInformation in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      properties - properties of the relationship
      detailGUID - unique identifier of the element that provides the detail
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearMoreInformation

      public void clearMoreInformation(String userId, String elementGUID, String detailGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a "MoreInformation" relationship between two referenceables.
      Specified by:
      clearMoreInformation in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      detailGUID - unique identifier of the element that provides the detail
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getMoreInformation

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getMoreInformation(String userId, String elementGUID, 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
      Retrieve the detail elements linked via a "MoreInformation" relationship between two referenceables.
      Specified by:
      getMoreInformation in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getDescriptiveElements

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getDescriptiveElements(String userId, String detailGUID, 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
      Retrieve the descriptive elements linked via a "MoreInformation" relationship between two referenceables.
      Specified by:
      getDescriptiveElements in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      detailGUID - unique identifier of the element that provides the detail
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupGovernedBy

      public void setupGovernedBy(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String governanceDefinitionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a "GovernedBy" relationship between an element and a governance definition.
      Specified by:
      setupGovernedBy in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is governed
      properties - properties of the relationship
      governanceDefinitionGUID - unique identifier of the element that provides the detail
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearGovernedBy

      public void clearGovernedBy(String userId, String elementGUID, String governanceDefinitionGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a "GovernedBy" relationship between two elements.
      Specified by:
      clearGovernedBy in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is governed
      governanceDefinitionGUID - unique identifier of the governance definition
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getGovernanceDefinitionsForElement

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement> getGovernanceDefinitionsForElement(String userId, String elementGUID, 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
      Retrieve the governance definitions linked via a "GovernedBy" relationship to an element.
      Specified by:
      getGovernanceDefinitionsForElement in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related governance definitions
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getGovernedElements

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getGovernedElements(String userId, String governanceDefinitionGUID, 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
      Retrieve the governed elements linked via a "GovernedBy" relationship to a governance definition.
      Specified by:
      getGovernedElements in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceDefinitionGUID - unique identifier of the element that provides the detail
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupGovernanceDefinitionScope

      public void setupGovernanceDefinitionScope(String userId, String governanceDefinitionGUID, String scopeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create an "GovernanceDefinitionScope" relationship between a governance definition and its scope element.
      Specified by:
      setupGovernanceDefinitionScope in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceDefinitionGUID - unique identifier of the governance definition
      scopeGUID - unique identifier of the scope
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearGovernanceDefinitionScope

      public void clearGovernanceDefinitionScope(String userId, String governanceDefinitionGUID, String scopeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove an "GovernanceDefinitionScope" relationship between two referenceables.
      Specified by:
      clearGovernanceDefinitionScope in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceDefinitionGUID - unique identifier of the governance definition
      scopeGUID - unique identifier of the scope
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getGovernanceDefinitionScopes

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getGovernanceDefinitionScopes(String userId, String governanceDefinitionGUID, 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
      Retrieve the assigned scopes linked by the "GovernanceDefinitionScope" relationship between two referenceables.
      Specified by:
      getGovernanceDefinitionScopes in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceDefinitionGUID - unique identifier of the governance definition
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getScopedGovernanceDefinitions

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement> getScopedGovernanceDefinitions(String userId, String scopeGUID, 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
      Retrieve the governance definitions linked by the "GovernanceDefinitionScope" relationship to a scope element.
      Specified by:
      getScopedGovernanceDefinitions in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      scopeGUID - unique identifier of the scope
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupGovernanceResponsibilityAssignment

      public void setupGovernanceResponsibilityAssignment(String userId, String governanceResponsibilityGUID, String personRoleGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
      Specified by:
      setupGovernanceResponsibilityAssignment in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceResponsibilityGUID - unique identifier of the governance responsibility (type of governance definition)
      personRoleGUID - unique identifier of the person role element
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearGovernanceResponsibilityAssignment

      public void clearGovernanceResponsibilityAssignment(String userId, String governanceResponsibilityGUID, String personRoleGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
      Specified by:
      clearGovernanceResponsibilityAssignment in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceResponsibilityGUID - unique identifier of the governance responsibility (type of governance definition)
      personRoleGUID - unique identifier of the person role element
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getResponsibleRoles

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceRoleElement> getResponsibleRoles(String userId, String governanceResponsibilityGUID, 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
      Retrieve the person roles linked via a "GovernanceResponsibilityAssignment" relationship to a governance responsibility.
      Specified by:
      getResponsibleRoles in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      governanceResponsibilityGUID - unique identifier of the governance responsibility (type of governance definition)
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getRoleResponsibilities

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.GovernanceDefinitionElement> getRoleResponsibilities(String userId, String personRoleGUID, 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
      Retrieve the governance responsibilities linked via a "GovernanceResponsibilityAssignment" relationship to a person role.
      Specified by:
      getRoleResponsibilities in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      personRoleGUID - unique identifier of the role
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupStakeholder

      public void setupStakeholder(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.StakeholderProperties properties, String stakeholderGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a "Stakeholder" relationship between an element and its stakeholder.
      Specified by:
      setupStakeholder in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      properties - properties of the relationship
      stakeholderGUID - unique identifier of the stakeholder
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearStakeholder

      public void clearStakeholder(String userId, String elementGUID, String stakeholderGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a "Stakeholder" relationship between two referenceables.
      Specified by:
      clearStakeholder in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      stakeholderGUID - unique identifier of the stakeholder
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getStakeholders

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getStakeholders(String userId, String elementGUID, 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
      Retrieve the stakeholder elements linked via the "Stakeholder" relationship between two referenceables.
      Specified by:
      getStakeholders in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getStakeholderCommissionedElements

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getStakeholderCommissionedElements(String userId, String stakeholderGUID, 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
      Retrieve the elements commissioned by a stakeholder, linked via the "Stakeholder" relationship between two referenceables.
      Specified by:
      getStakeholderCommissionedElements in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      stakeholderGUID - unique identifier of the stakeholder
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupAssignmentScope

      public void setupAssignmentScope(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.actors.AssignmentScopeProperties properties, String scopeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create an "AssignmentScope" relationship between an element and its scope.
      Specified by:
      setupAssignmentScope in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      properties - properties of the relationship
      scopeGUID - unique identifier of the scope
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearAssignmentScope

      public void clearAssignmentScope(String userId, String elementGUID, String scopeGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove an "AssignmentScope" relationship between two referenceables.
      Specified by:
      clearAssignmentScope in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      scopeGUID - unique identifier of the scope
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getAssignedScopes

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getAssignedScopes(String userId, String elementGUID, 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
      Retrieve the assigned scopes linked by the "AssignmentScope" relationship between two referenceables.
      Specified by:
      getAssignedScopes in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getAssignedActors

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getAssignedActors(String userId, String scopeGUID, 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
      Retrieve the assigned actors linked by the "AssignmentScope" relationship between two referenceables.
      Specified by:
      getAssignedActors in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      scopeGUID - unique identifier of the scope
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupResource

      public void setupResource(String userId, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.resources.ResourceListProperties properties, String resourceGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Create a "ResourceList" relationship between a consuming element and an element that represents resources.
      Specified by:
      setupResource in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      properties - properties of the relationship
      resourceGUID - unique identifier of the resource
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearResource

      public void clearResource(String userId, String elementGUID, String resourceGUID) throws org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.connectors.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException
      Remove a "ResourceList" relationship between two referenceables.
      Specified by:
      clearResource in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      resourceGUID - unique identifier of the resource
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getResourceList

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getResourceList(String userId, String elementGUID, 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
      Retrieve the list of resources assigned to an element via the "ResourceList" relationship between two referenceables.
      Specified by:
      getResourceList in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      elementGUID - unique identifier of the element
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getSupportedByResource

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElement> getSupportedByResource(String userId, String resourceGUID, 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
      Retrieve the list of elements assigned to a resource via the "ResourceList" relationship between two referenceables.
      Specified by:
      getSupportedByResource in interface org.odpi.openmetadata.accessservices.governanceprogram.api.RelatedElementsManagementInterface
      Parameters:
      userId - calling user
      resourceGUID - unique identifier of the resource
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of related elements
      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 issue this request
      org.odpi.openmetadata.frameworks.connectors.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)