Class ViewMySettingsAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
FormAware, WebInterface, UserAware, BreadcrumbAware, 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
Direct Known Subclasses:
EditMySettingsAction

public class ViewMySettingsAction extends AbstractUserProfileAction implements FormAware
Action to view the logged in user's preferences (homepage, timezone, and language).
See Also:
  • Field Details

    • preferredUserLocale

      protected String preferredUserLocale
    • userTimeZone

      protected TimeZone userTimeZone
    • installedLocalePairs

      protected List<com.atlassian.core.util.PairType> installedLocalePairs
    • siteHomePage

      protected String siteHomePage
    • DEFAULT_KEY

      protected static final String DEFAULT_KEY
      See Also:
    • keyboardShortcutsEnabled

      protected Boolean keyboardShortcutsEnabled
    • highlightOptionPanelEnabled

      protected Boolean highlightOptionPanelEnabled
  • Constructor Details

    • ViewMySettingsAction

      public ViewMySettingsAction()
  • Method Details

    • doView

      public String doView()
    • doEdit

      @XsrfProtectionExcluded public String doEdit() throws Exception
      Throws:
      Exception
    • isPermitted

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

      public String getSiteHomePage()
    • getSiteHomePages

      public List<HTMLPairType> getSiteHomePages()
    • getAvailableTimeZones

      public List<HTMLPairType> getAvailableTimeZones()
    • getUserLocaleName

      public String getUserLocaleName()
    • getInstalledLocalePairs

      public List<com.atlassian.core.util.PairType> getInstalledLocalePairs()
    • getPreferredUserLocale

      public String getPreferredUserLocale()
    • isHighlightOptionPanelEnabled

      public boolean isHighlightOptionPanelEnabled()
    • isHighlightPluginEnabled

      public boolean isHighlightPluginEnabled()
    • isKeyboardShortcutsEnabled

      public boolean isKeyboardShortcutsEnabled()
    • getGlobalHomepageSetting

      protected String getGlobalHomepageSetting()
    • getUserTimeZone

      public String getUserTimeZone()
    • isEditMode

      public boolean isEditMode()
      Specified by:
      isEditMode in interface FormAware