Package com.storedobject.ui
Interface AlertHandler
- All Known Implementing Classes:
AbstractInvoiceEditor
,AbstractTextContentEditor
,ApplicationModuleEditor
,AssignStoresAndLocations
,BaseCustomerInvoiceEditor
,BaseSupplierInvoiceEditor
,BrowserDeviceLayoutEditor
,ControlScheduleEditor
,CustomerInvoiceEditor
,EntityEditor
,EntityRoleEditor
,FlowDiagramEditor
,GRNEditor
,GroupPermissionEditor
,ItemTypeEditor
,JavaClassEditor
,JournalVoucherEditor
,ManageExternalUsers
,ManageMailSenders
,ManageMailSenders.ManageGMailSenders
,MediaFileEditor
,MemoAlertHandler
,MemoSystem
,MemoSystem.MemoEditor
,MemoTypeEditor
,MessageEditor
,MQTTEditor
,ObjectEditor
,ObjectViewer
,PackingUnitEditor
,PermissionEditor
,PersonRoleEditor
,POEditor
,POItemEditor
,ProcessingLanguageEditor
,ReportDefinitionEditor
,ReportEditor
,SerialConfiguratorEditor
,SerialPatternEditor
,SetPasswordPolicy
,SMSMessageEditor
,SupplierInvoiceEditor
,SupportAlertHandler
,SupportSystem
,SystemUserEditor
,TableDefinitionEditor
,TemplateEditor
,TextContentEditor
,UserPermissionEditor
public interface AlertHandler
Alert handler. This is used to handle application alerts. There could be a
StoredObject
instance
associated with an alert and that may be processed when handling the alert.- Author:
- Syam
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Get the caption name to be used on the alert action button.default String
Get the icon name to be used for showing the alert action button.default void
handleAlert
(Id id) Handle the alert.default void
Handle the alert.
-
Method Details
-
handleAlert
Handle the alert.- Parameters:
id
- Id of the associated object instance.
-
handleAlert
Handle the alert.- Parameters:
so
- Associated object instance.
-
getAlertIcon
Get the icon name to be used for showing the alert action button. By default, "vaadin:cog_o" is used.- Returns:
- Alert icon name,
-
getAlertCaption
Get the caption name to be used on the alert action button. By default, "Process" is used.- Returns:
- Alert button caption.
-