Class PrepareOrderForManualCheckAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction<OrderProcessModel>
-
- de.hybris.platform.yacceleratorfulfilmentprocess.actions.order.PrepareOrderForManualCheckAction
-
- All Implemented Interfaces:
Action<OrderProcessModel>
public class PrepareOrderForManualCheckAction extends AbstractProceduralAction<OrderProcessModel>
Action in order business process, which sets the order status toOrderStatus.WAIT_FRAUD_MANUAL_CHECK
and sends eventOrderFraudEmployeeNotificationEvent
.
To notify back-end user about potential order frauds, a proper business logic needs to be implemented in appropriate event listener.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
AbstractProceduralAction.Transition
-
-
Field Summary
-
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 PrepareOrderForManualCheckAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
executeAction(OrderProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.protected EventService
getEventService()
void
setEventService(EventService eventService)
-
Methods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitions
-
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
getCurrentActionDefinitionContext
-
-
-
-
Method Detail
-
executeAction
public void executeAction(OrderProcessModel process) throws RetryLaterException, java.lang.Exception
Description copied from class:AbstractProceduralAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractProceduralAction<OrderProcessModel>
- Parameters:
process
- The process context to work on.- Throws:
RetryLaterException
java.lang.Exception
-
getEventService
protected EventService getEventService()
-
setEventService
public void setEventService(EventService eventService)
-
-