Package 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!
-
-
Constructor Summary
Constructors Constructor Description AttachmentHelper(ConfluenceActionSupport action, Attachment attachment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
AttachmentHelper
public AttachmentHelper(ConfluenceActionSupport action, Attachment attachment)
-
-
Method Detail
-
getAttachment
public Attachment getAttachment()
-
-