java.lang.Object | |
↳ | com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager |
Some of this code was taken in 4.4 from our friends in Confluence
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.atlassian.jira.issue.thumbnail.ThumbnailManager
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
| |||||||||||
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| |||||||||||
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
| |||||||||||
Retrieves
Thumbnails for an Issue | |||||||||||
Indicates whether JIRA can generate a thumbnail for the given attachment.
| |||||||||||
Indicates whether JIRA can generate a thumbnail for the given attachment.
| |||||||||||
Get binary content of the thumbnail
| |||||||||||
Converts a Thumbnail into an ThumbnailedImage.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
com.atlassian.jira.issue.thumbnail.ThumbnailManager
|
Checks whether there is an "Abstract Window Toolkit" (AWT Toolkit) available.
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
attachment | an Attachment |
---|
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.
issue | the issue for the attachment (passed in for performance reasons) |
---|---|
attachment | an Attachment |
Retrieves Thumbnails
for an Issue
issue | the issue to get the thumnails for. |
---|---|
user | the user on whose behalf the request is made. |
Indicates whether JIRA can generate a thumbnail for the given attachment.
attachment | the attachment (required) |
---|
Indicates whether JIRA can generate a thumbnail for the given attachment. This method may
perform better than isThumbnailable(com.atlassian.jira.issue.attachment.Attachment)
because it doesn't need to look up the issue.
issue | the issue to which the attachment relates (if null, this method will look it up) |
---|---|
attachment | the attachment (required) |
Get binary content of the thumbnail
IOException |
---|
Converts a Thumbnail into an ThumbnailedImage. The ThumbnailedImage is an analog of the atlassian-core Thumbnail but it contains JIRA-specific methods for getting the image URL, etc.
thumbnail | a Thumbnail, or null |
---|