Uses of Class
org.adempiere.base.event.annotations.EventDelegate
Package
Description
Provide classes and annotation for OSGi event handling.
Provide method annotations for handling of document action and posting events
Provide annotation for the handling of import event
Provide annotation for process event
-
Uses of EventDelegate in org.adempiere.base.event.annotations
Modifier and TypeClassDescriptionclass
Event delegate for login event.
To handle login event, create a subclass of this and implement theAfterLoginEventDelegate.onAfterLogin(LoginEventData)
method.class
ModelEventDelegate<T extends PO>
Event delegate for PO related event.
To handle a model event, create a subclass of this and uses the model event annotation (BeforeChange, BeforeComplete, etc) to annotate the event handling method.class
Event delegate forRequestSendEMail
event topic.Modifier and TypeMethodDescriptionprotected abstract EventDelegate
BaseEventHandler.newEventDelegate
(org.osgi.service.event.Event event) create new instance of event delegateprotected EventDelegate
ModelEventHandler.newEventDelegate
(org.osgi.service.event.Event event) protected EventDelegate
SimpleEventHandler.newEventDelegate
(org.osgi.service.event.Event event) Modifier and TypeMethodDescriptionClass<? extends EventDelegate>
BaseEventHandler.getDelegateClass()
ModifierConstructorDescriptionBaseEventHandler
(Class<? extends EventDelegate> delegateClass) SimpleEventHandler
(Class<? extends EventDelegate> delegateClass, Function<org.osgi.service.event.Event, ? extends EventDelegate> supplier) SimpleEventHandler
(Class<? extends EventDelegate> delegateClass, Function<org.osgi.service.event.Event, ? extends EventDelegate> supplier) -
Uses of EventDelegate in org.adempiere.base.event.annotations.doc
Modifier and TypeClassDescriptionclass
FactsValidateDelegate<T extends PO>
Event delegate for accounting facts validation event.
To handle facts validate event, create a subclass of this and uses theFactsValidate
annotation to annotate the event handling method. -
Uses of EventDelegate in org.adempiere.base.event.annotations.imp
Modifier and TypeClassDescriptionclass
Event delegate for import event.
To handle an import event, create a sub class of this and uses the import event annotation (AfterImport, BeforeImport, etc) to annotate the event handling method.Modifier and TypeMethodDescriptionprotected EventDelegate
ImportEventHandler.newEventDelegate
(org.osgi.service.event.Event event) -
Uses of EventDelegate in org.adempiere.base.event.annotations.process
Modifier and TypeClassDescriptionclass
Event delegate for handling of process event.
To handle a process related event topic, create a sub class of this and uses the process annotation (AfterProcess, BeforeProcess or PostProcess) to annotate the event handling method.Modifier and TypeMethodDescriptionprotected EventDelegate
ProcessEventHandler.newEventDelegate
(org.osgi.service.event.Event event)