Class AbstractOrderAction<T extends OrderProcessModel>

java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.travelfulfilmentprocess.actions.order.AbstractOrderAction<T>
Type Parameters:
T - the type parameter
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>
The type Abstract order action.
  • Field Summary

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

    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
    Gets time service.
    void
    setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
    Sets time service.

    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
      The Time service.
  • 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 - the description
      order - the order
      Returns:
      OrderHistoryEntryModel
    • getTimeService

      protected de.hybris.platform.servicelayer.time.TimeService getTimeService()
      Gets time service.
      Returns:
      the time service
    • setTimeService

      public void setTimeService(de.hybris.platform.servicelayer.time.TimeService timeService)
      Sets time service.
      Parameters:
      timeService - the time service