Package io.camunda.service
Class DocumentServices
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic classstatic final recordstatic final record -
Field Summary
Fields inherited from class io.camunda.service.ApiServices
authentication, brokerClient, searchClient, transformers -
Constructor Summary
ConstructorsConstructorDescriptionDocumentServices(BrokerClient brokerClient, CamundaSearchClient searchClient) DocumentServices(BrokerClient brokerClient, CamundaSearchClient searchClient, ServiceTransformers transformers, Authentication authentication) -
Method Summary
Modifier and TypeMethodDescriptioncreateLink(String documentId, String storeId, DocumentServices.DocumentLinkParams params) deleteDocument(String documentId, String storeId) getDocumentContent(String documentId, String storeId) withAuthentication(Authentication authentication) Methods inherited from class io.camunda.service.ApiServices
getDocumentOrEmpty, sendBrokerRequest, sendBrokerRequestWithFullResponse, withAuthentication
-
Constructor Details
-
DocumentServices
-
DocumentServices
public DocumentServices(BrokerClient brokerClient, CamundaSearchClient searchClient, ServiceTransformers transformers, Authentication authentication)
-
-
Method Details
-
withAuthentication
- Specified by:
withAuthenticationin classApiServices<DocumentServices>
-
createDocument
public CompletableFuture<DocumentServices.DocumentReferenceResponse> createDocument(DocumentServices.DocumentCreateRequest request) -
getDocumentContent
-
deleteDocument
-
createLink
public CompletableFuture<DocumentLink> createLink(String documentId, String storeId, DocumentServices.DocumentLinkParams params)
-