Class CustomPageContentAction
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.confluence.core.AbstractI18nActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.spaces.actions.AbstractSpaceAction
com.atlassian.confluence.spaces.actions.CustomPageContentAction
- All Implemented Interfaces:
- FormAware,- WebInterface,- SpaceAware,- Spaced,- MessageHolderAware,- Serializable,- org.apache.struts2.action.Action,- org.apache.struts2.interceptor.ValidationAware,- org.apache.struts2.locale.LocaleProvider,- org.apache.struts2.text.TextProvider,- org.apache.struts2.Validateable
- See Also:
- 
Field SummaryFields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceActionkey, notificationManager, space, spaceManager, themeManager, wikiStyleRendererFields inherited from class com.atlassian.confluence.core.ConfluenceActionSupportaccessModeService, CANCEL, confluenceAccessManager, contentUiSupport, eventPublisher, formatSettingsManager, globalSettingsManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, localeManager, loginManager, messageHolder, permissionManager, pluginAccessor, PREVIEW, request, response, spacePermissionManager, strutsHelper, systemInformationService, userAccessor, webInterfaceManagerFields inherited from class org.apache.struts2.ActionSupportcontainerFields inherited from interface org.apache.struts2.action.ActionERROR, INPUT, LOGIN, NONE, SUCCESS
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionConvenient Action execution method which defaults to returning INPUTexecute()booleanbooleanConsulted byPermissionCheckInterceptor.booleanIf the action requires that the space be set before being run, then it should return true to this method.booleanvoidsetCustomPageSettingsManager(CustomPageSettingsManager customPageSettingsManager) voidsetFooterText(String footerText) voidsetHeaderText(String headerText) voidsetSidebarText(String sidebarText) Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceActiongetActionSpaceKey, getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceManager, getSubscribableName, getThemeManager, hasSpaceIA, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRendererMethods inherited from class com.atlassian.confluence.core.ConfluenceActionSupportaddActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, getActionErrors, getActionMessages, getActionName, getActiveRequest, getActiveResponse, getAuthenticatedUser, getBootstrapStatusProvider, getCancelResult, getDateFormatter, getDefaultTimeZone, getFieldErrors, getGlobalSettings, getHelper, getI18n, getLocale, getMessageHolder, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getTimeZone, getUserByName, getUserInterfaceState, getWebInterfaceContext, isAnonymousUser, isEmailVisible, setAccessModeService, setBootstrapStatusProvider, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventPublisher, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setStrutsHelper, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManagerMethods inherited from class com.atlassian.confluence.core.AbstractI18nActionSupportgetText, getText, getText, getText, getText, getText, getText, getText, getTextStrictMethods inherited from class org.apache.struts2.ActionSupportaddActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getContainer, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validateMethods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.validation.MessageHolderAwarevalidateMethods inherited from interface com.atlassian.confluence.spaces.actions.SpaceAwaresetSpace
- 
Constructor Details- 
CustomPageContentActionpublic CustomPageContentAction()
 
- 
- 
Method Details- 
isPermittedpublic boolean isPermitted()Description copied from class:ConfluenceActionSupportConsulted byPermissionCheckInterceptor.- Overrides:
- isPermittedin class- AbstractSpaceAction
 
- 
doDefaultDescription copied from class:ConfluenceActionSupportConvenient Action execution method which defaults to returning INPUT- Overrides:
- doDefaultin class- ConfluenceActionSupport
 
- 
execute- Specified by:
- executein interface- org.apache.struts2.action.Action
- Overrides:
- executein class- org.apache.struts2.ActionSupport
- Throws:
- Exception
 
- 
getHeaderText
- 
getSidebarText
- 
setHeaderText
- 
setSidebarText
- 
setCustomPageSettingsManager
- 
isEditModepublic boolean isEditMode()- Specified by:
- isEditModein interface- FormAware
 
- 
isSpaceRequiredpublic boolean isSpaceRequired()Description copied from interface:SpaceAwareIf the action requires that the space be set before being run, then it should return true to this method. If the action requires a space, but no space is available, then the interceptor will automatically redirect to the 'pagenotfound' result- Specified by:
- isSpaceRequiredin interface- SpaceAware
- Returns:
- true if the action requires a space in order to execute
 
- 
isViewPermissionRequiredpublic boolean isViewPermissionRequired()- Specified by:
- isViewPermissionRequiredin interface- SpaceAware
- Returns:
- true if the action requires view space permission
 
 
-