Class ProjectService
java.lang.Object
fr.gouv.vitam.collect.internal.core.service.ProjectService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createProject
(ProjectDto projectDto) create a project modelvoid
delete project according to idfindProject
(String id) return project according to idsearchProject
(CriteriaProjectDto criteriaProjectDto) void
updateProject
(ProjectDto projectDto)
-
Constructor Details
-
ProjectService
-
-
Method Details
-
createProject
create a project model- Throws:
CollectInternalException
-
findProject
return project according to id- Parameters:
id
- model id to find- Returns:
- Optional
- Throws:
CollectInternalException
-
updateProject
- Throws:
CollectInternalException
-
searchProject
public List<ProjectDto> searchProject(CriteriaProjectDto criteriaProjectDto) throws CollectInternalException - Throws:
CollectInternalException
-
deleteProjectById
delete project according to id- Parameters:
id
- project to delete
-