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 Details

  • 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 class AbstractEventHandler
    • 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 class AbstractEventHandler
    • checkChange

      public boolean checkChange(MRequest r, MRequestAction ra, String columnName)
      Process changes
      Parameters:
      ra - request action
      columnName - column
      Returns:
      true if columnName has changes
    • updated

      public void updated(Dictionary properties) throws org.osgi.service.cm.ConfigurationException
      Specified by:
      updated in interface org.osgi.service.cm.ManagedService
      Throws:
      org.osgi.service.cm.ConfigurationException