public interface AttachmentStatusManager
AttachmentStatus
,
Attachment
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENT_STATUS |
Modifier and Type | Method and Description |
---|---|
Optional<AttachmentStatus> |
getAttachmentStatus(long id)
Get attachment status for given attachment version.
|
void |
updateAttachmentStatus(long id,
AttachmentStatus status)
Update attachment status.
|
static final String ATTACHMENT_STATUS
void updateAttachmentStatus(long id, AttachmentStatus status)
id
- id of attachmentstatus
- AttachmentStatus
to updateOptional<AttachmentStatus> getAttachmentStatus(long id)
id
- id of attachmentAttachmentStatus
or empty result if there is no status for given version of attachment in
the storageCopyright © 2003–2021 Atlassian. All rights reserved.