Interface CollectClient

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      javax.ws.rs.core.Response addBinary​(java.lang.String unitId, java.lang.String usage, java.lang.Integer version, java.io.InputStream inputStreamUploaded)
      ADD Binary Consume and produce MediaType.APPLICATION_JSON
      RequestResponseOK<com.fasterxml.jackson.databind.JsonNode> addObjectGroup​(java.lang.String unitId, java.lang.String usage, java.lang.Integer version, com.fasterxml.jackson.databind.JsonNode objectJsonNode)
      ADD Object Group Consume and produce MediaType.APPLICATION_JSON
      javax.ws.rs.core.Response closeTransaction​(java.lang.String transactionId)
      Close Transaction Consume and produce MediaType.APPLICATION_JSON
      RequestResponseOK<com.fasterxml.jackson.databind.JsonNode> ingest​(java.lang.String transactionId)
      Generate SIP + Send to Vitam Consume and produce MediaType.APPLICATION_JSON
      RequestResponse<com.fasterxml.jackson.databind.JsonNode> initTransaction​(TransactionDto transactionDto)
      Initialize a collect transaction Consume and produce MediaType.APPLICATION_JSON
      RequestResponseOK<com.fasterxml.jackson.databind.JsonNode> uploadArchiveUnit​(java.lang.String transactionId, com.fasterxml.jackson.databind.JsonNode unitJsonNode)
      ADD Archive Unit Consume and produce MediaType.APPLICATION_JSON
    • Method Detail

      • uploadArchiveUnit

        RequestResponseOK<com.fasterxml.jackson.databind.JsonNode> uploadArchiveUnit​(java.lang.String transactionId,
                                                                                     com.fasterxml.jackson.databind.JsonNode unitJsonNode)
                                                                              throws InvalidParseOperationException
        ADD Archive Unit Consume and produce MediaType.APPLICATION_JSON
        Returns:
        RequestResponse Archive Unit saved
        Throws:
        InvalidParseOperationException - exception occurs when parse operation failed
      • addObjectGroup

        RequestResponseOK<com.fasterxml.jackson.databind.JsonNode> addObjectGroup​(java.lang.String unitId,
                                                                                  java.lang.String usage,
                                                                                  java.lang.Integer version,
                                                                                  com.fasterxml.jackson.databind.JsonNode objectJsonNode)
                                                                           throws InvalidParseOperationException
        ADD Object Group Consume and produce MediaType.APPLICATION_JSON
        Returns:
        RequestResponse Archive Unit saved
        Throws:
        InvalidParseOperationException - exception occurs when parse operation failed
      • addBinary

        javax.ws.rs.core.Response addBinary​(java.lang.String unitId,
                                            java.lang.String usage,
                                            java.lang.Integer version,
                                            java.io.InputStream inputStreamUploaded)
                                     throws InvalidParseOperationException
        ADD Binary Consume and produce MediaType.APPLICATION_JSON
        Returns:
        RequestResponse Archive Unit saved
        Throws:
        InvalidParseOperationException - exception occurs when parse operation failed
      • closeTransaction

        javax.ws.rs.core.Response closeTransaction​(java.lang.String transactionId)
                                            throws InvalidParseOperationException
        Close Transaction Consume and produce MediaType.APPLICATION_JSON
        Returns:
        RequestResponse Archive Unit saved
        Throws:
        InvalidParseOperationException - exception occurs when parse operation failed