Class AbstractOrderSynchronousProcessFlowAdapter

java.lang.Object
com.skava.oms.flow.AbstractOrderSynchronousProcessFlowAdapter
All Implemented Interfaces:
org.camunda.bpm.engine.delegate.JavaDelegate
Direct Known Subclasses:
AcceptReturnProcessDelegate, AccountBudgetAdjustmentBlockDelegate, BuyerAdminProcessDelegate, BuyerAdminUpdateDelegate, CancelOrderAccountsDelegate, CancelOrderDelegate, CheckFraudDelegate, CheckLoyaltyDiscountDelegate, CreateFulfilmentDelegate, CSROrderPlaceAdapter, CSROrderPlacedAdapter, CSRProcessOrderAdapter, DefaultOrderStatusDelegate, DeleteOrderDelegate, DeliveredProcessDelegate, EndItemProcessDelegate, FraudUpdateDelegate, GetShippingLabelAdaptor, InitiateOrderAdapter, InitiateReturnOrderAdapter, LoyaltyReturnOrderSplitterDelegate, OrderItemSplitterDelegate, PreProcessLoyaltyDelegate, ReturnAcceptedDelegate, ReturnOrderSplitterDelegate, ReturnProcessLoyaltyDelegate, ReturnRefundDelegate, SkipFulfilmentDelegate, StsSubmitToReturnProcessDelegate, SubmitToFulfilmentProcessDelegate, SubmitToReturnDelegate, SubmitToReturnProcessDelegate, UndoInventoryDelegate, UndoPreProcessAccountDelegate, UndoPreProcessInventoryDelegate, UpdateAllowedPatchFieldsDelegate, UpdateOrderPaymentDelegate, UpdateRefundDelegate, UpdateShipmentAccountDelegate, UpdateShipmentDelegate, ValidateOrderRequestDelegate

@Component public abstract class AbstractOrderSynchronousProcessFlowAdapter extends Object implements org.camunda.bpm.engine.delegate.JavaDelegate
This class will support for the bpmn flow like lock order, release order and trigger events. Every new adapter should extents this class to get all initial level data form repository.
Since:
26-Jul-2018
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • AbstractOrderSynchronousProcessFlowAdapter

      public AbstractOrderSynchronousProcessFlowAdapter()
  • 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 void 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