com.atlassian.jira.issue.thumbnail
Class DefaultThumbnailManager

java.lang.Object
  extended bycom.atlassian.jira.issue.thumbnail.DefaultThumbnailManager
All Implemented Interfaces:
ThumbnailManager

public class DefaultThumbnailManager
extends Object
implements ThumbnailManager


Constructor Summary
DefaultThumbnailManager(ApplicationProperties applicationProperties, AttachmentManager attachmentManager, MimeManager mimeManager)
           
 
Method Summary
 boolean checkToolkit(User user)
           
 Collection getThumbnails(Collection attachments, User user)
           
 Collection getThumbnails(org.ofbiz.core.entity.GenericValue issue, User user)
           
 boolean isThumbnailable(Attachment attachment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultThumbnailManager

public DefaultThumbnailManager(ApplicationProperties applicationProperties,
                               AttachmentManager attachmentManager,
                               MimeManager mimeManager)
Method Detail

getThumbnails

public Collection getThumbnails(Collection attachments,
                                User user)
                         throws Exception
Specified by:
getThumbnails in interface ThumbnailManager
Throws:
Exception

getThumbnails

public Collection getThumbnails(org.ofbiz.core.entity.GenericValue issue,
                                User user)
                         throws Exception
Specified by:
getThumbnails in interface ThumbnailManager
Throws:
Exception

isThumbnailable

public boolean isThumbnailable(Attachment attachment)
                        throws org.ofbiz.core.entity.GenericEntityException
Specified by:
isThumbnailable in interface ThumbnailManager
Throws:
org.ofbiz.core.entity.GenericEntityException

checkToolkit

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


Copyright © 2002-2007 Atlassian. All Rights Reserved.