Package com.skava.oms.flow.adapter
Class InventoryDelegateUtil
java.lang.Object
com.skava.oms.flow.adapter.InventoryDelegateUtil
This class InventoryDelegateUtil defines the flow for pre-process inventory
- Since:
- 8.12 Delegate for pre-process inventory
- Author:
- Infosys Equinox
-
Method Summary
Modifier and TypeMethodDescriptionsetDefaultInventoryMessage
(org.camunda.bpm.engine.delegate.DelegateExecution inventexecution, PreProcessInventoryPayload inventpayload, Map<String, String> inventoryReason) setFailureMessage
(org.camunda.bpm.engine.delegate.DelegateExecution inventoryExecution, PreProcessInventoryPayload inventoryPayload, Map<String, String> inventoryReason) static void
setInventoryFailMsg
(org.camunda.bpm.engine.delegate.DelegateExecution inventoryExecution, PreProcessInventoryPayload inventoryPayload, Map<String, String> inventoryReason, org.json.JSONArray jsonArray)
-
Method Details
-
setFailureMessage
public static Map<String,String> setFailureMessage(org.camunda.bpm.engine.delegate.DelegateExecution inventoryExecution, PreProcessInventoryPayload inventoryPayload, Map<String, String> inventoryReason) - Parameters:
inventoryExecution
- refers to executioninventoryPayload
- refers to paylodinventoryReason
- refers to reason- Returns:
- inventoryReason
-
setInventoryFailMsg
public static void setInventoryFailMsg(org.camunda.bpm.engine.delegate.DelegateExecution inventoryExecution, PreProcessInventoryPayload inventoryPayload, Map<String, String> inventoryReason, org.json.JSONArray jsonArray) - Parameters:
inventoryExecution
- inventoryExecutioninventoryPayload
- inventoryPayloadinventoryReason
- inventoryReasonjsonArray
- jsonArray
-
setDefaultInventoryMessage
public static Map<String,String> setDefaultInventoryMessage(org.camunda.bpm.engine.delegate.DelegateExecution inventexecution, PreProcessInventoryPayload inventpayload, Map<String, String> inventoryReason) - Parameters:
inventexecution
- execution paraminventpayload
- refers to inventory payloadinventoryReason
- refers to failed reason- Returns:
- inventoryReason
-