Class ProjectService

java.lang.Object
com.aquima.web.rest.v1.service.ProjectService

public class ProjectService extends Object

NOTE TO DEVELOPERS: this class is converted to .NET

Since:
9.6
Author:
m.van.tilburg
  • Constructor Details

  • Method Details

    • getProjects

      public PagedObject<Project> getProjects(PagedObject<Project> pagedProjects, Integer page, Integer pageSize, String sortCriteria)
      Parameters:
      pagedProjects - Return object instance with paginated projects
      page - The page number for the paginator, starts at 1
      pageSize - The number of projects per page
      sortCriteria - A comma separated string of sort criteria
      Returns:
      requested projects
    • getProject

      public Project getProject(Project project, String projectId)
      Parameters:
      project - return object instance for the project
      projectId - the unique ID of the project to get. The ID is in short format, @see ProjectConverter
      Returns:
      requested projects
      Throws:
      ResourceNotFoundException - when the project with ID projectId does not exist
    • getProjectMetadata

      public Metadata getProjectMetadata(Metadata projectMetadata, String projectId)
      Parameters:
      projectMetadata - return object instance for the project metadata
      projectId - the unique ID of the project to get. The ID is in short format, @see ProjectConverter
      Returns:
      the requested project metadata
      Throws:
      ResourceNotFoundException - when the project with ID projectId does not exist or the project has no metadata