@Path(value="/access-internal/v1") @Consumes(value="application/json") @Produces(value="application/json") @ApplicationPath(value="webresources") public class LogbookInternalResourceImpl extends Object
Constructor and Description |
---|
LogbookInternalResourceImpl()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
checkOperationTraceability(com.fasterxml.jackson.databind.JsonNode query)
Checks a traceability operation based on a given DSLQuery
|
javax.ws.rs.core.Response |
downloadTraceabilityOperation(String operationId) |
javax.ws.rs.core.Response |
getObjectGroupLifeCycle(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 |
getUnitLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl)
gets the unit life cycle based on its id
|
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 LogbookInternalResourceImpl()
@GET @Path(value="/operations/{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="/operations") @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="/unitlifecycles/{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="/unitlifecycles") @Produces(value="application/json") public javax.ws.rs.core.Response getUnitLifeCycle(com.fasterxml.jackson.databind.JsonNode queryDsl)
queryDsl
- dsl query containing obId@GET @Path(value="/objectgrouplifecycles/{id_lc}") @Produces(value="application/json") public javax.ws.rs.core.Response getObjectGroupLifeCycle(@PathParam(value="id_lc") String objectGroupLifeCycleId, com.fasterxml.jackson.databind.JsonNode queryDsl)
objectGroupLifeCycleId
- the object group life cycle idqueryDsl
- the query@POST @Path(value="/traceability/check") @Consumes(value="application/json") @Produces(value="application/json") public javax.ws.rs.core.Response checkOperationTraceability(com.fasterxml.jackson.databind.JsonNode query) throws LogbookClientNotFoundException
query
- the DSLQuery used to find the traceability operation to validateLogbookClientNotFoundException
@GET @Path(value="/traceability/{idOperation}/content") @Produces(value="application/octet-stream") public javax.ws.rs.core.Response downloadTraceabilityOperation(@PathParam(value="idOperation") String operationId)
operationId
- Copyright © 2018 Vitam. All rights reserved.