Class GeneralConfigurationAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.admin.actions.GeneralConfigurationAction
-
- All Implemented Interfaces:
FormAware
,WebInterface
,MessageHolderAware
,com.opensymphony.xwork2.Action
,com.opensymphony.xwork2.interceptor.ValidationAware
,com.opensymphony.xwork2.LocaleProvider
,com.opensymphony.xwork2.TextProvider
,com.opensymphony.xwork2.Validateable
,Serializable
public class GeneralConfigurationAction extends ConfluenceActionSupport implements FormAware
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAXIMUM_MAX_UPLOAD_ATTACHMENTS
static int
MINIMUM_MAX_UPLOAD_ATTACHMENTS
static String
VALID_NUMBER_INPUT_PATTERN
-
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description GeneralConfigurationAction()
-
Method Summary
-
Methods inherited from class com.atlassian.confluence.core.ConfluenceActionSupport
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getBootstrapStatusProvider, 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, 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, setApiContentUiSupport, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
-
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getContainer, getFieldErrors, getFormatted, getLocaleProvider, getText, getText, getTextProvider, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.opensymphony.xwork2.LocaleProvider
isValidLocale, isValidLocaleString
-
Methods inherited from interface com.atlassian.confluence.validation.MessageHolderAware
validate
-
-
-
-
Field Detail
-
MINIMUM_MAX_UPLOAD_ATTACHMENTS
public static final int MINIMUM_MAX_UPLOAD_ATTACHMENTS
- See Also:
- Constant Field Values
-
MAXIMUM_MAX_UPLOAD_ATTACHMENTS
public static final int MAXIMUM_MAX_UPLOAD_ATTACHMENTS
- See Also:
- Constant Field Values
-
VALID_NUMBER_INPUT_PATTERN
public static final String VALID_NUMBER_INPUT_PATTERN
- See Also:
- Constant Field Values
-
-
Method Detail
-
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in classConfluenceActionSupport
-
doDefault
public String doDefault() throws Exception
Description copied from class:ConfluenceActionSupport
Convenient Action execution method which defaults to returning INPUT- Overrides:
doDefault
in classConfluenceActionSupport
- Throws:
Exception
-
execute
public String execute() throws Exception
- Specified by:
execute
in interfacecom.opensymphony.xwork2.Action
- Overrides:
execute
in classcom.opensymphony.xwork2.ActionSupport
- Throws:
Exception
-
isSystemAdmin
public boolean isSystemAdmin()
-
isFileSystemAttachmentStorage
public boolean isFileSystemAttachmentStorage()
-
getSpaceManager
public SpaceManager getSpaceManager()
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
-
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
-
getIndexingLanguages
public List<com.atlassian.core.util.PairType> getIndexingLanguages()
-
getRenderedCustomErrorMessage
public String getRenderedCustomErrorMessage()
-
getMaxAttachmentsInUI
public int getMaxAttachmentsInUI()
-
setMaxAttachmentsInUI
public void setMaxAttachmentsInUI(int maxAttachmentsInUI)
-
getAttachmentMaxSizeMbNice
public String getAttachmentMaxSizeMbNice()
-
getAttachmentMaxSizeMbEdit
public String getAttachmentMaxSizeMbEdit()
-
setAttachmentMaxSizeMb
public void setAttachmentMaxSizeMb(String attachmentMaxSizeMb)
-
getCustomContactAdminMessage
public String getCustomContactAdminMessage()
-
setCustomContactAdminMessage
public void setCustomContactAdminMessage(String customContactAdminMessage)
-
isShowContactAdministratorsForm
public boolean isShowContactAdministratorsForm()
-
setShowContactAdministratorsForm
public void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)
-
getAllowCamelCase
public boolean getAllowCamelCase()
-
isAllowCamelCase
public boolean isAllowCamelCase()
-
setAllowCamelCase
public void setAllowCamelCase(boolean allowCamelCase)
-
getDefaultEncoding
public String getDefaultEncoding()
-
setDefaultEncoding
public void setDefaultEncoding(String defaultEncoding)
-
getDefaultTimeFormatterPattern
public String getDefaultTimeFormatterPattern()
-
setDefaultTimeFormatterPattern
public void setDefaultTimeFormatterPattern(String defaultTimeFormatterPattern)
-
getDefaultDateTimeFormatterPattern
public String getDefaultDateTimeFormatterPattern()
-
setDefaultDateTimeFormatterPattern
public void setDefaultDateTimeFormatterPattern(String defaultDateTimeFormatterPattern)
-
getDefaultDateFormatterPattern
public String getDefaultDateFormatterPattern()
-
setDefaultDateFormatterPattern
public void setDefaultDateFormatterPattern(String defaultDateFormatterPattern)
-
getDefaultLongNumberFormatterPattern
public String getDefaultLongNumberFormatterPattern()
-
setDefaultLongNumberFormatterPattern
public void setDefaultLongNumberFormatterPattern(String defaultLongNumberFormatterPattern)
-
getDefaultDecimalNumberFormatterPattern
public String getDefaultDecimalNumberFormatterPattern()
-
setDefaultDecimalNumberFormatterPattern
public void setDefaultDecimalNumberFormatterPattern(String defaultDecimalNumberFormatterPattern)
-
getMaxThumbHeight
public int getMaxThumbHeight()
-
setMaxThumbHeight
public void setMaxThumbHeight(int maxThumbHeight)
-
getMaxThumbWidth
public int getMaxThumbWidth()
-
setMaxThumbWidth
public void setMaxThumbWidth(int maxThumbWidth)
-
getIndexingLanguage
public String getIndexingLanguage()
-
setIndexingLanguage
public void setIndexingLanguage(String indexingLanguage)
-
getDomainName
public String getDomainName()
-
setDomainName
public void setDomainName(String domainName)
-
getSiteTitle
public String getSiteTitle()
-
setSiteTitle
public void setSiteTitle(String siteTitle)
-
isGzipResponseEncoding
public boolean isGzipResponseEncoding()
-
setGzipResponseEncoding
public void setGzipResponseEncoding(boolean gzipResponseEncoding)
-
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
- Overrides:
setFormatSettingsManager
in classConfluenceActionSupport
-
setSocketTimeout
public void setSocketTimeout(int socketTimeout)
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout)
-
getSocketTimeout
public int getSocketTimeout()
-
getConnectionTimeout
public int getConnectionTimeout()
-
isConnectionsEnabled
public boolean isConnectionsEnabled()
-
setConnectionsEnabled
public void setConnectionsEnabled(boolean connectionsEnabled)
-
getSiteSupportAddress
public String getSiteSupportAddress()
-
setSiteSupportAddress
public void setSiteSupportAddress(String siteSupportAddress)
-
isSiteSupportEmailAllowed
public boolean isSiteSupportEmailAllowed()
-
setAdminUiProperties
public void setAdminUiProperties(AdminUiProperties adminUiProperties)
-
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interfaceFormAware
-
isEditBaseUrl
public boolean isEditBaseUrl()
-
-