Class SpacesConfigurationAction
- java.lang.Object
-
- com.opensymphony.xwork2.ActionSupport
-
- com.atlassian.confluence.core.ConfluenceActionSupport
-
- com.atlassian.confluence.plugins.spaces.SpacesConfigurationAction
-
- 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 SpacesConfigurationAction extends ConfluenceActionSupport implements FormAware
- See Also:
- Serialized Form
-
-
Field Summary
-
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, systemInformationService, userAccessor, webInterfaceManager
-
-
Constructor Summary
Constructors Constructor Description SpacesConfigurationAction()
-
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, getContentUiSupport, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocBean, 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, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, useSkipAccessCheck, 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
-
-
-
-
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()
-
getSpaceManager
public SpaceManager getSpaceManager()
-
setSpaceManager
public void setSpaceManager(SpaceManager spaceManager)
-
getSiteHomePages
public List<com.atlassian.core.util.PairType> getSiteHomePages()
-
getSiteHomePage
public String getSiteHomePage()
-
setSiteHomePage
public void setSiteHomePage(String siteHomePage)
-
getDraftSaveIntervalMinutes
public int getDraftSaveIntervalMinutes()
-
setDraftSaveIntervalMinutes
public void setDraftSaveIntervalMinutes(int draftSaveIntervalMinutes)
-
getDraftSaveIntervalSeconds
public int getDraftSaveIntervalSeconds()
-
setDraftSaveIntervalSeconds
public void setDraftSaveIntervalSeconds(int draftSaveIntervalSeconds)
-
getNiceDraftSaveInterval
public String getNiceDraftSaveInterval()
-
isAllowThreadedComments
public boolean isAllowThreadedComments()
-
setAllowThreadedComments
public void setAllowThreadedComments(boolean allowThreadedComments)
-
isAllowRemoteApi
public boolean isAllowRemoteApi()
-
setAllowRemoteApi
public void setAllowRemoteApi(boolean allowRemoteApi)
-
getDraftSaveInterval
public int getDraftSaveInterval()
- Returns:
- in milliseconds
-
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)
-
isEditMode
public boolean isEditMode()
- Specified by:
isEditMode
in interfaceFormAware
-
-