Package com.storedobject.ui
Interface AlertHandler
- All Known Implementing Classes:
AbstractInvoiceEditor,AbstractTextContentEditor,ApplicationModuleEditor,AssignStoresAndLocations,BaseCustomerInvoiceEditor,BaseSupplierInvoiceEditor,BrowserDeviceLayoutEditor,ConsignmentEditor,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,TicketingSystem,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 StringGet the caption name to be used on the alert action button.default StringGet the icon name to be used for showing the alert action button.default voidhandleAlert(Id id) Handle the alert.default voidHandle 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.
-