Interface RelatedElementsManagementInterface
public interface RelatedElementsManagementInterface
Defines the interface that is common to multiple element types
-
Method Summary
Modifier and TypeMethodDescriptionvoidclearAssignmentScope(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String scopeGUID) Remove an "AssignmentScope" relationship between two referenceables.voidclearMoreInformation(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String detailGUID) Remove a "MoreInformation" relationship between two referenceables.voidclearResource(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String resourceGUID) Remove a "ResourceList" relationship between two referenceables.voidclearStakeholder(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String stakeholderGUID) Remove a "Stakeholder" relationship between two referenceables.List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.RelatedElementStub>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.voidsetupAssignmentScope(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.actors.AssignmentScopeProperties properties, String scopeGUID) Create an "AssignmentScope" relationship between an element and its scope.voidsetupMoreInformation(String userId, String externalSourceGUID, String externalSourceName, 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.voidsetupResource(String userId, String externalSourceGUID, String externalSourceName, 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.voidsetupStakeholder(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.StakeholderProperties properties, String stakeholderGUID) Create a "Stakeholder" relationship between an element and its stakeholder.
-
Method Details
-
setupMoreInformation
void setupMoreInformation(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.RelationshipProperties properties, String detailGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create a "MoreInformation" relationship between an element that is descriptive and one that is providing the detail.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the element that is descriptiveproperties- properties of the relationshipdetailGUID- unique identifier of the element that provides the detail- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearMoreInformation
void clearMoreInformation(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String detailGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Remove a "MoreInformation" relationship between two referenceables.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the element that is descriptivedetailGUID- unique identifier of the element that provides the detail- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getMoreInformation
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getMoreInformation(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the detail elements linked via a "MoreInformation" relationship between two referenceables.- Parameters:
userId- calling userelementGUID- unique identifier of the element that is descriptivestartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getDescriptiveElements
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getDescriptiveElements(String userId, String detailGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the descriptive elements linked via a "MoreInformation" relationship between two referenceables.- Parameters:
userId- calling userdetailGUID- unique identifier of the element that provides the detailstartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupStakeholder
void setupStakeholder(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.StakeholderProperties properties, String stakeholderGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create a "Stakeholder" relationship between an element and its stakeholder.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementproperties- properties of the relationshipstakeholderGUID- unique identifier of the stakeholder- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearStakeholder
void clearStakeholder(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String stakeholderGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Remove a "Stakeholder" relationship between two referenceables.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementstakeholderGUID- unique identifier of the stakeholder- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getStakeholders
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getStakeholders(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the stakeholder elements linked via the "Stakeholder" relationship between two referenceables.- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getStakeholderCommissionedElements
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getStakeholderCommissionedElements(String userId, String stakeholderGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the elements commissioned by a stakeholder, linked via the "Stakeholder" relationship between two referenceables.- Parameters:
userId- calling userstakeholderGUID- unique identifier of the stakeholderstartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupAssignmentScope
void setupAssignmentScope(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.actors.AssignmentScopeProperties properties, String scopeGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create an "AssignmentScope" relationship between an element and its scope.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementproperties- properties of the relationshipscopeGUID- unique identifier of the scope- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearAssignmentScope
void clearAssignmentScope(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String scopeGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Remove an "AssignmentScope" relationship between two referenceables.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementscopeGUID- unique identifier of the scope- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getAssignedScopes
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getAssignedScopes(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the assigned scopes linked by the "AssignmentScope" relationship between two referenceables.- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getAssignedActors
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getAssignedActors(String userId, String scopeGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the assigned actors linked by the "AssignmentScope" relationship between two referenceables.- Parameters:
userId- calling userscopeGUID- unique identifier of the scopestartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
setupResource
void setupResource(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.resources.ResourceListProperties properties, String resourceGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create a "ResourceList" relationship between a consuming element and an element that represents resources.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementproperties- properties of the relationshipresourceGUID- unique identifier of the resource- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
clearResource
void clearResource(String userId, String externalSourceGUID, String externalSourceName, String elementGUID, String resourceGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Remove a "ResourceList" relationship between two referenceables.- Parameters:
userId- calling userexternalSourceGUID- unique identifier of software capability representing the callerexternalSourceName- unique name of software capability representing the callerelementGUID- unique identifier of the elementresourceGUID- unique identifier of the resource- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getResourceList
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getResourceList(String userId, String elementGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the list of resources assigned to an element via the "ResourceList" relationship between two referenceables.- Parameters:
userId- calling userelementGUID- unique identifier of the elementstartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-
getSupportedByResource
List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.RelatedElementStub> getSupportedByResource(String userId, String resourceGUID, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the list of elements assigned to a resource via the "ResourceList" relationship between two referenceables.- Parameters:
userId- calling userresourceGUID- unique identifier of the resourcestartFrom- 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.openmetadata.ffdc.InvalidParameterException- one of the parameters is invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- the user is not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- there is a problem reported in the open metadata server(s)
-