com.atlassian.confluence.user.actions
Class SiteSupportAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.user.actions.SiteSupportAction
- All Implemented Interfaces:
- FormAware, WebInterface, CaptchaAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, java.io.Serializable
public class SiteSupportAction
- extends ConfluenceActionSupport
- implements CaptchaAware, FormAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, log, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
addActionError, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancelResult, getContext, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRandom, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserFullName, getUserInterfaceState, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setBootstrapManager, setCancel, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
wikiStyleRenderer
protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
captchaManager
protected CaptchaManager captchaManager
taskManager
protected com.atlassian.core.task.MultiQueueTaskManager taskManager
SiteSupportAction
public SiteSupportAction()
getMessage
public java.lang.String getMessage()
- Returns:
- a message suitable for display as the site error message
isDisplaySupportRequest
public boolean isDisplaySupportRequest()
- Returns:
- true if the support request component of the Site Support screen should be displayed to the user.
isAdminstratorEmailAddresses
public boolean isAdminstratorEmailAddresses()
- Returns:
- true if there is at least one administrator configured in the system with an e-mail address
isMailServerAvailable
public boolean isMailServerAvailable()
- Returns:
- true if a default mail server has been configured.
getToDisplayValue
public java.lang.String getToDisplayValue()
getSubject
public java.lang.String getSubject()
setSubject
public void setSubject(java.lang.String subject)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interface FormAware
doContactAdministrators
public java.lang.String doContactAdministrators()
- Send an e-mail to the administrators configured on the wiki
getContactAddress
public java.lang.String getContactAddress()
setContactAddress
public void setContactAddress(java.lang.String contactAddress)
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
setCaptchaManager
public void setCaptchaManager(CaptchaManager captchaManager)
getCaptchaManager
public CaptchaManager getCaptchaManager()
setTaskManager
public void setTaskManager(com.atlassian.core.task.MultiQueueTaskManager tm)
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
- Returns:
- true for all users including the anonymous user.
Copyright © 2003-2010 Atlassian. All Rights Reserved.