com.atlassian.jira.issue.thumbnail
Class DisabledThumbNailManager

java.lang.Object
  extended by com.atlassian.jira.issue.thumbnail.DisabledThumbNailManager
All Implemented Interfaces:
ThumbnailManager

public class DisabledThumbNailManager
extends java.lang.Object
implements ThumbnailManager


Field Summary
 
Fields inherited from interface com.atlassian.jira.issue.thumbnail.ThumbnailManager
MIME_TYPE
 
Constructor Summary
DisabledThumbNailManager()
           
 
Method Summary
 boolean checkToolkit(com.opensymphony.user.User user)
           
 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.
 java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(java.util.Collection<Attachment> attachments, com.opensymphony.user.User user)
           
 java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(org.ofbiz.core.entity.GenericValue issue, com.opensymphony.user.User user)
          Retrieves Thumbnails for an issue.
 java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Issue issue, com.opensymphony.user.User user)
          Retrieves Thumbnails for an Issue
 boolean isThumbnailable(Attachment attachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisabledThumbNailManager

public DisabledThumbNailManager()
Method Detail

getThumbnails

public java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(java.util.Collection<Attachment> attachments,
                                                                                       com.opensymphony.user.User user)
                                                                                throws java.lang.Exception
Specified by:
getThumbnails in interface ThumbnailManager
Throws:
java.lang.Exception

getThumbnails

public java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(org.ofbiz.core.entity.GenericValue issue,
                                                                                       com.opensymphony.user.User user)
                                                                                throws java.lang.Exception
Description copied from interface: ThumbnailManager
Retrieves Thumbnails for an issue.

Specified by:
getThumbnails in interface ThumbnailManager
Parameters:
issue - the issue to get the thumnails for.
user - the user on whose behalf the request is made.
Returns:
the thumbnails.
Throws:
java.lang.Exception

getThumbnails

public java.util.Collection<com.atlassian.core.util.thumbnail.Thumbnail> getThumbnails(Issue issue,
                                                                                       com.opensymphony.user.User user)
                                                                                throws java.lang.Exception
Description copied from interface: ThumbnailManager
Retrieves Thumbnails for an Issue

Specified by:
getThumbnails in interface ThumbnailManager
Parameters:
issue - the issue to get the thumnails for.
user - the user on whose behalf the request is made.
Returns:
the thumbnails.
Throws:
java.lang.Exception

isThumbnailable

public boolean isThumbnailable(Attachment attachment)
                        throws DataAccessException
Specified by:
isThumbnailable in interface ThumbnailManager
Throws:
DataAccessException

checkToolkit

public boolean checkToolkit(com.opensymphony.user.User user)
Specified by:
checkToolkit in interface ThumbnailManager

getThumbnail

public com.atlassian.core.util.thumbnail.Thumbnail getThumbnail(Attachment attachment)
Description copied from interface: ThumbnailManager
Returns the Thumbnail that corresponds to an Attachment, or null if the given attachment is not an image.

Specified by:
getThumbnail in interface ThumbnailManager
Parameters:
attachment - an Attachment
Returns:
returns a Thumbnail, or null


Copyright © 2002-2010 Atlassian. All Rights Reserved.