Class AbstractOrderAction<T extends OrderProcessModel>
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.yacceleratorordermanagement.actions.order.AbstractOrderAction<T>
-
- All Implemented Interfaces:
Action<T>
- Direct Known Subclasses:
AbstractFraudCheckAction,OrderManualCheckedAction
public abstract class AbstractOrderAction<T extends OrderProcessModel> extends AbstractAction<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected TimeServicetimeService-
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 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 TimeServicegetTimeService()voidsetTimeService(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 Detail
-
timeService
protected TimeService timeService
-
-
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 TimeService getTimeService()
-
setTimeService
public void setTimeService(TimeService timeService)
-
-