Class ProjectManagementRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.projectmanagement.server.ProjectManagementRESTServices
The ProjectManagementRESTServices provides the server-side implementation of the Stewardship Action Open Metadata
Assess Service (OMAS). This interface provides connections to assets and APIs for adding feedback
on the asset.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove an "AssignmentScope" relationship between two referenceables.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "MoreInformation" relationship between two referenceables.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearProjectManagementRole(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a relationship between a project and a person role.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearProjectTeam(String serverName, String userId, String projectGUID, String actorProfileGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a ProjectTeam relationship between a project and an actor profile (typically a team).org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "ResourceList" relationship between two referenceables.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseclearStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "Stakeholder" relationship between two referenceables.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateProject(String serverName, String userId, org.odpi.openmetadata.accessservices.projectmanagement.rest.ReferenceableRequestBody requestBody) Create a new metadata element to represent a project.org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponsecreateProjectFromTemplate(String serverName, String userId, String templateGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a project using an existing metadata element as a template.org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponsefindProjects(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of project metadata elements that contain the search string.org.odpi.openmetadata.accessservices.projectmanagement.rest.RelatedElementListResponsegetAssignedActors(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.projectmanagement.rest.RelatedElementListResponsegetAssignedScopes(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.projectmanagement.rest.RelatedElementListResponsegetDescriptiveElements(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.projectmanagement.rest.RelatedElementListResponsegetMoreInformation(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.projectmanagement.rest.ActorProfileListResponsegetProjectActors(String serverName, String userId, String projectGUID, int startFrom, int pageSize) Return information about the actors linked to a project.org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectResponsegetProjectByGUID(String serverName, String userId, String guid) Retrieve the project metadata element with the supplied unique identifier.org.odpi.openmetadata.accessservices.projectmanagement.rest.PersonRoleListResponsegetProjectManagementRoles(String serverName, String userId, String projectGUID, int startFrom, int pageSize) Return information about the project management roles linked to a project.org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponsegetProjects(String serverName, String userId, int startFrom, int pageSize) Retrieve the list of project metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponsegetProjectsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of project metadata elements with a matching qualified or display name.org.odpi.openmetadata.accessservices.projectmanagement.rest.RelatedElementListResponsegetResourceList(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.projectmanagement.rest.RelatedElementListResponsegetStakeholderCommissionedElements(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.projectmanagement.rest.RelatedElementListResponsegetStakeholders(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.projectmanagement.rest.RelatedElementListResponsegetSupportedByResource(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.VoidResponseremoveProject(String serverName, String userId, String projectGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove the metadata element representing a project.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupAssignmentScope(String serverName, String userId, String elementGUID, String scopeGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create an "AssignmentScope" relationship between an element and its scope.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.projectmanagement.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.VoidResponsesetupProjectManagementRole(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a relationship between a project and a person role.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupProjectTeam(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a ProjectTeam relationship between a project and an actor profile (typically a team).org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupResource(String serverName, String userId, String elementGUID, String resourceGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a "ResourceList" relationship between a consuming element and an element that represents resources.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponsesetupStakeholder(String serverName, String userId, String elementGUID, String stakeholderGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a "Stakeholder" relationship between an element and its stakeholder.org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponseupdateProject(String serverName, String userId, String projectGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.projectmanagement.rest.ReferenceableRequestBody requestBody) Update the metadata element representing a project.
-
Constructor Details
-
ProjectManagementRESTServices
public ProjectManagementRESTServices()Default constructor
-
-
Method Details
-
createProject
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createProject(String serverName, String userId, org.odpi.openmetadata.accessservices.projectmanagement.rest.ReferenceableRequestBody requestBody) Create a new metadata element to represent a project.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- properties to store- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
createProjectFromTemplate
public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createProjectFromTemplate(String serverName, String userId, String templateGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.TemplateRequestBody requestBody) Create a new metadata element to represent a project using an existing metadata element as a template.- Parameters:
serverName- name of the service to route the request to.userId- calling usertemplateGUID- unique identifier of the metadata element to copyrequestBody- properties that override the template- Returns:
- unique identifier of the new metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
updateProject
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateProject(String serverName, String userId, String projectGUID, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.projectmanagement.rest.ReferenceableRequestBody requestBody) Update the metadata element representing a project.- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the metadata element to updateisMergeUpdate- should the new properties be merged with the existing properties of overlay them?requestBody- new properties for this element- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
setupProjectTeam
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupProjectTeam(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a ProjectTeam relationship between a project and an actor profile (typically a team).- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the projectprojectRoleGUID- unique identifier of the actorrequestBody- relationship properties- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
clearProjectTeam
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearProjectTeam(String serverName, String userId, String projectGUID, String actorProfileGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a ProjectTeam relationship between a project and an actor profile (typically a team).- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the projectactorProfileGUID- unique identifier of the actorrequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
setupProjectManagementRole
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupProjectManagementRole(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.RelationshipRequestBody requestBody) Create a relationship between a project and a person role.- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the projectprojectRoleGUID- unique identifier of the person rolerequestBody- relationship properties- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
clearProjectManagementRole
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse clearProjectManagementRole(String serverName, String userId, String projectGUID, String projectRoleGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a relationship between a project and a person role.- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the projectprojectRoleGUID- unique identifier of the person rolerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
removeProject
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeProject(String serverName, String userId, String projectGUID, org.odpi.openmetadata.accessservices.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove the metadata element representing a project.- Parameters:
serverName- name of the service to route the request to.userId- calling userprojectGUID- unique identifier of the metadata element to removerequestBody- external source identifiers- Returns:
- void or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
findProjects
public org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponse findProjects(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.SearchStringRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of project metadata elements that contain the search string. The search string is treated as a regular expression.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- string to find in the propertiesstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getProjectsByName
public org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponse getProjectsByName(String serverName, String userId, org.odpi.openmetadata.commonservices.ffdc.rest.NameRequestBody requestBody, int startFrom, int pageSize) Retrieve the list of project metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userrequestBody- name to search forstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getProjectManagementRoles
public org.odpi.openmetadata.accessservices.projectmanagement.rest.PersonRoleListResponse getProjectManagementRoles(String serverName, String userId, String projectGUID, int startFrom, int pageSize) Return information about the project management roles linked to a project.- Parameters:
serverName- called serveruserId- calling userprojectGUID- unique identifier for the projectstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching person roles InvalidParameterException name or userId is null PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
getProjectActors
public org.odpi.openmetadata.accessservices.projectmanagement.rest.ActorProfileListResponse getProjectActors(String serverName, String userId, String projectGUID, int startFrom, int pageSize) Return information about the actors linked to a project.- Parameters:
serverName- called serveruserId- calling userprojectGUID- unique identifier for the projectstartFrom- index of the list to start from (0 for start)pageSize- maximum number of elements to return.- Returns:
- list of matching person roles InvalidParameterException name or userId is null PropertyServerException problem accessing property server UserNotAuthorizedException security access problem
-
getProjects
public org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectListResponse getProjects(String serverName, String userId, int startFrom, int pageSize) Retrieve the list of project metadata elements with a matching qualified or display name. There are no wildcards supported on this request.- Parameters:
serverName- name of the service to route the request to.userId- calling userstartFrom- paging start pointpageSize- maximum results that can be returned- Returns:
- list of matching metadata elements or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
getProjectByGUID
public org.odpi.openmetadata.accessservices.projectmanagement.rest.ProjectResponse getProjectByGUID(String serverName, String userId, String guid) Retrieve the project metadata element with the supplied unique identifier.- Parameters:
serverName- name of the service to route the request to.userId- calling userguid- unique identifier of the requested metadata element- Returns:
- matching metadata element or InvalidParameterException one of the parameters is invalid or UserNotAuthorizedException the user is not authorized to issue this request or PropertyServerException there is a problem reported in the open metadata server(s)
-
setupMoreInformation
public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse setupMoreInformation(String serverName, String userId, String elementGUID, String detailGUID, org.odpi.openmetadata.accessservices.projectmanagement.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 userelementGUID- unique identifier of the element that is descriptivedetailGUID- unique identifier of the element that provides the detailrequestBody- 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.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "MoreInformation" relationship between two referenceables.- Parameters:
serverName- name of the service to route the request to.userId- calling userelementGUID- unique identifier of the element that is descriptivedetailGUID- unique identifier of the element that provides the detailrequestBody- 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.projectmanagement.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 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:
- 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.projectmanagement.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 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:
- 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.projectmanagement.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 userelementGUID- unique identifier of the elementstakeholderGUID- unique identifier of the stakeholderrequestBody- 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.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "Stakeholder" relationship between two referenceables.- Parameters:
serverName- name of the service to route the request to.userId- calling userelementGUID- unique identifier of the elementstakeholderGUID- unique identifier of the stakeholderrequestBody- 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.projectmanagement.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 userelementGUID- unique identifier of the elementstartFrom- 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.projectmanagement.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 userstakeholderGUID- unique identifier of the stakeholderstartFrom- 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.projectmanagement.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 userelementGUID- unique identifier of the elementscopeGUID- unique identifier of the scoperequestBody- 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.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove an "AssignmentScope" relationship between two referenceables.- Parameters:
serverName- name of the service to route the request to.userId- calling userelementGUID- unique identifier of the elementscopeGUID- unique identifier of the scoperequestBody- 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.projectmanagement.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 userelementGUID- unique identifier of the elementstartFrom- 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.projectmanagement.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 userscopeGUID- unique identifier of the scopestartFrom- 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.projectmanagement.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 userelementGUID- unique identifier of the elementresourceGUID- unique identifier of the resourcerequestBody- 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.projectmanagement.rest.ExternalSourceRequestBody requestBody) Remove a "ResourceList" relationship between two referenceables.- Parameters:
serverName- name of the service to route the request to.userId- calling userelementGUID- unique identifier of the elementresourceGUID- unique identifier of the resourcerequestBody- 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.projectmanagement.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 userelementGUID- unique identifier of the elementstartFrom- 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.projectmanagement.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 userresourceGUID- unique identifier of the resourcestartFrom- 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)
-