Class ConfigureChainNotification

    • Constructor Detail

      • ConfigureChainNotification

        public ConfigureChainNotification()
    • Method Detail

      • addNotification

        public String addNotification()
      • buildJsonObject

        @NotNull
        protected @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject buildJsonObject()
                                                                                        throws com.opensymphony.webwork.dispatcher.json.JSONException
        Description copied from class: BambooActionSupport
        Builds JSONObject and sets 'status', 'errors' and 'fieldErrors' properties accordingly. If descending classes need to add anything to JSON response these should override this method.
        Overrides:
        buildJsonObject in class BambooActionSupport
        Returns:
        Initialized JSONObject
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
      • delete

        public String delete()
      • deleteAll

        public String deleteAll()
      • update

        public String update()
      • validateNotification

        public void validateNotification()
      • getAllNotificationEventTypes

        public List<NotificationType> getAllNotificationEventTypes()
        Method to get combined notification types and notification conditions for the ui
        Returns:
        List of all NotificationType options to display on the UI
      • getAvailableGroups

        public List<com.atlassian.user.Group> getAvailableGroups()
      • getAvailableUsers

        public List<String> getAvailableUsers()
      • getNotificationId

        public long getNotificationId()
      • setNotificationId

        public void setNotificationId​(long notificationRowId)
      • getEdit

        public String getEdit()
      • setEdit

        public void setEdit​(String edit)
      • getLastModified

        public long getLastModified()
      • setLastModified

        public void setLastModified​(long lastModified)
      • getNotificationRecipientType

        public String getNotificationRecipientType()
      • setNotificationRecipientType

        public void setNotificationRecipientType​(String notificationRecipientType)
      • getConditionKey

        public String getConditionKey()
      • setConditionKey

        public void setConditionKey​(String conditionKey)
      • setNotificationManager

        public void setNotificationManager​(NotificationManager notificationManager)
      • isMailServerConfigured

        public boolean isMailServerConfigured()
      • setInstantMessagingServerManager

        public void setInstantMessagingServerManager​(InstantMessagingServerManager instantMessagingServerManager)
      • isJabberServerConfigured

        public boolean isJabberServerConfigured()
      • getMailServerManager

        protected com.atlassian.mail.server.MailServerManager getMailServerManager()
      • getPreviousTypeData

        public String getPreviousTypeData()
      • setPreviousTypeData

        public void setPreviousTypeData​(String previousTypeData)
      • isSaved

        public boolean isSaved()
      • setSaved

        public void setSaved​(boolean saved)