Attachments Interface
public interface Attachments
An instance of this class provides access to all the operations defined in Attachments.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| abstract java.util.concurrent.CompletableFuture<java.io.InputStream> |
getAttachment(String attachmentId, String viewId)
Get |
|
abstract
java.util.concurrent.CompletableFuture<Attachment |
getAttachmentInfo(String attachmentId)
Get |
| default java.lang.String |
getAttachmentUri(String attachmentId)
Get the URI of an attachment view. |
| abstract java.lang.String |
getAttachmentUri(String attachmentId, String viewId)
Get the URI of an attachment view. |
Method Details
getAttachment
public abstract CompletableFuture
GetAttachment. Get the named view as binary content.
Parameters:
Returns:
getAttachmentInfo
public abstract CompletableFuture
GetAttachmentInfo. Get AttachmentInfo structure describing the attachment views.
Parameters:
Returns:
getAttachmentUri
public default String getAttachmentUri(String attachmentId)
Get the URI of an attachment view.
Parameters:
Returns:
getAttachmentUri
public abstract String getAttachmentUri(String attachmentId, String viewId)
Get the URI of an attachment view.
Parameters:
Returns: