Class PreProcessInventoryDelegate

java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
com.skava.oms.flow.AbstractOrderAsynchronousProcessFlowAdapter
com.skava.oms.flow.adapter.PreProcessInventoryDelegate
All Implemented Interfaces:
org.camunda.bpm.engine.impl.core.delegate.CoreActivityBehavior<org.camunda.bpm.engine.impl.pvm.delegate.ActivityExecution>, org.camunda.bpm.engine.impl.pvm.delegate.ActivityBehavior, org.camunda.bpm.engine.impl.pvm.delegate.SignallableActivityBehavior

@Component public class PreProcessInventoryDelegate extends AbstractOrderAsynchronousProcessFlowAdapter
This class PreProcessInventoryDelegate defines the process flow for inventory integration from payment
Since:
26-Jul-2018
Author:
Infosys Equinox
  • Constructor Details

    • PreProcessInventoryDelegate

      @Autowired public PreProcessInventoryDelegate(OrderSummaryServices orderSummaryServices, com.skava.core.properties.AuthorizationProperties authProps)
  • Method Details

    • processStart

      public void processStart(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      (non-Javadoc)
      Specified by:
      processStart in class AbstractOrderAsynchronousProcessFlowAdapter
      Parameters:
      execution - - Execution of the BPMN
      orderProcessData - - contains the order data
      order - - order object in current process
      See Also:
      • Process, update the status and next event will be executed automatically once this event finished. This process will create inventory payload to send inventory service for locking this sku's.
    • processEnd

      public void processEnd(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      This method contains the process
      Specified by:
      processEnd in class AbstractOrderAsynchronousProcessFlowAdapter
      Parameters:
      execution - -Execution used in current delegate
      orderProcessData - - contains the data related to the process
      order - - contains the order to be processed