java.lang.Object
org.odpi.openmetadata.accessservices.projectmanagement.client.ProjectManagementBaseClient
org.odpi.openmetadata.accessservices.projectmanagement.client.ProjectManagement
All Implemented Interfaces:
org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface, org.odpi.openmetadata.accessservices.projectmanagement.api.RelatedElementsInterface

public class ProjectManagement extends ProjectManagementBaseClient implements org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
ProjectManagerClient supports the APIs to maintain projects and their related objects.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ProjectManagement(String serverName, String serverPlatformURLRoot, int maxPageSize)
    Create a new client with no authentication embedded in the HTTP request.
    ProjectManagement(String serverName, String serverPlatformURLRoot, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client with no authentication embedded in the HTTP request.
    ProjectManagement(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize)
    Create a new client that passes userId and password in each HTTP request.
    ProjectManagement(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog)
    Create a new client that passes userId and password in each HTTP request.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    clearProjectManagementRole(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String personRoleGUID)
    Remove a project management relationship between a project and a person role.
    void
    clearProjectTeam(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String actorGUID)
    Remove a ProjectTeam relationship between a project and an actor.
    createProject(String userId, String anchorGUID, boolean isOwnAnchor, String anchorScopeGUID, String optionalClassification, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties properties, String parentGUID, String parentRelationshipTypeName, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties parentRelationshipProperties, boolean parentAtEnd1)
    Create a new generic project.
    createProject(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties projectProperties)
    Create a new metadata element to represent a project.
    createProjectFromTemplate(String userId, String anchorGUID, boolean isOwnAnchor, String anchorScopeGUID, Date effectiveFrom, Date effectiveTo, String templateGUID, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties replacementProperties, Map<String,String> placeholderProperties, String parentGUID, String parentRelationshipTypeName, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties parentRelationshipProperties, boolean parentAtEnd1)
    Create a new metadata element to represent a project using an existing metadata element as a template.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement>
    findProjects(String userId, String searchString, int startFrom, int pageSize)
    Retrieve the list of metadata elements that contain the search string.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement>
    getClassifiedProjects(String userId, String classificationName, int startFrom, int pageSize)
    Returns the list of projects with a particular classification.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement>
    getLinkedProjects(String userId, String parentGUID, String projectStatus, int startFrom, int pageSize)
    Returns the list of projects that are linked off of the supplied element.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorProfileElement>
    getProjectActors(String userId, String projectGUID, int startFrom, int pageSize)
    Return information about the actors linked to a project.
    org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement
    getProjectByGUID(String userId, String projectGUID)
    Retrieve the metadata element with the supplied unique identifier.
    org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectGraph
    getProjectGraph(String userId, String projectGUID)
    Returns the graph of related projects and resources starting with a supplied project guid..
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleElement>
    getProjectManagementRoles(String userId, String projectGUID, int startFrom, int pageSize)
    Return information about the person roles linked to a project.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectTeamMember>
    getProjectMembers(String userId, String projectGUID, String teamRole, int startFrom, int pageSize)
    Return a list of actors that are members of a project.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement>
    getProjects(String userId, int startFrom, int pageSize)
    Retrieve the list of projects.
    List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement>
    getProjectsByName(String userId, String name, int startFrom, int pageSize)
    Retrieve the list of metadata elements with a matching qualified or display name.
    void
    removeProject(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, boolean cascadedDelete)
    Remove the metadata element representing a project.
    void
    setupProjectManagementRole(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String personRoleGUID)
    Create a project management relationship between a project and a person role to show that someone has been appointed to the project management role.
    void
    setupProjectTeam(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectTeamProperties properties, String actorProfileGUID)
    Create a ProjectTeam relationship between a project and an actor to show that they are member of the project.
    void
    updateProject(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties projectProperties)
    Update the metadata element representing a project.

    Methods inherited from class java.lang.Object

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

    • ProjectManagement

      public ProjectManagement(String serverName, String serverPlatformURLRoot, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      maxPageSize - maximum value allowed for page size
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • ProjectManagement

      public ProjectManagement(String serverName, String serverPlatformURLRoot, int maxPageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Create a new client with no authentication embedded in the HTTP request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      maxPageSize - maximum value allowed for page size
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • ProjectManagement

      public ProjectManagement(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - maximum value allowed for page size
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
    • ProjectManagement

      public ProjectManagement(String serverName, String serverPlatformURLRoot, String userId, String password, int maxPageSize, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException
      Create a new client that passes userId and password in each HTTP request. This is the userId/password of the calling server. The end user's userId is sent on each request.
      Parameters:
      serverName - name of the server to connect to
      serverPlatformURLRoot - the network address of the server running the OMAS REST services
      userId - caller's userId embedded in all HTTP requests
      password - caller's userId embedded in all HTTP requests
      maxPageSize - maximum value allowed for page size
      auditLog - logging destination
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - there is a problem creating the client-side components to issue any REST API calls.
  • Method Details

    • createProject

      public String createProject(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties projectProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Create a new metadata element to represent a project.
      Specified by:
      createProject in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectProperties - properties about the project to store
      Returns:
      unique identifier of the new project
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • createProject

      public String createProject(String userId, String anchorGUID, boolean isOwnAnchor, String anchorScopeGUID, String optionalClassification, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties properties, String parentGUID, String parentRelationshipTypeName, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties parentRelationshipProperties, boolean parentAtEnd1) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Create a new generic project.
      Specified by:
      createProject in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - userId of user making request.
      anchorGUID - unique identifier of the element that should be the anchor for the new element. Set to null if no anchor, or the Anchors classification is included in the initial classifications.
      isOwnAnchor - boolean flag to day that the element should be classified as its own anchor once its element is created in the repository.
      anchorScopeGUID - optional scope of the anchor
      optionalClassification - classification of the projects - eg Campaign, Task or PersonalProject
      properties - properties for the project.
      parentGUID - unique identifier of optional parent entity
      parentRelationshipTypeName - type of relationship to connect the new element to the parent
      parentRelationshipProperties - properties to include in parent relationship
      parentAtEnd1 - which end should the parent GUID go in the relationship
      Returns:
      unique identifier of the newly created Project
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • createProjectFromTemplate

      public String createProjectFromTemplate(String userId, String anchorGUID, boolean isOwnAnchor, String anchorScopeGUID, Date effectiveFrom, Date effectiveTo, String templateGUID, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties replacementProperties, Map<String,String> placeholderProperties, String parentGUID, String parentRelationshipTypeName, org.odpi.openmetadata.frameworks.openmetadata.search.ElementProperties parentRelationshipProperties, boolean parentAtEnd1) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Create a new metadata element to represent a project using an existing metadata element as a template. The template defines additional classifications and relationships that should be added to the new project.
      Specified by:
      createProjectFromTemplate in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      anchorGUID - unique identifier of the element that should be the anchor for the new element. Set to null if no anchor, or the Anchors classification is included in the initial classifications.
      isOwnAnchor - boolean flag to day that the element should be classified as its own anchor once its element is created in the repository.
      anchorScopeGUID - optional scope of the anchor
      effectiveFrom - the date when this element is active - null for active on creation
      effectiveTo - the date when this element becomes inactive - null for active until deleted
      templateGUID - the unique identifier of the existing asset to copy (this will copy all the attachments such as nested content, schema connection etc)
      replacementProperties - properties of the new metadata element. These override the template values
      placeholderProperties - property name-to-property value map to replace any placeholder values in the template element - and their anchored elements, which are also copied as part of this operation.
      parentGUID - unique identifier of optional parent entity
      parentRelationshipTypeName - type of relationship to connect the new element to the parent
      parentRelationshipProperties - properties to include in parent relationship
      parentAtEnd1 - which end should the parent GUID go in the relationship
      Returns:
      unique identifier of the new metadata element
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • updateProject

      public void updateProject(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, boolean isMergeUpdate, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectProperties projectProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Update the metadata element representing a project. It is possible to use the subtype property classes or set up specialized properties in extended properties.
      Specified by:
      updateProject in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the metadata element to update
      isMergeUpdate - should the new properties be merged with existing properties (true) or completely replace them (false)?
      projectProperties - new properties for the metadata element
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupProjectManagementRole

      public void setupProjectManagementRole(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String personRoleGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Create a project management relationship between a project and a person role to show that someone has been appointed to the project management role.
      Specified by:
      setupProjectManagementRole in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the project in the external data manager
      personRoleGUID - unique identifier of the person role in the external data manager
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearProjectManagementRole

      public void clearProjectManagementRole(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String personRoleGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Remove a project management relationship between a project and a person role.
      Specified by:
      clearProjectManagementRole in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the project in the external data manager
      personRoleGUID - unique identifier of the person role in the external data manager
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • setupProjectTeam

      public void setupProjectTeam(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, org.odpi.openmetadata.frameworks.openmetadata.properties.projects.ProjectTeamProperties properties, String actorProfileGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Create a ProjectTeam relationship between a project and an actor to show that they are member of the project.
      Specified by:
      setupProjectTeam in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the project
      properties - describes the permissions that the role has in the project
      actorProfileGUID - unique identifier of the person role
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • clearProjectTeam

      public void clearProjectTeam(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, String actorGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Remove a ProjectTeam relationship between a project and an actor.
      Specified by:
      clearProjectTeam in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the project in the external data manager
      actorGUID - unique identifier of the person role in the external data manager
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • removeProject

      public void removeProject(String userId, String externalSourceGUID, String externalSourceName, String projectGUID, boolean cascadedDelete) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Remove the metadata element representing a project.
      Specified by:
      removeProject in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      externalSourceGUID - unique identifier of software capability representing the caller
      externalSourceName - unique name of software capability representing the caller
      projectGUID - unique identifier of the metadata element to remove
      cascadedDelete - boolean indicating whether the delete request can cascade to dependent elements
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getLinkedProjects

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement> getLinkedProjects(String userId, String parentGUID, String projectStatus, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Returns the list of projects that are linked off of the supplied element.
      Specified by:
      getLinkedProjects in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - userId of user making request
      parentGUID - unique identifier of referenceable object (typically a personal profile, project or community) that the projects hang off of
      projectStatus - filter response by project type - if null, any value will do
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return
      Returns:
      a list of projects
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getProjectGraph

      public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectGraph getProjectGraph(String userId, String projectGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Returns the graph of related projects and resources starting with a supplied project guid..
      Specified by:
      getProjectGraph in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - userId of user making request
      projectGUID - unique identifier of the starting project
      Returns:
      a graph of projects
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getClassifiedProjects

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement> getClassifiedProjects(String userId, String classificationName, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Returns the list of projects with a particular classification.
      Specified by:
      getClassifiedProjects in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - userId of user making request
      classificationName - name of the classification - if null, all projects are returned
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return
      Returns:
      a list of projects
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • getProjectMembers

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectTeamMember> getProjectMembers(String userId, String projectGUID, String teamRole, int startFrom, int pageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException
      Return a list of actors that are members of a project.
      Specified by:
      getProjectMembers in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - userId of user making request
      projectGUID - unique identifier of the project
      teamRole - optional team role
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of team members
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is null or invalid.
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem retrieving information from the property server(s).
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the requesting user is not authorized to issue this request.
    • findProjects

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement> findProjects(String userId, String searchString, 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 metadata elements that contain the search string. The search string is treated as a regular expression.
      Specified by:
      findProjects in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      searchString - string to find in the properties
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getProjectsByName

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement> getProjectsByName(String userId, String name, 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 metadata elements with a matching qualified or display name. There are no wildcards supported on this request.
      Specified by:
      getProjectsByName in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      name - name to search for
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getProjects

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement> getProjects(String userId, 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 projects.
      Specified by:
      getProjects in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      startFrom - paging start point
      pageSize - maximum results that can be returned
      Returns:
      list of matching metadata elements
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)
    • getProjectManagementRoles

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorRoleElement> getProjectManagementRoles(String userId, String projectGUID, 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
      Return information about the person roles linked to a project.
      Specified by:
      getProjectManagementRoles in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      projectGUID - unique identifier for the project
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of matching actor profiles (hopefully only one)
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - name or userId is null
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - security access problem
    • getProjectActors

      public List<org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ActorProfileElement> getProjectActors(String userId, String projectGUID, 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
      Return information about the actors linked to a project.
      Specified by:
      getProjectActors in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      projectGUID - unique identifier for the project
      startFrom - index of the list to start from (0 for start)
      pageSize - maximum number of elements to return.
      Returns:
      list of matching actor profiles (hopefully only one)
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - name or userId is null
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - problem accessing property server
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - security access problem
    • getProjectByGUID

      public org.odpi.openmetadata.frameworks.openmetadata.metadataelements.ProjectElement getProjectByGUID(String userId, String projectGUID) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException
      Retrieve the metadata element with the supplied unique identifier.
      Specified by:
      getProjectByGUID in interface org.odpi.openmetadata.accessservices.projectmanagement.api.ProjectsInterface
      Parameters:
      userId - calling user
      projectGUID - unique identifier of the requested metadata element
      Returns:
      requested metadata element
      Throws:
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException - one of the parameters is invalid
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException - the user is not authorized to issue this request
      org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException - there is a problem reported in the open metadata server(s)