|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ThumbnailManager
Provides key services for small-sized images representing image attachments on issues.
| Field Summary | |
|---|---|
static com.atlassian.core.util.thumbnail.Thumbnail.MimeType |
MIME_TYPE
The JIRA global thumbnail MIME type. |
| Method Summary | |
|---|---|
boolean |
checkToolkit()
Checks if there is an "Abstract Window Toolkit" (AWT Toolkit) available. |
com.atlassian.core.util.thumbnail.Thumbnail |
getThumbnail(Attachment attachment)
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image. |
com.atlassian.core.util.thumbnail.Thumbnail |
getThumbnail(Issue issue,
Attachment attachment)
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image. |
Collection<com.atlassian.core.util.thumbnail.Thumbnail> |
getThumbnails(Issue issue,
com.atlassian.crowd.embedded.api.User user)
Retrieves Thumbnails for an Issue |
boolean |
isThumbnailable(Attachment attachmentGV)
|
boolean |
isThumbnailable(Issue issue,
Attachment attachmentGV)
|
| Field Detail |
|---|
static final com.atlassian.core.util.thumbnail.Thumbnail.MimeType MIME_TYPE
| Method Detail |
|---|
Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Issue issue,
com.atlassian.crowd.embedded.api.User user)
throws Exception
Thumbnails for an Issue
issue - the issue to get the thumnails for.user - the user on whose behalf the request is made.
Exception
boolean isThumbnailable(Attachment attachmentGV)
throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityException
boolean isThumbnailable(Issue issue,
Attachment attachmentGV)
throws org.ofbiz.core.entity.GenericEntityException
org.ofbiz.core.entity.GenericEntityExceptionboolean checkToolkit()
@Nullable com.atlassian.core.util.thumbnail.Thumbnail getThumbnail(Attachment attachment)
attachment - an Attachment
com.atlassian.core.util.thumbnail.Thumbnail getThumbnail(Issue issue,
Attachment attachment)
issue - the issue for the attachment (passed in for performance reasons)attachment - an Attachment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||