public abstract class AbstractEditPageTemplateAction extends AbstractPageTemplateAction
Modifier and Type | Field and Description |
---|---|
protected String |
back |
protected String |
description |
protected FormatConverter |
formatConverter |
protected String |
preview |
protected String |
title |
protected String |
wysiwygContent |
breadcrumbGenerator, entityId, labelsString, originalPageTemplate, pageTemplate, pageTemplateManager
key, notificationManager, space, spaceManager, themeManager, wikiStyleRenderer
CANCEL, DEVMODE, eventManager, i18NBeanFactory, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
AbstractEditPageTemplateAction() |
Modifier and Type | Method and 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).
|
getBreadcrumb, getDraftId, getEntityId, getLabels, getLabelsString, getPageTemplate, getPageTemplateByName, getWebInterfaceContext, globalTemplateSuffix, isPermitted, setBreadcrumbGenerator, setDraftId, setEntityId, setLabels, setLabelsString, setPageTemplateManager
getKey, getPermissionTypes, getSpace, getSpaceKey, getSubscribableName, getThemeManager, hasSpaceIA, isAdminUser, isPersonalSpace, isSuperUser, isUserWatchingSpace, isValidSpaceKey, setKey, setNotificationManager, setSpace, setSpaceManager, setThemeManager, setWikiStyleRenderer
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, 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, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
protected String preview
protected String back
protected String title
protected String wysiwygContent
protected String description
protected FormatConverter formatConverter
public void validate()
AbstractPageTemplateAction
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class AbstractPageTemplateAction
public void setPreview(String preview)
public void setBack(String back)
public String getTitle()
public void setTitle(String title)
public String getDescription()
public void setDescription(String description)
public String getWysiwygContent()
public void setWysiwygContent(String wysiwygContent)
public void setFormatConverter(FormatConverter formatConverter)
public void setLabelManager(LabelManager labelManager)
setLabelManager
in class ConfluenceActionSupport
protected void setLabelsOnTemplate(PageTemplate template)
protected com.atlassian.renderer.RenderContext getRenderContext()
public String getCancelResult()
getCancelResult
in class ConfluenceActionSupport
Copyright © 2003–2018 Atlassian. All rights reserved.