public class AddCommentAction extends AbstractPreviewPageAction implements CaptchaAware
back, bean, formatConverter, inPreview, preview, storageFormat, wikiStyleRenderer, wysiwygContentincomingLinks, linkManager, pageManager, PREVIEW, RICHTEXT, viewRenderer, wysiwygConvertercontentPermissionManager, spaceManageraccessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager| Constructor and Description |
|---|
AddCommentAction() |
getBean, getContentForSaving, getConversionContext, getEditorFormattedContent, getInPreview, getRenderContext, getStorageFormat, getxHtmlContent, setBack, setFormatConverter, setInPreview, setPreview, setWikiStyleRenderer, setWysiwygContent, updateXHtmlContentdisplayDatePath, getAttachmentSourceContent, getAvailableSpaces, getBeanKey, getBlogPost, getEditorVersion, getHelper, getIncomingLinks, getLabels, getMode, getNextPost, getNumberOfAttachmentsAsString, getNumberOfLabelsAsString, getPermissionTypes, getPostingDate, getPostingDay, getPreviousPost, getPreviousVersion, getSpaceManager, getSuggestedLabels, getTinyUrl, getWebInterfaceContext, hasAttachFilePermissions, hasPermittedChildren, isSpaceAdmin, isSuperUser, isUserWatchingOwnContent, setConfluenceWysiwygConverter, setEditorManager, setLinkManager, setMode, setPageManager, setPostingDate, setViewRenderergetFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isCollaborativeContent, isLatestVersionRequired, isPageRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManageraddActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, 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, 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, setAccessModeService, setApiDateFormatService, 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, setFieldErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditPermissionRequiredpublic void validate()
AbstractPreviewPageActionvalidate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class AbstractPreviewPageActionpublic String execute() throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic String getWysiwygContent()
getWysiwygContent in class AbstractPreviewPageActionpublic Comment getComment()
public boolean isPermitted()
isPermitted in class AbstractPageAwareActionpublic List getPermittedChildren()
getPermittedChildren in class AbstractPageActionpublic void setParentId(long parentId)
public long getParentId()
public String getTextContent()
public void setTextContent(String textContent)
public String getCancelResult()
getCancelResult in class ConfluenceActionSupportpublic void setCommentService(CommentService commentService)
public void setNotificationManager(NotificationManager notificationManager)
public void setWatchPageAfterComment(boolean watchPageAfterComment)
public CaptchaManager getCaptchaManager()
public void setCaptchaManager(CaptchaManager captchaManager)
public WebInterfaceContext getWebInterfaceContext(Comment comment)
public static WebInterfaceContext createWebInterfaceContextWithComment(WebInterfaceContext context, Comment comment)
Copyright © 2003–2019 Atlassian. All rights reserved.