Class LogbookExternalResource
- java.lang.Object
-
- fr.gouv.vitam.access.external.rest.LogbookExternalResource
-
@Path("/access-external/v1") @Consumes("application/json") @Produces("application/json") @ApplicationPath("webresources") public class LogbookExternalResource extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description LogbookExternalResource()LogbookExternalResource(AccessInternalClientFactory accessInternalClientFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsegetObjectGroupLifeCycleById(java.lang.String objectGroupLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)gets the object group life cycle based on its idjavax.ws.rs.core.ResponsegetOperationById(java.lang.String operationId, com.fasterxml.jackson.databind.JsonNode queryDsl)Get a specific operation based on its idjavax.ws.rs.core.ResponsegetUnitLifeCycleById(java.lang.String unitLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)gets the unit life cycle based on its idjavax.ws.rs.core.ResponseselectOperation(com.fasterxml.jackson.databind.JsonNode query)Search for operation with a DSL request
-
-
-
Constructor Detail
-
LogbookExternalResource
public LogbookExternalResource()
-
LogbookExternalResource
public LogbookExternalResource(AccessInternalClientFactory accessInternalClientFactory)
-
-
Method Detail
-
selectOperation
@GET @Path("/logbookoperations") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response selectOperation(com.fasterxml.jackson.databind.JsonNode query)Search for operation with a DSL request- Parameters:
query- DSL as String- Returns:
- Response contains the list of logbook operations
-
getOperationById
@GET @Path("/logbookoperations/{id_op}") @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response getOperationById(@PathParam("id_op") java.lang.String operationId, com.fasterxml.jackson.databind.JsonNode queryDsl)Get a specific operation based on its id- Parameters:
operationId- the operation idqueryDsl- the query- Returns:
- the response with a specific HTTP status
-
getUnitLifeCycleById
@GET @Path("/logbookunitlifecycles/{id_lc}") @Produces("application/json") public javax.ws.rs.core.Response getUnitLifeCycleById(@PathParam("id_lc") java.lang.String unitLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)gets the unit life cycle based on its id- Parameters:
unitLifeCycleId- the unit life cycle idqueryDsl- the query- Returns:
- the unit life cycle
-
getObjectGroupLifeCycleById
@GET @Path("/logbookobjectslifecycles/{id_lc}") @Produces("application/json") public javax.ws.rs.core.Response getObjectGroupLifeCycleById(@PathParam("id_lc") java.lang.String objectGroupLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)gets the object group life cycle based on its id- Parameters:
objectGroupLifeCycleId- the object group life cycle idqueryDsl- the query- Returns:
- the object group life cycle
-
-