Class SendConsignmentToExternalFulfillmentSystemAction

java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<ConsignmentProcessModel>
de.hybris.platform.yacceleratorordermanagement.actions.consignment.SendConsignmentToExternalFulfillmentSystemAction
All Implemented Interfaces:
Action<ConsignmentProcessModel>

public class SendConsignmentToExternalFulfillmentSystemAction extends AbstractAction<ConsignmentProcessModel>
Extracts a SendConsignmentToExternalFulfillmentSystemStrategy, based on ConsignmentModel.FULFILLMENTSYSTEMCONFIG.
And uses this strategy to send the ConsignmentModel to external fulfillment system.
  • Constructor Details

    • SendConsignmentToExternalFulfillmentSystemAction

      public SendConsignmentToExternalFulfillmentSystemAction()
  • Method Details

    • execute

      public String execute(ConsignmentProcessModel consignmentProcess)
      Description copied from interface: Action
      Executes this Action's business logic working on the given BusinessProcessModel.
      Parameters:
      consignmentProcess - The process context to work on.
      Returns:
      the return code as stated in the process definition. This code is used by the process engine to determine the next actions.
    • getTransitions

      public Set<String> getTransitions()
      Description copied from interface: Action
      Accesses all possible return codes of this Action. This method is used by the process engine to validate a process definition. Furthermore it can be used by (graphical) editors to access all return codes which have to mapped in transitions.
      Returns:
      all possible return codes of this Action
    • getSendConsignmentToExternalFulfillmentSystemStrategyMap

      protected Map<String,SendConsignmentToExternalFulfillmentSystemStrategy> getSendConsignmentToExternalFulfillmentSystemStrategyMap()
    • setSendConsignmentToExternalFulfillmentSystemStrategyMap

      public void setSendConsignmentToExternalFulfillmentSystemStrategyMap(Map<String,SendConsignmentToExternalFulfillmentSystemStrategy> sendConsignmentToExternalFulfillmentSystemStrategyMap)