Class AbstractEditPageTemplateAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.spaces.actions.AbstractSpaceAction
-
- com.atlassian.confluence.plugins.templates.actions.AbstractPageTemplateAction
-
- com.atlassian.confluence.plugins.templates.actions.AbstractEditPageTemplateAction
-
- All Implemented Interfaces:
WebInterface
,Spaced
,BreadcrumbAware
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
- Direct Known Subclasses:
CreatePageTemplateAction
,EditPageTemplateAction
public abstract class AbstractEditPageTemplateAction extends AbstractPageTemplateAction
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
back
protected PageTemplateContext
context
protected String
description
protected FormatConverter
formatConverter
protected String
preview
protected String
title
protected String
wysiwygContent
-
Fields inherited from class com.atlassian.confluence.plugins.templates.actions.AbstractPageTemplateAction
breadcrumbGenerator, entityId, labelsString, originalPageTemplate, pageTemplate, pageTemplateManager
-
Fields inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description AbstractEditPageTemplateAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCancelResult()
String
getDescription()
protected com.atlassian.renderer.RenderContext
getRenderContext()
String
getTitle()
String
getWysiwygContent()
void
setBack(String back)
void
setDescription(String description)
void
setFormatConverter(FormatConverter formatConverter)
void
setLabelManager(LabelManager labelManager)
protected void
setLabelsOnTemplate(PageTemplate template)
void
setPreview(String preview)
void
setTitle(String title)
void
setWysiwygContent(String wysiwygContent)
void
validate()
Ensure that the size of the labels associated with the template are less than the column size for storing them (255).-
Methods inherited from class com.atlassian.confluence.plugins.templates.actions.AbstractPageTemplateAction
getBreadcrumb, getDraftId, getEntityId, getLabels, getLabelsString, getPageTemplate, getPageTemplateByName, getWebInterfaceContext, globalTemplateSuffix, isPermitted, setBreadcrumbGenerator, setDraftId, setEntityId, setLabels, setLabelsString, setPageTemplateManager
-
Methods inherited from class com.atlassian.confluence.spaces.actions.AbstractSpaceAction
getActionSpaceKey, getKey, getPermissionTypes, getSpace, getSpaceKey, getSpaceManager, getSubscribableName, getThemeManager, hasSpaceIA, isPersonalSpace, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, getCancel, getConfluenceAccessManager, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
-
-
-
-
Field Detail
-
preview
protected String preview
-
back
protected String back
-
title
protected String title
-
wysiwygContent
protected String wysiwygContent
-
description
protected String description
-
formatConverter
protected FormatConverter formatConverter
-
context
protected PageTemplateContext context
-
-
Method Detail
-
validate
public void validate()
Description copied from class:AbstractPageTemplateAction
Ensure that the size of the labels associated with the template are less than the column size for storing them (255).- Specified by:
validate
in interfaceMessageHolderAware
- Specified by:
validate
in interfacecom.opensymphony.xwork2.Validateable
- Overrides:
validate
in classAbstractPageTemplateAction
-
setPreview
public void setPreview(String preview)
-
setBack
public void setBack(String back)
-
getTitle
public String getTitle()
-
setTitle
public void setTitle(String title)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getWysiwygContent
public String getWysiwygContent()
-
setWysiwygContent
public void setWysiwygContent(String wysiwygContent)
-
setFormatConverter
public void setFormatConverter(FormatConverter formatConverter)
-
setLabelManager
public void setLabelManager(LabelManager labelManager)
- Overrides:
setLabelManager
in classConfluenceActionSupport
-
setLabelsOnTemplate
protected void setLabelsOnTemplate(PageTemplate template)
-
getRenderContext
protected com.atlassian.renderer.RenderContext getRenderContext()
-
getCancelResult
public String getCancelResult()
- Overrides:
getCancelResult
in classConfluenceActionSupport
-
-