Interface ProjectService


public interface ProjectService
  • Method Details

    • getProjects

      Map<String,? extends Project> getProjects()
      Returns:
      immutable map of projects and empty map if non present. The keys are Project.getId()
    • getProjects

      Map<String,? extends Project> getProjects(jakarta.servlet.ServletRequest request)
      Returns:
      the same as getProjects() only this time the returned Map is guaranteed to stay the same instance during every next invocation of this method with the same request and the Project instances within the Map are also the same during the entire request
    • getProject

      Optional<? extends Project> getProject(String projectId)
      Parameters:
      projectId - the id of Project.getId() you are looking for
      Returns:
      the Optional for Project for projectId.
    • getProject

      Optional<? extends Project> getProject(String projectId, jakarta.servlet.ServletRequest request)
      Returns:
      the same as getProject(String) only this time the return Project is guaranteed to stay the same during every next invocation of this method with the same request