com.atlassian.confluence.themes
Class AttachmentHelper
java.lang.Object
com.atlassian.confluence.themes.GlobalHelper
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!
Methods inherited from class com.atlassian.confluence.themes.GlobalHelper |
getAction, getBreadcrumbs, getDomainName, getLabel, getPage, getSiteTitle, getSpace, getSpaceKey, getSpaceName, getSpaceType, getText, getWikiStyleRenderer, renderConfluenceMacro, renderConfluenceMacro |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentHelper
public AttachmentHelper(ConfluenceActionSupport action,
Attachment attachment)
getAttachment
public Attachment getAttachment()