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
Request event handler- Author:
- Nur Yasmin
-
-
Field Summary
Fields Modifier and Type Field Description static String
IGNORE_REQUEST_TYPES
-
Fields inherited from class org.adempiere.base.event.AbstractEventHandler
eventManager
-
-
Constructor Summary
Constructors Constructor Description RequestEventHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkChange(MRequest r, MRequestAction ra, String columnName)
Check for changesprotected void
doHandleEvent(org.osgi.service.event.Event event)
override this method to handle eventprotected void
initialize()
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 Detail
-
IGNORE_REQUEST_TYPES
public static final String IGNORE_REQUEST_TYPES
- See Also:
- Constant Field Values
-
-
Method Detail
-
doHandleEvent
protected void doHandleEvent(org.osgi.service.event.Event event)
Description copied from class:AbstractEventHandler
override this method to handle event- Specified by:
doHandleEvent
in classAbstractEventHandler
-
initialize
protected void initialize()
Description copied from class:AbstractEventHandler
override this method to register event that the class want to listen to- Specified by:
initialize
in classAbstractEventHandler
-
checkChange
public boolean checkChange(MRequest r, MRequestAction ra, String columnName)
Check for changes- Parameters:
ra
- request actioncolumnName
- column- Returns:
- true if changes
-
updated
public void updated(Dictionary properties) throws org.osgi.service.cm.ConfigurationException
- Specified by:
updated
in interfaceorg.osgi.service.cm.ManagedService
- Throws:
org.osgi.service.cm.ConfigurationException
-
-