org.rhq.enterprise.gui.alert.common
Class AlertNotificationsUIBean

java.lang.Object
  extended by org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
      extended by org.rhq.enterprise.gui.alert.common.AlertNotificationsUIBean

@Scope(value=EVENT)
@Name(value="alertNotificationsUIBean")
public class AlertNotificationsUIBean
extends EnterpriseFacesContextUIBean

Backing bean for Alert Sender Plugins configuration

Author:
Justin Harris

Field Summary
 
Fields inherited from class org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
OUTCOME_CANCELLED, OUTCOME_CREATE, OUTCOME_EDIT, OUTCOME_FAILURE, OUTCOME_SAVE, OUTCOME_SUCCESS
 
Constructor Summary
AlertNotificationsUIBean()
           
 
Method Summary
 String addAlertSender()
           
 org.rhq.core.domain.configuration.definition.ConfigurationDefinition getActiveConfigDefinition()
           
 org.rhq.core.domain.alert.notification.AlertNotification getActiveNotification()
           
 List<org.rhq.core.domain.alert.notification.AlertNotification> getAlertNotifications()
           
 Map<String,String> getAlertSenders()
           
 AlertNotificationConverter getNotificationConverter()
           
 String getSelectedNewSender()
           
 Set<org.rhq.core.domain.alert.notification.AlertNotification> getSelectedNotifications()
           
 void initNotifications()
           
 void reloadAlertNotifications()
           
 String removeSelected()
           
 void reselectActiveNotificationUsingDataComparison(org.rhq.core.domain.alert.notification.AlertNotification notificationWithLatestData)
           
 String saveConfiguration()
           
 void setActiveNotification(org.rhq.core.domain.alert.notification.AlertNotification activeNotification)
           
 void setAlertNotifications(List<org.rhq.core.domain.alert.notification.AlertNotification> alertNotifications)
           
 void setSelectedNewSender(String selectedNewSender)
           
 void setSelectedNotifications(Set<org.rhq.core.domain.alert.notification.AlertNotification> selectedNotifications)
           
 
Methods inherited from class org.rhq.enterprise.gui.common.framework.EnterpriseFacesContextUIBean
getResource, getResourceGroup, getResourceType, getSubject, getWebUser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlertNotificationsUIBean

public AlertNotificationsUIBean()
Method Detail

getAlertNotifications

public List<org.rhq.core.domain.alert.notification.AlertNotification> getAlertNotifications()

setAlertNotifications

public void setAlertNotifications(List<org.rhq.core.domain.alert.notification.AlertNotification> alertNotifications)

getSelectedNotifications

public Set<org.rhq.core.domain.alert.notification.AlertNotification> getSelectedNotifications()

setSelectedNotifications

public void setSelectedNotifications(Set<org.rhq.core.domain.alert.notification.AlertNotification> selectedNotifications)

getSelectedNewSender

public String getSelectedNewSender()

setSelectedNewSender

public void setSelectedNewSender(String selectedNewSender)

getActiveNotification

public org.rhq.core.domain.alert.notification.AlertNotification getActiveNotification()

setActiveNotification

public void setActiveNotification(org.rhq.core.domain.alert.notification.AlertNotification activeNotification)

getActiveConfigDefinition

public org.rhq.core.domain.configuration.definition.ConfigurationDefinition getActiveConfigDefinition()

getNotificationConverter

public AlertNotificationConverter getNotificationConverter()

getAlertSenders

public Map<String,String> getAlertSenders()

initNotifications

@Create
public void initNotifications()

reloadAlertNotifications

public void reloadAlertNotifications()

addAlertSender

public String addAlertSender()

saveConfiguration

public String saveConfiguration()

reselectActiveNotificationUsingDataComparison

public void reselectActiveNotificationUsingDataComparison(org.rhq.core.domain.alert.notification.AlertNotification notificationWithLatestData)

removeSelected

public String removeSelected()


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.