com.atlassian.confluence.admin.actions
Class GeneralConfigurationAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.confluence.core.ConfluenceActionSupport
com.atlassian.confluence.admin.actions.GeneralConfigurationAction
- All Implemented Interfaces:
- FormAware, WebInterface, MessageHolderAware, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, Serializable
public class GeneralConfigurationAction
- extends ConfluenceActionSupport
- implements 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, messageHolder, 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, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, formatFriendlyDate, getActionName, getActionName, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, 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, setContentUiSupport, setEventManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setUserAccessor, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, 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 |
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
GeneralConfigurationAction
public GeneralConfigurationAction()
isPermitted
public boolean isPermitted()
- Overrides:
isPermitted
in class ConfluenceActionSupport
doView
public String doView()
throws Exception
- Throws:
Exception
doDefault
public String doDefault()
throws Exception
- Description copied from class:
ConfluenceActionSupport
- Default webwork action execution method.
- Overrides:
doDefault
in class ConfluenceActionSupport
- Returns:
- the action result
- Throws:
Exception
- if something goes wrong
execute
public String execute()
throws Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Overrides:
execute
in class com.opensymphony.xwork.ActionSupport
- Throws:
Exception
isSystemAdmin
public boolean isSystemAdmin()
getSpaceManager
public SpaceManager getSpaceManager()
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
setWikiStyleRenderer
public void setWikiStyleRenderer(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
getSiteHomePages
public List<com.atlassian.core.util.PairType> getSiteHomePages()
getIndexingLanguages
public List<com.atlassian.core.util.PairType> getIndexingLanguages()
didYouMeanIndexExists
public boolean didYouMeanIndexExists()
getSiteHomePage
public String getSiteHomePage()
setSiteHomePage
public void setSiteHomePage(String siteHomePage)
getRenderedCustomErrorMessage
public String getRenderedCustomErrorMessage()
getMaxAttachmentsInUI
public int getMaxAttachmentsInUI()
setMaxAttachmentsInUI
public void setMaxAttachmentsInUI(int maxAttachmentsInUI)
getAttachmentMaxSize
public long getAttachmentMaxSize()
setAttachmentMaxSize
public void setAttachmentMaxSize(long attachmentMaxSize)
getDraftSaveIntervalMinutes
public int getDraftSaveIntervalMinutes()
setDraftSaveIntervalMinutes
public void setDraftSaveIntervalMinutes(int draftSaveIntervalMinutes)
getDraftSaveIntervalSeconds
public int getDraftSaveIntervalSeconds()
setDraftSaveIntervalSeconds
public void setDraftSaveIntervalSeconds(int draftSaveIntervalSeconds)
getCustomContactAdminMessage
public String getCustomContactAdminMessage()
setCustomContactAdminMessage
public void setCustomContactAdminMessage(String customContactAdminMessage)
isShowContactAdministratorsForm
public boolean isShowContactAdministratorsForm()
setShowContactAdministratorsForm
public void setShowContactAdministratorsForm(boolean showContactAdministratorsForm)
getCurrentTime
public String getCurrentTime(String dateFormatPattern)
getAllowCamelCase
public boolean getAllowCamelCase()
isAllowCamelCase
public boolean isAllowCamelCase()
setAllowCamelCase
public void setAllowCamelCase(boolean allowCamelCase)
isAllowTrackbacks
public boolean isAllowTrackbacks()
setAllowTrackbacks
public void setAllowTrackbacks(boolean allowTrackbacks)
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)
getNiceAttachmentMaxSize
public String getNiceAttachmentMaxSize()
getNiceDraftSaveInterval
public String getNiceDraftSaveInterval()
isAllowThreadedComments
public boolean isAllowThreadedComments()
setAllowThreadedComments
public void setAllowThreadedComments(boolean allowThreadedComments)
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)
isAllowRemoteApi
public boolean isAllowRemoteApi()
setAllowRemoteApi
public void setAllowRemoteApi(boolean allowRemoteApi)
getDomainName
public String getDomainName()
setDomainName
public void setDomainName(String domainName)
getSiteTitle
public String getSiteTitle()
setSiteTitle
public void setSiteTitle(String siteTitle)
getDraftSaveInterval
public int getDraftSaveInterval()
- Returns:
- in milliseconds
isGzipResponseEncoding
public boolean isGzipResponseEncoding()
setGzipResponseEncoding
public void setGzipResponseEncoding(boolean gzipResponseEncoding)
setFormatSettingsManager
public void setFormatSettingsManager(FormatSettingsManager formatSettingsManager)
- Overrides:
setFormatSettingsManager
in class ConfluenceActionSupport
isDisplayLinkIcons
@Deprecated
public boolean isDisplayLinkIcons()
- Deprecated. since 4.0
setDisplayLinkIcons
@Deprecated
public void setDisplayLinkIcons(boolean displayLinkIcons)
- Deprecated. since 4.0
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)
isEnableDidYouMean
public boolean isEnableDidYouMean()
setEnableDidYouMean
public void setEnableDidYouMean(boolean enableDidYouMean)
isEnableQuickNav
public boolean isEnableQuickNav()
setEnableQuickNav
public void setEnableQuickNav(boolean enableQuickNav)
getMaxSimultaneousQuickNavRequests
public int getMaxSimultaneousQuickNavRequests()
setMaxSimultaneousQuickNavRequests
public void setMaxSimultaneousQuickNavRequests(int maxSimultaneousQuickNavRequests)
isEnableOpenSearch
public boolean isEnableOpenSearch()
setEnableOpenSearch
public void setEnableOpenSearch(boolean enableOpenSearch)
setDidYouMeanLuceneConnection
public void setDidYouMeanLuceneConnection(com.atlassian.bonnie.ILuceneConnection didYouMeanLuceneConnection)
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 interface FormAware
Copyright © 2003-2013 Atlassian. All Rights Reserved.