This document details the methods of the Attachment
interface you can use on an attachment of the issue returned by the Getters when you access the Attachment field.
Note |
---|
denotes a method that is specific to JMWE. |
Method | Return type | Returns |
---|---|---|
getAuthorKey() | String | Key of the author who added the attachment |
getAuthorObject() | ApplicationUser | Author object who added the attachment |
getCreated() | Timestamp | Timestamp when the attachment was added |
getFilename() | String | File name of the attachment |
getFilesize() | Long | File size of the attachment |
getId() | Long | ID of the attachment |
getIssue() | Issue | Issue that this file is attached to. |
getIssueId() | Long | Issue ID that this file is attached to. |
getMimetype() | String | Mime type of the attachment |
getProperties() | PropertySet | Attachment properties |
isThumbnailable() | Boolean | True if the attachment is thumbnailable |
isZip() | Boolean | True if the attachment is compressed zip |
getUrl() | String | Url of the attachment |
...