public class PageInfoAction extends ViewPageAction implements Evented<ConfluenceEvent>, ContentDetailAction
commentManager, editRenderer, HOT_REFERRERS_COUNT, notificationManager, referralManager, REQUEST_KEY_HELPER
incomingLinks, linkManager, pageManager, PREVIEW, RICHTEXT, viewRenderer, wysiwygConverter
contentPermissionManager, spaceManager
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
PageInfoAction() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
PageChangesBean |
getChangesSinceLastEdit() |
PageChangesBean |
getChangesSinceLastLogin() |
ContentEntityObject |
getDestinationContentEntity(OutgoingLink link) |
ConfluenceEvent |
getEventToPublish(String result)
Gets the event to publish.
|
Collection<OutgoingLink> |
getExternalLinks() |
com.google.common.collect.Multimap<Space,SpaceContentEntityObject> |
getIncomingLinksMap() |
int |
getInitialVisibleChildCount() |
List<VersionHistorySummary> |
getLatestChanges()
returns the last five versions/revisions of this current page (if they exist)
|
com.google.common.collect.Multimap<Space,SpaceContentEntityObject> |
getOutgoingLinks() |
List<TrackbackLink> |
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)
Deprecated.
Since 4.0.
|
String |
renderReferralLink(ReferralLink link) |
String |
renderUrlLink(OutgoingLink link) |
void |
setLinkResolver(com.atlassian.renderer.links.LinkResolver linkResolver) |
void |
setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer) |
getCalendarForThisMonth, getCaptchaManager, getChildrenShowing, getCollaborativeEditingHelper, getComment, getCommentAsXHtmlForWysiwyg, getCommentsShowing, getDateString, getEditingUser, getExternalReferences, getFirstPostInNextMonth, getFocusedCommentId, getHotReferrers, getInheritedContentPermissions, getLastPostInPreviousMonth, getNotificationManager, getPageContent, getPageIdOfVersionAfter, getPageIdOfVersionBefore, getPageXHtmlContent, getParentPage, getPossibleAlternativesElsewhere, getPossibleAlternativesInSpace, getReplyToComment, getRootComment, getThisPagePermissions, getTrackbackUtils, getViewInheritedContentPermissionSets, getWebInterfaceContext, getWebInterfaceContext, getXHtmlComments, hasAnyPermissions, hasNextVersion, hasPreviousVersion, isChildrenNotShown, isEditComment, isNavigatingVersions, isPageRequired, isPermitted, isShowCommentArea, isThreadComments, isUserWatchingPage, isUserWatchingSpace, pageIsLatestVersionAndDoesNotHaveSpace, renderExternalLink, renderLink, setCaptchaManager, setCollaborativeEditingHelper, setComment, setCommentManager, setEditComment, setEditRenderer, setFocusedCommentId, setNavigatingVersions, setNotificationManager, setPageContent, setReferralManager, setReplyToComment, setRootCommentId, setShowChildren, setShowCommentArea, setShowComments, setThemeManager, setXhtmlContent
displayDatePath, getAttachmentSourceContent, getAvailableSpaces, getBeanKey, getBlogPost, getEditorVersion, getHelper, getIncomingLinks, getLabels, getMode, getNextPost, getNumberOfAttachmentsAsString, getNumberOfLabelsAsString, getPermissionTypes, getPermittedChildren, getPostingDate, getPostingDay, getPreviousPost, getPreviousVersion, getSpaceManager, getSuggestedLabels, getTinyUrl, hasAttachFilePermissions, hasPermittedChildren, isSpaceAdmin, isSuperUser, isUserWatchingOwnContent, setConfluenceWysiwygConverter, setEditorManager, setLinkManager, setMode, setPageManager, setPostingDate, setViewRenderer
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isCollaborativeContent, setContentPermissionManager, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditPermissionRequired
validate
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class ViewPageAction
Exception
public ConfluenceEvent getEventToPublish(String result)
Evented
getEventToPublish
in interface Evented<ConfluenceEvent>
getEventToPublish
in class ViewPageAction
result
- the result of the action executing.public void setLinkResolver(com.atlassian.renderer.links.LinkResolver linkResolver)
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
setWikiStyleRenderer
in class ViewPageAction
public com.google.common.collect.Multimap<Space,SpaceContentEntityObject> getIncomingLinksMap()
public List<TrackbackLink> getTrackbackLinks()
public com.google.common.collect.Multimap<Space,SpaceContentEntityObject> getOutgoingLinks()
public Collection<OutgoingLink> getExternalLinks()
@Deprecated public String renderOutgoingLink(AbstractLink link)
public String renderReferralLink(ReferralLink link)
public String renderUrlLink(OutgoingLink link)
public ContentEntityObject getDestinationContentEntity(OutgoingLink link)
public boolean isLatestVersionRequired()
PageAware
isLatestVersionRequired
in interface PageAware
isLatestVersionRequired
in class ViewPageAction
public boolean isViewPermissionRequired()
isViewPermissionRequired
in interface PageAware
isViewPermissionRequired
in class ViewPageAction
public PageChangesBean getChangesSinceLastEdit()
public PageChangesBean getChangesSinceLastLogin()
public List<VersionHistorySummary> getLatestChanges()
public int getInitialVisibleChildCount()
Copyright © 2003–2017 Atlassian. All rights reserved.