Class AttachmentHelper

  extended by com.atlassian.confluence.themes.GlobalHelper
      extended by com.atlassian.confluence.themes.AttachmentHelper
All Implemented Interfaces:

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


public AttachmentHelper(ConfluenceActionSupport action,
                        Attachment attachment)
Method Detail


public Attachment getAttachment()

Copyright © 2003-2013 Atlassian. All Rights Reserved.