Class ProjectInternalResource
- java.lang.Object
-
- fr.gouv.vitam.collect.internal.rest.ProjectInternalResource
-
@Path("/collect-internal/v1/projects") public class ProjectInternalResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ProjectInternalResource(ProjectService projectService, TransactionService transactionService, MetadataService metadataService)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description javax.ws.rs.core.Response
deleteProjectById(java.lang.String projectId)
javax.ws.rs.core.Response
getAllTransactions(java.lang.String projectId)
javax.ws.rs.core.Response
getProjectById(java.lang.String projectId)
javax.ws.rs.core.Response
getProjects()
javax.ws.rs.core.Response
getUnitsByProjectId(java.lang.String projectId, com.fasterxml.jackson.databind.JsonNode queryDsl)
Deprecated.javax.ws.rs.core.Response
initProject(ProjectDto projectDto)
javax.ws.rs.core.Response
initTransaction(TransactionDto transactionDto, java.lang.String projectId)
javax.ws.rs.core.Response
searchProject(CriteriaProjectDto criteriaProjectDto)
javax.ws.rs.core.Response
updateProject(ProjectDto projectDto)
-
-
-
Constructor Detail
-
ProjectInternalResource
public ProjectInternalResource(ProjectService projectService, TransactionService transactionService, MetadataService metadataService)
-
-
Method Detail
-
getProjects
@GET @Produces("application/json") public javax.ws.rs.core.Response getProjects()
-
searchProject
@GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response searchProject(CriteriaProjectDto criteriaProjectDto)
-
initProject
@POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response initProject(ProjectDto projectDto)
-
updateProject
@PUT @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response updateProject(ProjectDto projectDto)
-
getProjectById
@Path("/{projectId}") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response getProjectById(@PathParam("projectId") java.lang.String projectId)
-
deleteProjectById
@Path("/{projectId}") @DELETE @Produces("application/json") public javax.ws.rs.core.Response deleteProjectById(@PathParam("projectId") java.lang.String projectId)
-
getUnitsByProjectId
@Path("/{projectId}/units") @GET @Produces("application/json") @Deprecated public javax.ws.rs.core.Response getUnitsByProjectId(@PathParam("projectId") java.lang.String projectId, com.fasterxml.jackson.databind.JsonNode queryDsl)
Deprecated.
-
getAllTransactions
@Path("/{projectId}/transactions") @GET @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response getAllTransactions(@PathParam("projectId") java.lang.String projectId)
-
initTransaction
@Path("/{projectId}/transactions") @POST @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response initTransaction(TransactionDto transactionDto, @PathParam("projectId") java.lang.String projectId)
-
-