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 TypeClassDescriptionclassEvent delegate for login event.
To handle login event, create a subclass of this and implement theAfterLoginEventDelegate.onAfterLogin(LoginEventData)method.classModelEventDelegate<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.classEvent delegate forRequestSendEMailevent topic.Fields in org.adempiere.base.event.annotations with type parameters of type EventDelegateModifier and TypeFieldDescriptionprotected Class<? extends EventDelegate>BaseEventHandler.delegateClassMethods in org.adempiere.base.event.annotations that return EventDelegateModifier and TypeMethodDescriptionprotected abstract EventDelegateBaseEventHandler.newEventDelegate(org.osgi.service.event.Event event) create new instance of event delegateprotected EventDelegateModelEventHandler.newEventDelegate(org.osgi.service.event.Event event) protected EventDelegateSimpleEventHandler.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 TypeClassDescriptionclassFactsValidateDelegate<T extends PO>Event delegate for accounting facts validation event.
To handle facts validate event, create a subclass of this and uses theFactsValidateannotation 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 TypeClassDescriptionclassEvent 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 EventDelegateImportEventHandler.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 TypeClassDescriptionclassEvent 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 EventDelegateProcessEventHandler.newEventDelegate(org.osgi.service.event.Event event)