com.atlassian.confluence.themes
Class AttachmentHelper

java.lang.Object
  extended by com.atlassian.confluence.themes.GlobalHelper
      extended by com.atlassian.confluence.themes.AttachmentHelper
All Implemented Interfaces:
ThemeHelper

public class AttachmentHelper
extends GlobalHelper

Helper class providing access to an Attachment. Used when checking permissions on attachment actions. TODO - Helper implementation is required to allow pass as parameter to WebInterfaceManager.getDisplayableItems. Subclassing GlobalHelper is a necessary evil until that class stops acting as the interface!


Constructor Summary
AttachmentHelper(ConfluenceActionSupport action, Attachment attachment)
           
 
Method Summary
 Attachment getAttachment()
           
 
Methods inherited from class com.atlassian.confluence.themes.GlobalHelper
getAction, getBreadcrumbs, getDomainName, getEllipsisCrumbs, getLabel, getPage, getSiteTitle, getSpace, getSpaceKey, getSpaceName, getSpaceType, getText, getText, getWikiStyleRenderer, renderConfluenceMacro, renderConfluenceMacro
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentHelper

public AttachmentHelper(ConfluenceActionSupport action,
                        Attachment attachment)
Method Detail

getAttachment

public Attachment getAttachment()


Copyright © 2003–2015 Atlassian. All rights reserved.