public class

PageInfoAction

extends ViewPageAction
java.lang.Object
   ↳ com.opensymphony.xwork.ActionSupport
     ↳ com.atlassian.confluence.core.ConfluenceActionSupport
       ↳ com.atlassian.confluence.pages.actions.AbstractPageAwareAction
         ↳ com.atlassian.confluence.pages.actions.AbstractPageAction
           ↳ com.atlassian.confluence.pages.actions.ViewPageAction
             ↳ com.atlassian.confluence.pages.actions.PageInfoAction

Summary

[Expand]
Inherited Constants
From class com.atlassian.confluence.pages.actions.ViewPageAction
From class com.atlassian.confluence.pages.actions.AbstractPageAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From interface com.opensymphony.xwork.Action
[Expand]
Inherited Fields
From class com.atlassian.confluence.pages.actions.ViewPageAction
From class com.atlassian.confluence.pages.actions.AbstractPageAction
From class com.atlassian.confluence.pages.actions.AbstractPageAwareAction
From class com.atlassian.confluence.core.ConfluenceActionSupport
From class com.opensymphony.xwork.ActionSupport
Public Constructors
PageInfoAction()
Public Methods
String execute()
PageChangesBean getChangesSinceLastEdit()
PageChangesBean getChangesSinceLastLogin()
ContentEntityObject getDestinationContentEntity(OutgoingLink link)
Collection getExternalLinks()
Map<SpaceSpaceContentEntityObject> getIncomingLinksMap()
int getInitialVisibleChildCount()
List<VersionHistorySummary> getLatestChanges()
returns the last five versions/revisions of this current page (if they exist)
Map<SpaceSpaceContentEntityObject> getOutgoingLinks()
List getTrackbackLinks()
boolean isLatestVersionRequired()
If the action can only work on the most recent version of a page, this will cause the interceptor to silently replace the version that it looks up with the most recent version, if necessary.
boolean isViewPermissionRequired()
String renderOutgoingLink(AbstractLink link)
This method is deprecated. Since 4.0.
String renderReferralLink(ReferralLink link)
String renderUrlLink(OutgoingLink link)
void setLinkResolver(LinkResolver linkResolver)
void setWikiStyleRenderer(WikiStyleRenderer wikiStyleRenderer)
This method is deprecated. Since 4.0. See PageInfoAction#renderWikiLink(String) instead.
[Expand]
Inherited Methods
From class com.atlassian.confluence.pages.actions.ViewPageAction
From class com.atlassian.confluence.pages.actions.AbstractPageAction
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.CommentAware
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

Public Constructors

public PageInfoAction ()

Public Methods

public String execute ()

Throws
Exception

public PageChangesBean getChangesSinceLastEdit ()

public PageChangesBean getChangesSinceLastLogin ()

public ContentEntityObject getDestinationContentEntity (OutgoingLink link)

public Collection getExternalLinks ()

public Map<SpaceSpaceContentEntityObject> getIncomingLinksMap ()

public int getInitialVisibleChildCount ()

public List<VersionHistorySummary> getLatestChanges ()

returns the last five versions/revisions of this current page (if they exist)

public Map<SpaceSpaceContentEntityObject> getOutgoingLinks ()

public List getTrackbackLinks ()

public boolean isLatestVersionRequired ()

If the action can only work on the most recent version of a page, this will cause the interceptor to silently replace the version that it looks up with the most recent version, if necessary.

Returns
  • true if the action requires the most recent version of a page

public boolean isViewPermissionRequired ()

public String renderOutgoingLink (AbstractLink link)

This method is deprecated.
Since 4.0.

renders the links on the view page info page wiki-style that is, unknown pages should display with ? and URL links with the appropriate icon

public String renderReferralLink (ReferralLink link)

public String renderUrlLink (OutgoingLink link)

public void setLinkResolver (LinkResolver linkResolver)

public void setWikiStyleRenderer (WikiStyleRenderer wikiStyleRenderer)

This method is deprecated.
Since 4.0. See PageInfoAction#renderWikiLink(String) instead.