public class PageInfoAction extends ViewPageAction implements Evented<ConfluenceEvent>, ContentDetailAction
commentManager, editRenderer, HOT_REFERRERS_COUNT, notificationManager, referralManager, REQUEST_KEY_HELPERincomingLinks, linkManager, pageManager, PREVIEW, RICHTEXT, viewRenderer, wysiwygConvertercontentPermissionManager, spaceManageraccessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, 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, setXhtmlContentdisplayDatePath, 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, setViewRenderergetFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isCollaborativeContent, setContentPermissionManager, setPage, setSpaceManageraddActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, 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, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManageraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditPermissionRequiredvalidatepublic String execute() throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class ViewPageActionExceptionpublic ConfluenceEvent getEventToPublish(String result)
EventedgetEventToPublish in interface Evented<ConfluenceEvent>getEventToPublish in class ViewPageActionresult - 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 ViewPageActionpublic 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()
PageAwareisLatestVersionRequired in interface PageAwareisLatestVersionRequired in class ViewPageActionpublic boolean isViewPermissionRequired()
isViewPermissionRequired in interface PageAwareisViewPermissionRequired in class ViewPageActionpublic PageChangesBean getChangesSinceLastEdit()
public PageChangesBean getChangesSinceLastLogin()
public List<VersionHistorySummary> getLatestChanges()
public int getInitialVisibleChildCount()
Copyright © 2003–2019 Atlassian. All rights reserved.