com.atlassian.jira.issue.fields.renderer.wiki.embedded
Class RendererAttachmentManager

java.lang.Object
  extended by com.atlassian.jira.issue.fields.renderer.wiki.embedded.RendererAttachmentManager
All Implemented Interfaces:
com.atlassian.renderer.attachments.RendererAttachmentManager

public class RendererAttachmentManager
extends Object
implements com.atlassian.renderer.attachments.RendererAttachmentManager

Implemenation of the RendererAttachmentManager that converts thumbnails and attachments into useable objects for the wiki renderer.


Constructor Summary
RendererAttachmentManager(AttachmentManager attachmentManager, ThumbnailManager thumbnailManager, JiraAuthenticationContext authenticationContext)
           
 
Method Summary
 com.atlassian.renderer.attachments.RendererAttachment getAttachment(com.atlassian.renderer.RenderContext context, com.atlassian.renderer.embedded.EmbeddedResource resource)
           
 com.atlassian.renderer.attachments.RendererAttachment getThumbnail(com.atlassian.renderer.attachments.RendererAttachment attachment, com.atlassian.renderer.RenderContext context, com.atlassian.renderer.embedded.EmbeddedImage image)
           
 boolean systemSupportsThumbnailing()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RendererAttachmentManager

public RendererAttachmentManager(AttachmentManager attachmentManager,
                                 ThumbnailManager thumbnailManager,
                                 JiraAuthenticationContext authenticationContext)
Method Detail

getAttachment

public com.atlassian.renderer.attachments.RendererAttachment getAttachment(com.atlassian.renderer.RenderContext context,
                                                                           com.atlassian.renderer.embedded.EmbeddedResource resource)
Specified by:
getAttachment in interface com.atlassian.renderer.attachments.RendererAttachmentManager

getThumbnail

public com.atlassian.renderer.attachments.RendererAttachment getThumbnail(com.atlassian.renderer.attachments.RendererAttachment attachment,
                                                                          com.atlassian.renderer.RenderContext context,
                                                                          com.atlassian.renderer.embedded.EmbeddedImage image)
Specified by:
getThumbnail in interface com.atlassian.renderer.attachments.RendererAttachmentManager

systemSupportsThumbnailing

public boolean systemSupportsThumbnailing()
Specified by:
systemSupportsThumbnailing in interface com.atlassian.renderer.attachments.RendererAttachmentManager


Copyright © 2002-2008 Atlassian. All Rights Reserved.