Interface ProjectService
public interface ProjectService
-
Method Summary
Modifier and TypeMethodDescriptiongetProject
(String projectId) getProject
(String projectId, jakarta.servlet.ServletRequest request) getProjects
(jakarta.servlet.ServletRequest request)
-
Method Details
-
getProjects
- Returns:
- immutable map of projects and empty map if non present. The keys are
Project.getId()
-
getProjects
- 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 samerequest
and theProject
instances within the Map are also the same during the entirerequest
-
getProject
- Parameters:
projectId
- the id ofProject.getId()
you are looking for- Returns:
- the Optional for
Project
forprojectId
.
-
getProject
- Returns:
- the same as
getProject(String)
only this time the returnProject
is guaranteed to stay the same during every next invocation of this method with the samerequest
-