Class ProjectService
java.lang.Object
fr.gouv.vitam.collect.internal.core.service.ProjectService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateProject(ProjectDto projectDto) create a project modelvoiddelete project according to idfindProject(String id) return project according to idsearchProject(CriteriaProjectDto criteriaProjectDto) updateProject(ProjectDto projectDto, ProjectDto existingProjectDto)
-
Field Details
-
ARCHIVING_FIELDS_CREATION_CONSTRAINT
- See Also:
-
ARCHIVING_FIELDS_MODIFICATION_FORBIDDEN
- See Also:
-
-
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
public ProjectDto updateProject(ProjectDto projectDto, ProjectDto existingProjectDto) throws CollectInternalException - Throws:
CollectInternalException
-
searchProject
public List<ProjectDto> searchProject(CriteriaProjectDto criteriaProjectDto) throws CollectInternalException - Throws:
CollectInternalException
-
deleteProjectById
delete project according to id- Parameters:
id- project to delete
-