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
@Transactional(propagation=REQUIRES_NEW)
void updateAttachmentStatus(long id,
AttachmentStatus status)
id - id of attachmentstatus - AttachmentStatus to update@Transactional(readOnly=true,
propagation=REQUIRES_NEW)
Optional<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–2022 Atlassian. All rights reserved.