public class SiteSupportAction extends ConfluenceActionSupport implements CaptchaAware, FormAware
Modifier and Type | Field and Description |
---|---|
protected CaptchaManager |
captchaManager |
protected com.atlassian.core.task.MultiQueueTaskManager |
taskManager |
protected com.atlassian.renderer.WikiStyleRenderer |
wikiStyleRenderer |
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
SiteSupportAction() |
Modifier and Type | Method and Description |
---|---|
String |
doContactAdministrators()
Send an e-mail to the administrators configured on the wiki
|
String |
doDefault()
Default webwork action execution method.
|
CaptchaManager |
getCaptchaManager() |
String |
getContactAddress() |
String |
getDescription() |
String |
getMessage() |
String |
getSubject() |
String |
getToDisplayValue() |
boolean |
isAdminstratorEmailAddresses() |
boolean |
isDisplaySupportRequest() |
boolean |
isEditMode() |
boolean |
isMailServerAvailable() |
boolean |
isPermitted() |
void |
setCaptchaManager(CaptchaManager captchaManager) |
void |
setContactAddress(String contactAddress) |
void |
setDescription(String description) |
void |
setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager) |
void |
setSubject(String subject) |
void |
setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm) |
void |
setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer) |
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageJs, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
validate
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
protected CaptchaManager captchaManager
protected com.atlassian.core.task.MultiQueueTaskManager taskManager
public String getMessage()
public boolean isDisplaySupportRequest()
public boolean isAdminstratorEmailAddresses()
public boolean isMailServerAvailable()
public String getToDisplayValue()
public String getSubject()
public void setSubject(String subject)
public String getDescription()
public void setDescription(String description)
public boolean isEditMode()
isEditMode
in interface FormAware
public String doContactAdministrators()
public String doDefault() throws Exception
ConfluenceActionSupport
doDefault
in class ConfluenceActionSupport
Exception
- if something goes wrongpublic String getContactAddress()
public void setContactAddress(String contactAddress)
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
public void setCaptchaManager(CaptchaManager captchaManager)
public CaptchaManager getCaptchaManager()
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
public void setMailServerManager(com.atlassian.mail.server.MailServerManager mailServerManager)
public boolean isPermitted()
isPermitted
in class ConfluenceActionSupport
Copyright © 2003–2020 Atlassian. All rights reserved.