Class AbstractOrderAction<T extends OrderProcessModel>
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.yacceleratorfulfilmentprocess.actions.order.AbstractOrderAction<T>
- All Implemented Interfaces:
Action<T>
- Direct Known Subclasses:
AbstractFraudCheckAction,OrderManualCheckedAction
-
Field Summary
FieldsFields inherited from class de.hybris.platform.processengine.action.AbstractAction
modelService, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected OrderHistoryEntryModelcreateHistoryLog(String description, OrderModel order) Prepares order history entryOrderHistoryEntryModelfor the given order and description and with the current timestamp.protected TimeServicevoidsetTimeService(TimeService timeService) Methods inherited from class de.hybris.platform.processengine.action.AbstractAction
createTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.processengine.spring.Action
execute, getCurrentActionDefinitionContext, getTransitions
-
Field Details
-
timeService
-
-
Constructor Details
-
AbstractOrderAction
public AbstractOrderAction()
-
-
Method Details
-
createHistoryLog
Prepares order history entryOrderHistoryEntryModelfor the given order and description and with the current timestamp. TheOrderHistoryEntryModelis not saved!.- Parameters:
description-order-- Returns:
OrderHistoryEntryModel
-
getTimeService
-
setTimeService
-