Class AbstractOrderNotification

java.lang.Object
com.skava.oms.flow.AbstractOrderNotification
All Implemented Interfaces:
org.camunda.bpm.engine.delegate.JavaDelegate
Direct Known Subclasses:
DefaultDeleteNotificationDelegate, DefaultExternalNotificationDelegate, DefaultNotificationDelegate, PostShipmentNotificationDelegate, WaitingForApprovalNotificationDelegate

@Component public abstract class AbstractOrderNotification extends Object implements org.camunda.bpm.engine.delegate.JavaDelegate
The class AbstractOrderNotification will update and add notification to the order. This class contains the method update to notification status and add notification to the order.
Since:
30-Jul-2018
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • AbstractOrderNotification

      public AbstractOrderNotification()
  • Method Details

    • execute

      public void execute(org.camunda.bpm.engine.delegate.DelegateExecution execution) throws Exception
      Specified by:
      execute in interface org.camunda.bpm.engine.delegate.JavaDelegate
      Throws:
      Exception
    • process

      public abstract Map<String,Object> process(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      Every adapter should override this method
      Parameters:
      execution - - Execution of the BPMN
      orderProcessData - - contains the order data
      order - - order object in current process
      Returns:
      notify object
    • triggerEvent

      public void triggerEvent(Order order, Notification notification, Map<String,Object> newOtherproperties)
      Trigger the notification event to the queue.
      Parameters:
      order - contains the order feilds info
      notification -
      newOtherproperties -