com.atlassian.jira.issue.thumbnail
Interface ThumbnailManager

All Known Implementing Classes:
DefaultThumbnailManager, DisabledThumbNailManager

public interface ThumbnailManager

Provides key services for small-sized images representing image attachments on issues.


Method Summary
 boolean checkToolkit(User user)
           
 Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Collection<Attachment> attachments, User user)
           
 Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(org.ofbiz.core.entity.GenericValue issue, User user)
          Deprecated. since 4.0 use getThumbnails(com.atlassian.jira.issue.Issue, com.opensymphony.user.User)
 Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Issue issue, User user)
          Retrieves Thumbnails for an Issue
 boolean isThumbnailable(Attachment attachmentGV)
           
 

Method Detail

getThumbnails

Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Collection<Attachment> attachments,
                                                                      User user)
                                                                      throws Exception
Throws:
Exception

getThumbnails

@Deprecated
Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(org.ofbiz.core.entity.GenericValue issue,
                                                                                 User user)
                                                                      throws Exception
Deprecated. since 4.0 use getThumbnails(com.atlassian.jira.issue.Issue, com.opensymphony.user.User)

Retrieves Thumbnails for an issue.

Parameters:
issue - the issue to get the thumnails for.
user - the user on whose behalf the request is made.
Returns:
the thumbnails.
Throws:
Exception

getThumbnails

Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Issue issue,
                                                                      User user)
                                                                      throws Exception
Retrieves Thumbnails for an Issue

Parameters:
issue - the issue to get the thumnails for.
user - the user on whose behalf the request is made.
Returns:
the thumbnails.
Throws:
Exception

isThumbnailable

boolean isThumbnailable(Attachment attachmentGV)
                        throws org.ofbiz.core.entity.GenericEntityException
Throws:
org.ofbiz.core.entity.GenericEntityException

checkToolkit

boolean checkToolkit(User user)


Copyright © 2002-2010 Atlassian. All Rights Reserved.