Class RelatedElementRESTServices

java.lang.Object
org.odpi.openmetadata.accessservices.governanceprogram.server.RelatedElementRESTServices

public class RelatedElementRESTServices extends Object
RelatedElementRESTServices support requests about common Referenceable relationships. It is the server side for the RelatedElementsManagementInterface.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove an "AssignmentScope" relationship between two referenceables.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearGovernanceDefinitionScope(String serverName, String userId, String governanceDefinitionGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove an "GovernanceDefinitionScope" relationship between two referenceables.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearGovernanceResponsibilityAssignment(String serverName, String userId, String governanceResponsibilityGUID, String personRoleGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearGovernedBy(String serverName, String userId, String elementGUID, String governanceDefinitionGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove a "GovernedBy" relationship between two elements.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove a "MoreInformation" relationship between two referenceables.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove a "ResourceList" relationship between two referenceables.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    clearStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
    Remove a "Stakeholder" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getAssignedActors(String serverName, String userId, String scopeGUID, int startFrom, int pageSize)
    Retrieve the assigned actors linked by the "AssignmentScope" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getAssignedScopes(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the assigned scopes linked by the "AssignmentScope" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getDescriptiveElements(String serverName, String userId, String detailGUID, int startFrom, int pageSize)
    Retrieve the descriptive elements linked via a "MoreInformation" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getGovernanceDefinitionScopes(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
    Retrieve the assigned scopes linked by the "GovernanceDefinitionScope" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse
    getGovernanceDefinitionsForElement(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the governance definitions linked via a "GovernedBy" relationship to an element.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getGovernedElements(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
    Retrieve the governed elements linked via a "GovernedBy" relationship to a governance definition.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getMoreInformation(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the detail elements linked via a "MoreInformation" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getResourceList(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the list of resources assigned to an element via the "ResourceList" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceRoleListResponse
    getResponsibleRoles(String serverName, String userId, String governanceResponsibilityGUID, int startFrom, int pageSize)
    Retrieve the person roles linked via a "GovernanceResponsibilityAssignment" relationship to a governance responsibility.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse
    getRoleResponsibilities(String serverName, String userId, String personRoleGUID, int startFrom, int pageSize)
    Retrieve the governance responsibilities linked via a "GovernanceResponsibilityAssignment" relationship to a person role.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse
    getScopedGovernanceDefinitions(String serverName, String userId, String scopeGUID, int startFrom, int pageSize)
    Retrieve the governance definitions linked by the "GovernanceDefinitionScope" relationship to a scope element.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getStakeholderCommissionedElements(String serverName, String userId, String stakeholderGUID, int startFrom, int pageSize)
    Retrieve the elements commissioned by a stakeholder, linked via the "Stakeholder" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getStakeholders(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
    Retrieve the stakeholder elements linked via the "Stakeholder" relationship between two referenceables.
    org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse
    getSupportedByResource(String serverName, String userId, String resourceGUID, int startFrom, int pageSize)
    Retrieve the list of elements assigned to a resource via the "ResourceList" relationship between two referenceables.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create an "AssignmentScope" relationship between an element and its scope.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupGovernanceDefinitionScope(String serverName, String userId, String governanceDefinitionGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create an "GovernanceDefinitionScope" relationship between a governance definition and its scope element.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupGovernanceResponsibilityAssignment(String serverName, String userId, String governanceResponsibilityGUID, String personRoleGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupGovernedBy(String serverName, String userId, String elementGUID, String governanceDefinitionGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create a "GovernedBy" relationship between an element and a governance definition.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create a "MoreInformation" relationship between an element that is descriptive and one that is providing the detail.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create a "ResourceList" relationship between a consuming element and an element that represents resources.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    setupStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
    Create a "Stakeholder" relationship between an element and its stakeholder.

    Methods inherited from class java.lang.Object

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

    • RelatedElementRESTServices

      public RelatedElementRESTServices()
  • Method Details

    • setupMoreInformation

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create a "MoreInformation" relationship between an element that is descriptive and one that is providing the detail.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      detailGUID - unique identifier of the element that provides the detail
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearMoreInformation

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove a "MoreInformation" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element that is descriptive
      detailGUID - unique identifier of the element that provides the detail
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getMoreInformation

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getMoreInformation(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
      Retrieve the detail elements linked via a "MoreInformation" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getDescriptiveElements

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getDescriptiveElements(String serverName, String userId, String detailGUID, int startFrom, int pageSize)
      Retrieve the descriptive elements linked via a "MoreInformation" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupGovernedBy

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupGovernedBy(String serverName, String userId, String elementGUID, String governanceDefinitionGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create a "GovernedBy" relationship between an element and a governance definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element that is governed
      governanceDefinitionGUID - unique identifier of the governance definition
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearGovernedBy

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearGovernedBy(String serverName, String userId, String elementGUID, String governanceDefinitionGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove a "GovernedBy" relationship between two elements.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element that is governed
      governanceDefinitionGUID - unique identifier of the governance definition
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getGovernanceDefinitionsForElement

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse getGovernanceDefinitionsForElement(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
      Retrieve the governance definitions linked via a "GovernedBy" relationship to an element.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element that is governed
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getGovernedElements

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getGovernedElements(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
      Retrieve the governed elements linked via a "GovernedBy" relationship to a governance definition.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupGovernanceDefinitionScope

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupGovernanceDefinitionScope(String serverName, String userId, String governanceDefinitionGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create an "GovernanceDefinitionScope" relationship between a governance definition and its scope element.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      governanceDefinitionGUID - unique identifier of the governance definition
      scopeGUID - unique identifier of the scope
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearGovernanceDefinitionScope

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearGovernanceDefinitionScope(String serverName, String userId, String governanceDefinitionGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove an "GovernanceDefinitionScope" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      governanceDefinitionGUID - unique identifier of the governance definition
      scopeGUID - unique identifier of the scope
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getGovernanceDefinitionScopes

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getGovernanceDefinitionScopes(String serverName, String userId, String governanceDefinitionGUID, int startFrom, int pageSize)
      Retrieve the assigned scopes linked by the "GovernanceDefinitionScope" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getScopedGovernanceDefinitions

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse getScopedGovernanceDefinitions(String serverName, String userId, String scopeGUID, int startFrom, int pageSize)
      Retrieve the governance definitions linked by the "GovernanceDefinitionScope" relationship to a scope element.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupGovernanceResponsibilityAssignment

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupGovernanceResponsibilityAssignment(String serverName, String userId, String governanceResponsibilityGUID, String personRoleGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      governanceResponsibilityGUID - unique identifier of the governance responsibility (type of governance definition)
      personRoleGUID - unique identifier of the person role element
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearGovernanceResponsibilityAssignment

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearGovernanceResponsibilityAssignment(String serverName, String userId, String governanceResponsibilityGUID, String personRoleGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove a "GovernanceResponsibilityAssignment" relationship between a governance responsibility and a person role.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      governanceResponsibilityGUID - unique identifier of the governance responsibility (type of governance definition)
      personRoleGUID - unique identifier of the person role element
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getResponsibleRoles

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceRoleListResponse getResponsibleRoles(String serverName, String userId, String governanceResponsibilityGUID, int startFrom, int pageSize)
      Retrieve the person roles linked via a "GovernanceResponsibilityAssignment" relationship to a governance responsibility.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getRoleResponsibilities

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.GovernanceDefinitionListResponse getRoleResponsibilities(String serverName, String userId, String personRoleGUID, int startFrom, int pageSize)
      Retrieve the governance responsibilities linked via a "GovernanceResponsibilityAssignment" relationship to a person role.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      personRoleGUID - unique identifier of the person role element
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupStakeholder

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create a "Stakeholder" relationship between an element and its stakeholder.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      stakeholderGUID - unique identifier of the stakeholder
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearStakeholder

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove a "Stakeholder" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      stakeholderGUID - unique identifier of the stakeholder
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getStakeholders

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getStakeholders(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
      Retrieve the stakeholder elements linked via the "Stakeholder" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getStakeholderCommissionedElements

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getStakeholderCommissionedElements(String serverName, String userId, String stakeholderGUID, int startFrom, int pageSize)
      Retrieve the elements commissioned by a stakeholder, linked via the "Stakeholder" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupAssignmentScope

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create an "AssignmentScope" relationship between an element and its scope.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      scopeGUID - unique identifier of the scope
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearAssignmentScope

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove an "AssignmentScope" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      scopeGUID - unique identifier of the scope
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getAssignedScopes

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getAssignedScopes(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
      Retrieve the assigned scopes linked by the "AssignmentScope" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getAssignedActors

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getAssignedActors(String serverName, String userId, String scopeGUID, int startFrom, int pageSize)
      Retrieve the assigned actors linked by the "AssignmentScope" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • setupResource

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.RelationshipRequestBody requestBody)
      Create a "ResourceList" relationship between a consuming element and an element that represents resources.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      resourceGUID - unique identifier of the resource
      requestBody - relationship properties
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • clearResource

      public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.governanceprogram.rest.ExternalSourceRequestBody requestBody)
      Remove a "ResourceList" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      userId - calling user
      elementGUID - unique identifier of the element
      resourceGUID - unique identifier of the resource
      requestBody - external source identifiers
      Returns:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getResourceList

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getResourceList(String serverName, String userId, String elementGUID, int startFrom, int pageSize)
      Retrieve the list of resources assigned to an element via the "ResourceList" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)
    • getSupportedByResource

      public org.odpi.openmetadata.accessservices.governanceprogram.rest.RelatedElementListResponse getSupportedByResource(String serverName, String userId, String resourceGUID, int startFrom, int pageSize)
      Retrieve the list of elements assigned to a resource via the "ResourceList" relationship between two referenceables.
      Parameters:
      serverName - name of the service to route the request to.
      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:
      void or InvalidParameterException one of the parameters is invalid UserNotAuthorizedException the user is not authorized to issue this request PropertyServerException there is a problem reported in the open metadata server(s)