Uses of Class
org.adempiere.base.event.annotations.EventDelegate
Packages that use 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
Subclasses of EventDelegate in org.adempiere.base.event.annotationsModifier 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.Methods in org.adempiere.base.event.annotations that return EventDelegateModifier 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) Methods in org.adempiere.base.event.annotations that return types with arguments of type EventDelegateModifier and TypeMethodDescriptionClass<? extends EventDelegate>
BaseEventHandler.getDelegateClass()
Constructor parameters in org.adempiere.base.event.annotations with type arguments of type EventDelegateModifierConstructorDescriptionBaseEventHandler
(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
Subclasses of EventDelegate in org.adempiere.base.event.annotations.docModifier 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
Subclasses of EventDelegate in org.adempiere.base.event.annotations.impModifier 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.Methods in org.adempiere.base.event.annotations.imp that return EventDelegateModifier and TypeMethodDescriptionprotected EventDelegate
ImportEventHandler.newEventDelegate
(org.osgi.service.event.Event event) -
Uses of EventDelegate in org.adempiere.base.event.annotations.process
Subclasses of EventDelegate in org.adempiere.base.event.annotations.processModifier 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.Methods in org.adempiere.base.event.annotations.process that return EventDelegateModifier and TypeMethodDescriptionprotected EventDelegate
ProcessEventHandler.newEventDelegate
(org.osgi.service.event.Event event)