public class

ViewPageTemplateAction

extends AbstractPageTemplateAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.spaces.actions.AbstractSpaceAction
         ↳ com.atlassian.confluence.pages.templates.actions.AbstractPageTemplateAction
           ↳ com.atlassian.confluence.pages.templates.actions.ViewPageTemplateAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.templates.actions.AbstractPageTemplateAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
ViewPageTemplateAction()
Public Methods
String execute()
String getContent()
String getPageXHtmlContent()
boolean isPermitted()
we want to allow users to view global templates as along as they have USE permission for space templates, we require them to have view permissions for that space
void setContent(String content)
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.templates.actions.AbstractPageTemplateAction
From class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
From interface com.atlassian.confluence.spaces.Spaced
From interface com.opensymphony.xwork.Action
From interface com.opensymphony.xwork.LocaleProvider
From interface com.opensymphony.xwork.TextProvider
From interface com.opensymphony.xwork.Validateable
From interface com.opensymphony.xwork.ValidationAware

Public Constructors

public ViewPageTemplateAction ()

Public Methods

public String execute ()

Throws
Exception

public String getContent ()

public String getPageXHtmlContent ()

public boolean isPermitted ()

we want to allow users to view global templates as along as they have USE permission for space templates, we require them to have view permissions for that space

public void setContent (String content)