io.camunda.document.api.DocumentStore Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of document-api Show documentation
Show all versions of document-api Show documentation
Camunda Document Store API
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.document.api;
import io.camunda.zeebe.util.Either;
import java.io.InputStream;
import java.util.concurrent.CompletableFuture;
public interface DocumentStore {
CompletableFuture> createDocument(
DocumentCreationRequest request);
CompletableFuture> getDocument(String documentId);
CompletableFuture> deleteDocument(String documentId);
CompletableFuture> createLink(
String documentId, long durationInSeconds);
}