Class AbstractOrderAction<T extends OrderProcessModel>
- 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.TimeServicetimeService
-
Constructor Summary
Constructors Constructor Description AbstractOrderAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected OrderHistoryEntryModelcreateHistoryLog(java.lang.String description, OrderModel order)Prepares order history entryOrderHistoryEntryModelfor the given order and description and with the current timestamp.protected de.hybris.platform.servicelayer.time.TimeServicegetTimeService()voidsetTimeService(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
-
-
-
-
Method Detail
-
createHistoryLog
protected OrderHistoryEntryModel createHistoryLog(java.lang.String description, OrderModel order)
Prepares order history entryOrderHistoryEntryModelfor the given order and description and with the current timestamp. TheOrderHistoryEntryModelis 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)
-
-