java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.b2ctelcofulfillmentprocess.actions.order.AbstractOrderAction<T>
All Implemented Interfaces:
de.hybris.platform.processengine.spring.Action<T>
Direct Known Subclasses:
AbstractFraudCheckAction, OrderManualCheckedAction

public abstract class AbstractOrderAction<T extends OrderProcessModel> extends de.hybris.platform.processengine.action.AbstractAction<T>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected de.hybris.platform.servicelayer.time.TimeService
     

    Fields inherited from class de.hybris.platform.processengine.action.AbstractAction

    modelService, processParameterHelper

    Fields inherited from interface de.hybris.platform.processengine.spring.Action

    ERROR_RETURN_CODE, RETRY_RETURN_CODE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createHistoryLog(String description, OrderModel order)
    Prepares order history entry OrderHistoryEntryModel for the given order and description and with the current timestamp.
    protected de.hybris.platform.servicelayer.time.TimeService
     
    void
    setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
     

    Methods inherited from class de.hybris.platform.processengine.action.AbstractAction

    createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelper

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface de.hybris.platform.processengine.spring.Action

    execute, getCurrentActionDefinitionContext, getTransitions
  • Field Details

    • timeService

      protected de.hybris.platform.servicelayer.time.TimeService timeService
  • Constructor Details

    • AbstractOrderAction

      public AbstractOrderAction()
  • Method Details

    • createHistoryLog

      protected OrderHistoryEntryModel createHistoryLog(String description, OrderModel order)
      Prepares order history entry OrderHistoryEntryModel for the given order and description and with the current timestamp. The OrderHistoryEntryModel is not saved!.
      Parameters:
      description -
      order -
      Returns:
      OrderHistoryEntryModel
    • getTimeService

      protected de.hybris.platform.servicelayer.time.TimeService getTimeService()
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)