Class SpacesConfigurationAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
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, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class SpacesConfigurationAction extends ConfluenceActionSupport implements FormAware
See Also:
  • Constructor Details

    • SpacesConfigurationAction

      public SpacesConfigurationAction()
  • Method Details

    • isPermitted

      public boolean isPermitted()
      Description copied from class: ConfluenceActionSupport
      Overrides:
      isPermitted in class ConfluenceActionSupport
    • doView

      public String doView() throws Exception
      Throws:
      Exception
    • doDefault

      public String doDefault() throws Exception
      Description copied from class: ConfluenceActionSupport
      Convenient Action execution method which defaults to returning INPUT
      Overrides:
      doDefault in class ConfluenceActionSupport
      Throws:
      Exception
    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • 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)
    • getCurrentTime

      public String getCurrentTime(String dateFormatPattern)
    • 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 interface FormAware