Class SiteSupportAction

    • Field Detail

      • wikiStyleRenderer

        protected com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer
      • taskManager

        protected com.atlassian.core.task.MultiQueueTaskManager taskManager
    • Constructor Detail

      • SiteSupportAction

        public SiteSupportAction()
    • Method Detail

      • setActionRateLimiterSiteSupport

        public void setActionRateLimiterSiteSupport​(ActionRateLimiter actionRateLimiterSiteSupport)
        Setting ActionRateLimiter
        Parameters:
        actionRateLimiterSiteSupport -
        Since:
        8.7
      • getMessage

        public String getMessage()
        Returns:
        a message suitable for display as the site error message
      • isDisplaySupportRequest

        public boolean isDisplaySupportRequest()
        Returns:
        true if the support request component of the Site Support screen should be displayed to the user.
      • isAdminstratorEmailAddresses

        public boolean isAdminstratorEmailAddresses()
        Returns:
        true if there is at least one administrator configured in the system with an e-mail address
      • isMailServerAvailable

        public boolean isMailServerAvailable()
        Returns:
        true if a default mail server has been configured.
      • getToDisplayValue

        public String getToDisplayValue()
      • getSubject

        public String getSubject()
      • setSubject

        public void setSubject​(String subject)
      • getDescription

        public String getDescription()
      • setDescription

        public void setDescription​(String description)
      • doContactAdministrators

        public String doContactAdministrators()
        Send an e-mail to the administrators configured on the wiki
      • getContactAddress

        public String getContactAddress()
      • setContactAddress

        public void setContactAddress​(String contactAddress)
      • setWikiStyleRenderer

        public void setWikiStyleRenderer​(com.atlassian.renderer.WikiStyleRenderer wikiStyleRenderer)
      • setCaptchaManager

        public void setCaptchaManager​(CaptchaManager captchaManager)
      • setTaskManager

        public void setTaskManager​(com.atlassian.core.task.MultiQueueTaskManager tm)
      • setMailServerManager

        public void setMailServerManager​(com.atlassian.mail.server.MailServerManager mailServerManager)
      • validate

        public void validate()
        Specified by:
        validate in interface MessageHolderAware
        Specified by:
        validate in interface com.opensymphony.xwork2.Validateable
        Overrides:
        validate in class com.opensymphony.xwork2.ActionSupport
        Since:
        8.7