com.atlassian.jira.issue.thumbnail
Class DefaultThumbnailManager
java.lang.Object
com.atlassian.jira.issue.thumbnail.DefaultThumbnailManager
- All Implemented Interfaces:
- ThumbnailManager
- public class DefaultThumbnailManager
- extends java.lang.Object
- implements ThumbnailManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultThumbnailManager
public DefaultThumbnailManager(ApplicationProperties applicationProperties,
AttachmentManager attachmentManager,
MimeManager mimeManager)
getThumbnails
public java.util.Collection getThumbnails(java.util.Collection attachmentGVs,
User user)
throws java.lang.Exception
- Specified by:
getThumbnails
in interface ThumbnailManager
- Throws:
java.lang.Exception
isThumbnailable
public boolean isThumbnailable(GenericValue attachmentGV)
throws GenericEntityException
- Specified by:
isThumbnailable
in interface ThumbnailManager
- Throws:
GenericEntityException
determineScaleSize
public DefaultThumbnailManager.WidthHeightHelper determineScaleSize(int maxWidth,
int maxHeight,
java.awt.Image image)
determineScaleSize
public DefaultThumbnailManager.WidthHeightHelper determineScaleSize(int maxWidth,
int maxHeight,
int imageWidth,
int imageHeight)