Class PreProcessAccountsDelegate

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.PreProcessAccountsDelegate
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 PreProcessAccountsDelegate extends AbstractOrderAsynchronousProcessFlowAdapter
This class PreProcessAccountsDelegate defines the process flow for account B2B integration from Accounts.
Since:
20-Apr-2020
Author:
Infosys Equinox
  • Field Details

  • Constructor Details

    • PreProcessAccountsDelegate

      @Autowired public PreProcessAccountsDelegate(com.skava.core.properties.AuthorizationProperties authProps)
  • Method Details

    • processStart

      public void processStart(org.camunda.bpm.engine.delegate.DelegateExecution execution, OrderProcessData orderProcessData, Order order)
      Process, calculate the order values for the orders and send the event will be executed automatically once this event finished. This process will create account payload to send account service for locking this account budget.
      Specified by:
      processStart in class AbstractOrderAsynchronousProcessFlowAdapter
      Parameters:
      execution - Contains DelegateExecution object for preprocess account budget flow.
      orderProcessData - contains OrderProcessData for preprocess account budget flow.
      order - Contains Order object preprocess account budget flow.
    • 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