public abstract class

AbstractPageAction

extends AbstractPageAwareAction
implements TinyUrlAware
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.AbstractPageAction
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
String PREVIEW
String RICHTEXT
[Expand]
Inherited Constants
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
Fields
protected List incomingLinks
protected LinkManager linkManager
protected PageManager pageManager
protected Renderer viewRenderer
protected ConfluenceWysiwygConverter wysiwygConverter
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
AbstractPageAction()
Public Methods
boolean displayDatePath()
ContentEntityObject getAttachmentSourceContent()
Returns the ConfluenceEntityObject that contains attachments relevant to the current action.
List getAvailableSpaces()
BlogPost getBlogPost()
String getEditorVersion()
ThemeHelper getHelper()
List<OutgoingLink> getIncomingLinks()
returns list of "unique" incoming links to this page.
String getMode()
BlogPost getNextPost()
List getPermittedChildren()
Date getPostingDate()
String getPostingDay()
BlogPost getPreviousPost()
AbstractPage getPreviousVersion(int version)
SpaceManager getSpaceManager()
List getSuggestedLabels()
String getTinyUrl()
WebInterfaceContext getWebInterfaceContext()
Returns a context which can be passed to web items when rendering them.
boolean hasAttachFilePermissions()
boolean hasPermittedChildren()
boolean isSuperUser()
This method is deprecated. since 3.5 this method is not called anywhere and should not be used
boolean isUserWatchingOwnContent()
void setConfluenceWysiwygConverter(ConfluenceWysiwygConverter wysiwygConverter)
void setEditorManager(EditorManager editorManager)
void setLinkManager(LinkManager linkManager)
void setMode(String mode)
void setPageManager(PageManager pageManager)
void setPostingDate(String date)
void setViewRenderer(Renderer viewRenderer)
Protected Methods
Object getBeanKey()
List<String> getPermissionTypes()
boolean isSpaceAdmin()
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
From class java.lang.Object
From interface com.atlassian.confluence.pages.actions.PageAware
From interface com.atlassian.confluence.pages.actions.TinyUrlAware
From interface com.atlassian.confluence.plugin.descriptor.web.WebInterface
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

Constants

public static final String PREVIEW

Constant Value: "preview"

public static final String RICHTEXT

Constant Value: "richtext"

Fields

protected List incomingLinks

protected LinkManager linkManager

protected PageManager pageManager

protected Renderer viewRenderer

protected ConfluenceWysiwygConverter wysiwygConverter

Public Constructors

public AbstractPageAction ()

Public Methods

public boolean displayDatePath ()

public ContentEntityObject getAttachmentSourceContent ()

Returns the ConfluenceEntityObject that contains attachments relevant to the current action. E.g.:

public List getAvailableSpaces ()

public BlogPost getBlogPost ()

public String getEditorVersion ()

public ThemeHelper getHelper ()

public List<OutgoingLink> getIncomingLinks ()

returns list of "unique" incoming links to this page. TODO remove this from AbstractPageAction and only use on relevant actions

public String getMode ()

public BlogPost getNextPost ()

public List getPermittedChildren ()

public Date getPostingDate ()

public String getPostingDay ()

public BlogPost getPreviousPost ()

public AbstractPage getPreviousVersion (int version)

public SpaceManager getSpaceManager ()

public List getSuggestedLabels ()

public String getTinyUrl ()

public WebInterfaceContext getWebInterfaceContext ()

Returns a context which can be passed to web items when rendering them.

Typically, WebWork actions will implement this to provide extra details in the context such as content objects, and so on.

public boolean hasAttachFilePermissions ()

public boolean hasPermittedChildren ()

public boolean isSuperUser ()

This method is deprecated.
since 3.5 this method is not called anywhere and should not be used

public boolean isUserWatchingOwnContent ()

public void setConfluenceWysiwygConverter (ConfluenceWysiwygConverter wysiwygConverter)

public void setEditorManager (EditorManager editorManager)

public void setLinkManager (LinkManager linkManager)

public void setMode (String mode)

public void setPageManager (PageManager pageManager)

public void setPostingDate (String date)

public void setViewRenderer (Renderer viewRenderer)

Protected Methods

protected Object getBeanKey ()

protected List<String> getPermissionTypes ()

protected boolean isSpaceAdmin ()