Class LogbookResource

    • Constructor Detail

      • LogbookResource

        public LogbookResource​(LogbookConfiguration configuration,
                               OntologyLoader ontologyLoader)
        Constructor
        Parameters:
        configuration - of type LogbookConfiguration
        ontologyLoader -
    • Method Detail

      • getOperationOnlyById

        @GET
        @Path("/operations/{id_op}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getOperationOnlyById​(@PathParam("id_op")
                                                              java.lang.String id)
        Selects an operation only by Id
        Parameters:
        id - operation ID
        Returns:
        the response with a specific HTTP status
      • getOperation

        @GET
        @Path("/operations/{id_op}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getOperation​(@PathParam("id_op")
                                                      java.lang.String id,
                                                      com.fasterxml.jackson.databind.JsonNode queryDsl)
                                               throws VitamException
        Selects an operation
        Parameters:
        id - operation ID
        queryDsl - the query containing the ID
        Returns:
        the response with a specific HTTP status
        Throws:
        VitamException
      • createOperation

        @POST
        @Path("/operations/{id_op}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response createOperation​(@PathParam("id_op")
                                                         java.lang.String operationId,
                                                         LogbookOperationParameters operation)
        Create or Select a new operation
        Parameters:
        operationId - path param, the operation id
        operation - the json serialized as a LogbookOperationParameters.
        Returns:
        the response with a specific HTTP status
      • updateOperation

        @PUT
        @Path("/operations/{id_op}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateOperation​(@PathParam("id_op")
                                                         java.lang.String operationId,
                                                         LogbookOperationParameters operation)
        Append a new item on the given operation
        Parameters:
        operationId - the operation id
        operation - the json serialized as a LogbookOperationParameters.
        Returns:
        the response with a specific HTTP status
      • traceability

        @POST
        @Path("/operations/traceability")
        @Produces("application/json")
        public javax.ws.rs.core.Response traceability​(@HeaderParam("X-Tenant-Id")
                                                      java.lang.String xTenantId)
        Run traceability secure operation for logbook
        Parameters:
        xTenantId - the tenant id
        Returns:
        the response with a specific HTTP status
      • bulkCreateOperation

        @POST
        @Path("/operations")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response bulkCreateOperation​(com.fasterxml.jackson.databind.JsonNode query)
        Bulk Create Operation
        Parameters:
        query - as JsonNode or Operations Logbooks as ArrayNode
        Returns:
        Response of SELECT query with POST method or CREATED
      • selectOperation

        @GET
        @Path("/operations")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response selectOperation​(com.fasterxml.jackson.databind.JsonNode query)
        Select a list of operations
        Parameters:
        query - DSL as JsonNode
        Returns:
        Response containt the list of loglook operation
      • updateOperationBulk

        @PUT
        @Path("/operations")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateOperationBulk​(java.lang.String arrayNodeOperations)
        Update Operation With Bulk Mode
        Parameters:
        arrayNodeOperations - as ArrayNode of operations to add to existing Operation Logbook entry
        Returns:
        Response with a status of OK if updated
      • getUnitLifeCyclesByOperation

        @GET
        @Path("/operations/{id_op}/unitlifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnitLifeCyclesByOperation​(@PathParam("id_op")
                                                                      java.lang.String operationId,
                                                                      @HeaderParam("X-Event-Status")
                                                                      java.lang.String evtStatus,
                                                                      com.fasterxml.jackson.databind.JsonNode query)
        GET multiple Unit Life Cycles
        Parameters:
        operationId - the operation id
        evtStatus - the evenement status (commited / not_commited)
        query - as JsonNode
        Returns:
        the response with a specific HTTP status
      • createUnitLifeCyclesByOperation

        @POST
        @Path("/operations/{id_op}/unitlifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response createUnitLifeCyclesByOperation​(@PathParam("id_op")
                                                                         java.lang.String operationId,
                                                                         @PathParam("id_lc")
                                                                         java.lang.String unitLcId,
                                                                         LogbookLifeCycleUnitParameters parameters)
        Create Unit Life Cycle
        Parameters:
        operationId - the operation id
        unitLcId - the life cycle id
        parameters - the json serialized as a LogbookLifeCycleUnitParameters.
        Returns:
        the response with a specific HTTP status
      • updateUnitLifeCyclesUnitTemporaryByOperation

        @POST
        @Path("/operations/{id_op}/bulklifecycles/unit/temporary")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateUnitLifeCyclesUnitTemporaryByOperation​(@PathParam("id_op")
                                                                                      java.lang.String operationId,
                                                                                      java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
      • updateUnitLifeCyclesGOTTemporaryByOperation

        @POST
        @Path("/operations/{id_op}/bulklifecycles/got/temporary")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateUnitLifeCyclesGOTTemporaryByOperation​(@PathParam("id_op")
                                                                                     java.lang.String operationId,
                                                                                     java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
      • updateUnitLifeCyclesUnitByOperation

        @POST
        @Path("/operations/{id_op}/bulklifecycles/unit")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateUnitLifeCyclesUnitByOperation​(@PathParam("id_op")
                                                                             java.lang.String operationId,
                                                                             java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
      • updateUnitLifeCyclesGOTByOperation

        @POST
        @Path("/operations/{id_op}/bulklifecycles/got")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateUnitLifeCyclesGOTByOperation​(@PathParam("id_op")
                                                                            java.lang.String operationId,
                                                                            java.util.List<LogbookLifeCycleParametersBulk> logbookLifeCycleParametersBulk)
      • updateUnitLifeCyclesUnitTemporaryByOperation

        @PUT
        @Path("/operations/{id_op}/unitlifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateUnitLifeCyclesUnitTemporaryByOperation​(@PathParam("id_op")
                                                                                      java.lang.String operationId,
                                                                                      @PathParam("id_lc")
                                                                                      java.lang.String unitLcId,
                                                                                      @HeaderParam("X-Event-Status")
                                                                                      java.lang.String evtStatus,
                                                                                      LogbookLifeCycleUnitParameters parameters)
        Update Unit Life Cycle
        Parameters:
        operationId - the operation id
        unitLcId - the life cycle id
        evtStatus - the operation type : Update or Commit the lifeCycle
        parameters - the json serialized as a LogbookLifeCycleUnitParameters.
        Returns:
        the response with a specific HTTP status
      • deleteUnitLifeCyclesByOperation

        @DELETE
        @Path("/operations/{id_op}/unitlifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteUnitLifeCyclesByOperation​(@PathParam("id_op")
                                                                         java.lang.String operationId,
                                                                         @PathParam("id_lc")
                                                                         java.lang.String unitLcId)
        Delete Unit Life Cycle
        Parameters:
        operationId - the operation id
        unitLcId - the life cycle id
        Returns:
        the response with a specific HTTP status
      • commitUnitLifeCyclesByOperation

        @Deprecated
        @PUT
        @Path("/operations/{id_op}/unitlifecycles/{id_lc}/commit")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response commitUnitLifeCyclesByOperation​(@PathParam("id_op")
                                                                         java.lang.String operationId,
                                                                         @PathParam("id_lc")
                                                                         java.lang.String unitLcId)
        Deprecated.
        Commit Unit Life Cycle
        Parameters:
        operationId - the operation id
        unitLcId - the life cycle id
        Returns:
        the response with a specific HTTP status
      • bulkCreateUnit

        @POST
        @Path("/operations/{id_op}/unitlifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response bulkCreateUnit​(@PathParam("id_op")
                                                        java.lang.String idOp,
                                                        java.lang.String array)
        Lifecycle Unit Bulk Create
        Parameters:
        idOp - the operation id
        array - Lifecycle Unit Logbooks as ArrayNode
        Returns:
        Response of CREATED
      • createLifeCycleObjectGroupBulk

        @PUT
        @Path("/operations/{id_op}/lifecycles/objectgroup/bulk")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createLifeCycleObjectGroupBulk​(@PathParam("id_op")
                                                                        java.lang.String idOp,
                                                                        java.util.List<LogbookLifeCycleObjectGroupModel> logbookLifeCycleModels)
        Lifecycle Unit Bulk Create
        Parameters:
        idOp - the operation id
        logbookLifeCycleModels - Lifecycle Unit Logbooks as ArrayNode
        Returns:
        Response of CREATED
      • createLifeCycleUnitBulk

        @PUT
        @Path("/operations/{id_op}/lifecycles/unit/bulk")
        @Consumes("application/json")
        public javax.ws.rs.core.Response createLifeCycleUnitBulk​(@PathParam("id_op")
                                                                 java.lang.String idOp,
                                                                 java.util.List<LogbookLifeCycleUnitModel> logbookLifeCycleModels)
        Lifecycle Unit Bulk Create
        Parameters:
        idOp - the operation id
        logbookLifeCycleModels - Lifecycle Unit Logbooks as ArrayNode
        Returns:
        Response of CREATED
      • updateBulkUnit

        @PUT
        @Path("/operations/{id_op}/unitlifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateBulkUnit​(@PathParam("id_op")
                                                        java.lang.String idOp,
                                                        java.lang.String arrayNodeLifecycle)
        Update Lifecycle With Bulk Mode
        Parameters:
        idOp - the operation id
        arrayNodeLifecycle - as ArrayNode of operations to add to existing Lifecycle Logbook entry
        Returns:
        Response with a status of OK if updated
      • getUnitLifeCycleById

        @GET
        @Path("/unitlifecycles/{id_lc}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getUnitLifeCycleById​(@PathParam("id_lc")
                                                              java.lang.String unitLifeCycleId,
                                                              @HeaderParam("X-Event-Status")
                                                              java.lang.String evtStatus,
                                                              com.fasterxml.jackson.databind.JsonNode queryDsl)
                                                       throws VitamDBException
        gets the unit life cycle based on its id
        Parameters:
        unitLifeCycleId - the unit life cycle id
        evtStatus - the lifeCycle Status that we are looking for : COMMITTED or IN_PROCESS
        queryDsl - the query to get unit lfc
        Returns:
        the unit life cycle
        Throws:
        VitamDBException
      • getUnitLifeCycleStatus

        @HEAD
        @Path("/unitlifecycles/{id_lc}")
        public javax.ws.rs.core.Response getUnitLifeCycleStatus​(@PathParam("id_lc")
                                                                java.lang.String unitLifeCycleId)
        Gets the unit life cycle status based on its id
        Parameters:
        unitLifeCycleId - the unit life cycle id
        Returns:
        the unit life cycle status : Committed or In process
      • getUnitLifeCycles

        @GET
        @Path("/unitlifecycles")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getUnitLifeCycles​(com.fasterxml.jackson.databind.JsonNode queryDsl,
                                                           @HeaderParam("X-Event-Status")
                                                           java.lang.String evtStatus)
                                                    throws VitamDBException
        Gets a list of unit lifeCycles using a queryDsl
        Parameters:
        queryDsl - a DSL query
        evtStatus - the lifeCycle Status that we are looking for : COMMITTED or IN_PROCESS
        Returns:
        a list of unit lifeCycles
        Throws:
        VitamDBException
      • getRawUnitLifecyclesByLastPersistedDate

        @GET
        @Path("/raw/unitlifecycles/bylastpersisteddate")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawUnitLifecyclesByLastPersistedDate​(com.fasterxml.jackson.databind.JsonNode selectionJsonNode)
        Gets a list of raw unit life cycles by request
        Parameters:
        selectionJsonNode - the request
        Returns:
        a list of unit lifeCycles
      • getRawUnitLifeCycleById

        @GET
        @Path("/raw/unitlifecycles/byid/{id}")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawUnitLifeCycleById​(@PathParam("id")
                                                                 java.lang.String id)
        Gets a list of raw unit lifeCycles by id
        Parameters:
        id - the id to retrieve
        Returns:
        a the unit lifecycle in raw format
      • getRawUnitLifeCycleByIds

        @GET
        @Path("/raw/unitlifecycles/byids")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawUnitLifeCycleByIds​(java.util.List<java.lang.String> ids)
        Gets a list of raw unit lifeCycles by ids
        Parameters:
        ids - the ids to retrieve
        Returns:
        a the unit lifecycle in raw format
      • getObjectGroupLifeCyclesByOperation

        @GET
        @Path("/operations/{id_op}/objectgrouplifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response getObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                             java.lang.String operationId,
                                                                             @HeaderParam("X-Event-Status")
                                                                             java.lang.String evtStatus,
                                                                             com.fasterxml.jackson.databind.JsonNode query)
        GET multiple Unit Life Cycles
        Parameters:
        operationId - the operation id
        evtStatus - the evenement status (commited / not_commited)
        query - as JsonNode
        Returns:
        the response with a specific HTTP status
      • createObjectGroupLifeCyclesByOperation

        @POST
        @Path("/operations/{id_op}/objectgrouplifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response createObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                                java.lang.String operationId,
                                                                                @PathParam("id_lc")
                                                                                java.lang.String objGrpId,
                                                                                LogbookLifeCycleObjectGroupParameters parameters)
        Create object Group Life Cycle
        Parameters:
        operationId - the operation id
        objGrpId - the life cycle id
        parameters - the json serialized as a LogbookLifeCycleObjectGroupParameters.
        Returns:
        the response with a specific HTTP status
      • updateObjectGroupLifeCyclesByOperation

        @PUT
        @Path("/operations/{id_op}/objectgrouplifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                                java.lang.String operationId,
                                                                                @PathParam("id_lc")
                                                                                java.lang.String objGrpId,
                                                                                @HeaderParam("X-Event-Status")
                                                                                java.lang.String evtStatus,
                                                                                LogbookLifeCycleObjectGroupParameters parameters)
        Update object Group Life Cycle
        Parameters:
        operationId - the operation id
        objGrpId - the life cycle id
        evtStatus - the operation type : Update or Commit the lifeCycle
        parameters - the json serialized as a LogbookLifeCycleObjectGroupParameters.
        Returns:
        the response with a specific HTTP status
      • deleteObjectGroupLifeCyclesByOperation

        @DELETE
        @Path("/operations/{id_op}/objectgrouplifecycles/{id_lc}")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                                java.lang.String operationId,
                                                                                @PathParam("id_lc")
                                                                                java.lang.String objGrpId)
        Delete object Group Life Cycle
        Parameters:
        operationId - the operation id
        objGrpId - the life cycle id
        Returns:
        the response with a specific HTTP status
      • commitObjectGroupLifeCyclesByOperation

        @Deprecated
        @PUT
        @Path("/operations/{id_op}/objectgrouplifecycles/{id_lc}/commit")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response commitObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                                java.lang.String operationId,
                                                                                @PathParam("id_lc")
                                                                                java.lang.String objGrpId)
        Deprecated.
        Commit object Group Life Cycle
        Parameters:
        operationId - the operation id
        objGrpId - the life cycle id
        Returns:
        the response with a specific HTTP status
      • bulkCreateObjectGroup

        @POST
        @Path("/operations/{id_op}/objectgrouplifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response bulkCreateObjectGroup​(@PathParam("id_op")
                                                               java.lang.String idOp,
                                                               java.lang.String array)
        Lifecycle ObjectGroup Bulk Create
        Parameters:
        idOp - the operation id
        array - Lifecycle ObjectGroup Logbooks as ArrayNode
        Returns:
        Response of CREATED
      • updateBulkObjectGroup

        @PUT
        @Path("/operations/{id_op}/objectgrouplifecycles")
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response updateBulkObjectGroup​(@PathParam("id_op")
                                                               java.lang.String idOp,
                                                               java.lang.String arrayNodeLifecycle)
        Update Lifecycle ObjectGroup With Bulk Mode
        Parameters:
        idOp - the operation id
        arrayNodeLifecycle - as ArrayNode of operations to add to existing Lifecycle Logbook entry
        Returns:
        Response with a status of OK if updated
      • getObjectGroupLifeCycleById

        @GET
        @Path("/objectgrouplifecycles/{id_lc}")
        @Produces("application/json")
        public javax.ws.rs.core.Response getObjectGroupLifeCycleById​(@PathParam("id_lc")
                                                                     java.lang.String objectGroupLifeCycleId,
                                                                     @HeaderParam("X-Event-Status")
                                                                     java.lang.String evtStatus,
                                                                     com.fasterxml.jackson.databind.JsonNode queryDsl)
                                                              throws VitamDBException
        Gets the object group life cycle based on its id and using the passed DSL query
        Parameters:
        objectGroupLifeCycleId - the object group life cycle id
        evtStatus - the lifeCycle Status that we are looking for : COMMITTED or IN_PROCESS
        queryDsl - the DSL query
        Returns:
        a Response that contains the object group life cycle
        Throws:
        VitamDBException
      • getObjectGroupLifeCycles

        @GET
        @Path("/objectgrouplifecycles")
        @Produces("application/json")
        public javax.ws.rs.core.Response getObjectGroupLifeCycles​(@HeaderParam("X-Event-Status")
                                                                  java.lang.String evtStatus,
                                                                  com.fasterxml.jackson.databind.JsonNode queryDsl)
                                                           throws VitamDBException
        Gets the object group life cycles based on the passed DSL query
        Parameters:
        evtStatus - the lifeCycle Status that we are looking for : COMMITTED or IN_PROCESS
        queryDsl - the DSL query
        Returns:
        a Response that contains the object group life cycle
        Throws:
        VitamDBException
      • getObjectGroupLifeCycleStatus

        @HEAD
        @Path("/objectgrouplifecycles/{id_lc}")
        public javax.ws.rs.core.Response getObjectGroupLifeCycleStatus​(@PathParam("id_lc")
                                                                       java.lang.String objectGroupLifeCycleId)
        Gets the objectGroup life cycle status based on its id
        Parameters:
        objectGroupLifeCycleId - the object group cycle id
        Returns:
        the object group cycle status : Committed or In process
      • getRawObjectGroupLifecyclesByLastPersistedDate

        @GET
        @Path("/raw/objectgrouplifecycles/bylastpersisteddate")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawObjectGroupLifecyclesByLastPersistedDate​(com.fasterxml.jackson.databind.JsonNode selectionJsonNode)
        Gets a list of raw unit life cycles by request
        Parameters:
        selectionJsonNode - the request
        Returns:
        a list of unit lifeCycles
      • getRawObjectGroupLifeCycleById

        @GET
        @Path("/raw/objectgrouplifecycles/byid/{id}")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawObjectGroupLifeCycleById​(@PathParam("id")
                                                                        java.lang.String id)
        Gets a list of raw object group lifeCycles by id
        Parameters:
        id - the id to retrieve
        Returns:
        a the object group lifecycle in raw format
      • getRawObjectGroupLifeCycleByIds

        @GET
        @Path("/raw/objectgrouplifecycles/byids")
        @Produces("application/json")
        @Consumes("application/json")
        public javax.ws.rs.core.Response getRawObjectGroupLifeCycleByIds​(java.util.List<java.lang.String> ids)
        Gets a list of raw object group lifeCycles by ids
        Parameters:
        ids - the id to retrieve
        Returns:
        a the object group lifecycle in raw format
      • rollBackUnitLifeCyclesByOperation

        @DELETE
        @Path("/operations/{id_op}/unitlifecycles")
        public javax.ws.rs.core.Response rollBackUnitLifeCyclesByOperation​(@PathParam("id_op")
                                                                           java.lang.String operationId)
        Deletes all temporary Unit lifeCycles created during a given operation
        Parameters:
        operationId - the operation id
        Returns:
        a Response that contains the result of deletion operation
      • rollBackObjectGroupLifeCyclesByOperation

        @DELETE
        @Path("/operations/{id_op}/objectgrouplifecycles")
        public javax.ws.rs.core.Response rollBackObjectGroupLifeCyclesByOperation​(@PathParam("id_op")
                                                                                  java.lang.String operationId)
        Deletes all temporary ObjectGroup lifeCycles created during a given operation
        Parameters:
        operationId - the operation id
        Returns:
        a Response that contains the result of deletion operation
      • traceabilityLfcUnit

        @POST
        @Path("/lifecycles/units/traceability")
        @Produces("application/json")
        public javax.ws.rs.core.Response traceabilityLfcUnit​(@HeaderParam("X-Tenant-Id")
                                                             java.lang.String xTenantId)
        Runs unit lifecycle traceability
        Parameters:
        xTenantId - the tenant id
        Returns:
        the response with a specific HTTP status
      • traceabilityLfcObjectGroup

        @POST
        @Path("/lifecycles/objectgroups/traceability")
        @Produces("application/json")
        public javax.ws.rs.core.Response traceabilityLfcObjectGroup​(@HeaderParam("X-Tenant-Id")
                                                                    java.lang.String xTenantId)
        Runs object group lifecycle traceability
        Parameters:
        xTenantId - the tenant id
        Returns:
        the response with a specific HTTP status
      • checkLifecycleTraceabilityStatus

        @GET
        @Path("/lifecycles/traceability/check/{id}")
        @Produces("application/json")
        public javax.ws.rs.core.Response checkLifecycleTraceabilityStatus​(@PathParam("id")
                                                                          java.lang.String operationId)
        Runs unit lifecycle traceability
        Parameters:
        operationId - the process id
        Returns:
        the response with a specific HTTP status
      • reindex

        @Path("/reindex")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response reindex​(IndexParameters indexParameters)
        Reindex a collection
        Parameters:
        indexParameters - parameters specifying what to reindex
        Returns:
        Response
      • changeIndexes

        @Path("/alias")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response changeIndexes​(SwitchIndexParameters switchIndexParameters)
        Switch indexes
        Parameters:
        switchIndexParameters -
        Returns:
        Response
      • launchTraceabilityAudit

        @Path("/auditTraceability")
        @POST
        @Consumes("application/json")
        @Produces("application/json")
        public javax.ws.rs.core.Response launchTraceabilityAudit​(AuditLogbookOptions options)
      • deleteObjectGroups

        @DELETE
        @Path("/objectgrouplifecycles/bulkDelete")
        @Produces("application/json")
        public javax.ws.rs.core.Response deleteObjectGroups​(java.util.List<java.lang.String> objectGroupIds)
      • deleteUnits

        @DELETE
        @Produces("application/json")
        @Path("/lifeCycleUnits/bulkDelete")
        public javax.ws.rs.core.Response deleteUnits​(java.util.List<java.lang.String> unitsIdentifier)