Package org.adempiere.base.event
Class RequestEventHandler
java.lang.Object
org.adempiere.base.event.AbstractEventHandler
org.adempiere.base.event.RequestEventHandler
- All Implemented Interfaces:
org.osgi.service.cm.ManagedService
,org.osgi.service.event.EventHandler
public class RequestEventHandler
extends AbstractEventHandler
implements org.osgi.service.cm.ManagedService
Event handler for R_Request table and REQUEST_SEND_EMAIL event topic.
- Author:
- Nur Yasmin
-
Field Summary
Fields inherited from class org.adempiere.base.event.AbstractEventHandler
eventManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
checkChange
(MRequest r, MRequestAction ra, String columnName) Process changesprotected void
doHandleEvent
(org.osgi.service.event.Event event) Sub class should override this method to handle event.protected void
Sub class should override this method to register event that the class want to listen tovoid
updated
(Dictionary properties) Methods inherited from class org.adempiere.base.event.AbstractEventHandler
addError, addErrorMessage, bindEventManager, getEventData, getEventProperty, getPO, getProcessInfo, handleEvent, registerEvent, registerEvent, registerProcessEvent, registerTableEvent, unbindEventManager
-
Field Details
-
IGNORE_REQUEST_TYPES
- See Also:
-
-
Constructor Details
-
RequestEventHandler
public RequestEventHandler()
-
-
Method Details
-
doHandleEvent
protected void doHandleEvent(org.osgi.service.event.Event event) Description copied from class:AbstractEventHandler
Sub class should override this method to handle event.- Specified by:
doHandleEvent
in classAbstractEventHandler
-
initialize
protected void initialize()Description copied from class:AbstractEventHandler
Sub class should override this method to register event that the class want to listen to- Specified by:
initialize
in classAbstractEventHandler
-
checkChange
Process changes- Parameters:
ra
- request actioncolumnName
- column- Returns:
- true if columnName has changes
-
updated
- Specified by:
updated
in interfaceorg.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
-