@Path(value="/access-external/v1") @Consumes(value="application/json") @Produces(value="application/json") @ApplicationPath(value="webresources") public class LogbookExternalResource extends Object
Modifier and Type | Field and Description |
---|---|
static String |
LOGBOOK |
static String |
VITAM_CODE |
Constructor and Description |
---|
LogbookExternalResource()
Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getObjectGroupLifeCycleById(String objectGroupLifeCycleId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
gets the object group life cycle based on its id
|
javax.ws.rs.core.Response |
getOperationById(String operationId,
com.fasterxml.jackson.databind.JsonNode queryDsl) |
javax.ws.rs.core.Response |
getUnitLifeCycleById(String unitLifeCycleId,
com.fasterxml.jackson.databind.JsonNode queryDsl)
gets the unit life cycle based on its id
|
javax.ws.rs.core.Response |
selectOperation(com.fasterxml.jackson.databind.JsonNode query)
GET with request in body
|
public static final String LOGBOOK
public static final String VITAM_CODE
@GET @Path(value="/logbookoperations") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response selectOperation(com.fasterxml.jackson.databind.JsonNode query)
query
- DSL as String@GET @Path(value="/logbookoperations/{id_op}") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response getOperationById(@PathParam(value="id_op") String operationId, com.fasterxml.jackson.databind.JsonNode queryDsl)
operationId
- the operation idqueryDsl
- the query@GET @Path(value="/logbookunitlifecycles/{id_lc}") @Produces(value="application/json") public javax.ws.rs.core.Response getUnitLifeCycleById(@PathParam(value="id_lc") String unitLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)
unitLifeCycleId
- the unit life cycle idqueryDsl
- the query@GET @Path(value="/logbookobjectslifecycles/{id_lc}") @Produces(value="application/json") public javax.ws.rs.core.Response getObjectGroupLifeCycleById(@PathParam(value="id_lc") String objectGroupLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)
objectGroupLifeCycleId
- the object group life cycle idqueryDsl
- the queryCopyright © 2018 Vitam. All rights reserved.