Class ConfigureNotificationPreferences

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.actions.admin.user.ConfigureProfile
com.atlassian.bamboo.ww2.actions.admin.user.ConfigureNotificationPreferences
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ConfigureNotificationPreferences extends ConfigureProfile
See Also:
  • Constructor Details

    • ConfigureNotificationPreferences

      public ConfigureNotificationPreferences()
  • Method Details

    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class ConfigureProfile
      Throws:
      Exception
    • getUsersNotificationRules

      public List<UsersNotification> getUsersNotificationRules()
    • isRecipientUserBased

      public boolean isRecipientUserBased(NotificationRule notificationRule)
    • getNotificationErrorMessageKey

      public String getNotificationErrorMessageKey()
      Purpose of these notification errors is to warn the user if they will not receive any notifications
      Returns:
      the error message i18n key
    • getNotificationAddServerKey

      public String getNotificationAddServerKey()
      Purpose of these notification messages is to advise the user that they can add an IM or email server if they have admin permissions
      Returns:
      the add message i18n key
    • getNotificationTypes

      public Map<String,String> getNotificationTypes()
    • getNotificationTransportPreferenceTypes

      public Map<String,String> getNotificationTransportPreferenceTypes()
    • setNotificationManager

      public void setNotificationManager(NotificationManager notificationManager)
    • setInstantMessagingServerManager

      public void setInstantMessagingServerManager(InstantMessagingServerManager instantMessagingServerManager)