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 Stringbackprotected PageTemplateContextcontextprotected Stringdescriptionprotected FormatConverterformatConverterprotected Stringpreviewprotected Stringtitleprotected StringwysiwygContent-
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
eventPublisher, 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 StringgetCancelResult()StringgetDescription()protected com.atlassian.renderer.RenderContextgetRenderContext()StringgetTitle()StringgetWysiwygContent()voidsetBack(String back)voidsetDescription(String description)voidsetFormatConverter(FormatConverter formatConverter)voidsetLabelManager(LabelManager labelManager)protected voidsetLabelsOnTemplate(PageTemplate template)voidsetPreview(String preview)voidsetTitle(String title)voidsetWysiwygContent(String wysiwygContent)voidvalidate()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, setEventPublisher, 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, setBootstrapStatusProvider, 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:AbstractPageTemplateActionEnsure that the size of the labels associated with the template are less than the column size for storing them (255).- Specified by:
validatein interfaceMessageHolderAware- Specified by:
validatein interfacecom.opensymphony.xwork2.Validateable- Overrides:
validatein 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:
setLabelManagerin classConfluenceActionSupport
-
setLabelsOnTemplate
protected void setLabelsOnTemplate(PageTemplate template)
-
getRenderContext
protected com.atlassian.renderer.RenderContext getRenderContext()
-
getCancelResult
public String getCancelResult()
- Overrides:
getCancelResultin classConfluenceActionSupport
-
-