| java.lang.Object com.sun.jbi.jsf.bean.AlertBean
AlertBean | public class AlertBean (Code) | | Holds alert type (for icon display), summary, details, and display state.
author: Sun Microsystems Inc. |
ALERT_COUNT_NONE | final public static int ALERT_COUNT_NONE(Code) | | Tracks display of an alert
|
ALERT_DETAIL_NONE | final public static String ALERT_DETAIL_NONE(Code) | | Represents emptied details
|
ALERT_SUMMARY_NONE | final public static String ALERT_SUMMARY_NONE(Code) | | Represents emptied summary
|
ALERT_TYPE_ERROR | final public static String ALERT_TYPE_ERROR(Code) | | error icon alert display
|
ALERT_TYPE_INFO | final public static String ALERT_TYPE_INFO(Code) | | info icon alert display
|
ALERT_TYPE_NONE | final public static String ALERT_TYPE_NONE(Code) | | an uninitialized alert type
|
ALERT_TYPE_WARNING | final public static String ALERT_TYPE_WARNING(Code) | | warning icon alert display
|
getAlertCount | public int getAlertCount()(Code) | | Gets the count to determine if the alert needs to be, or already has
been, displayed.
zero if there is no need to display the alert |
getAlertDetail | public String getAlertDetail()(Code) | | Gets alert details
the I18n details to display in an alert |
getAlertSummary | public String getAlertSummary()(Code) | | Gets alert summary
the I18n summary to display in an alert |
getAlertType | public String getAlertType()(Code) | | Gets alert type
the type of alert icon to display, one of: info ,warning , error (defaults to error if no alert type was set. |
setAlertCount | public void setAlertCount(int anAlertCount)(Code) | | Sets the count
Parameters: anAlertCount - the new count, nonzero if the alert is to bedisplayed, and zero when the alert has been displayed. |
setAlertDetail | public void setAlertDetail(String aAlertDetail)(Code) | | Sets the details
Parameters: aAlertDetail - an I18n details message string |
setAlertSummary | public void setAlertSummary(String aAlertSummary)(Code) | | Sets summary
Parameters: aAlertSummary - the I18n summary message string |
setAlertType | public void setAlertType(String aAlertType)(Code) | | Sets the type of icon to display
Parameters: aAlertType - an icon type, one of: info , warning , or error . If not set, the icon defaults to error . |
|
|