Class TestActionTemp<T extends BusinessProcessModel>
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.yacceleratorfulfilmentprocess.test.actions.TestActionTemp<T>
- All Implemented Interfaces:
Action<T>
- Direct Known Subclasses:
AbstractTestConsActionTemp,CancelWholeOrderAuthorization,CheckAuthorizeOrderPayment,CheckOrder,CheckTransactionReviewStatus,FraudCheckOrder,FraudCheckOrderInternal,NotifyCustomerAboutFraud,OrderManualChecked,PrepareOrderForManualCheck,ReserveOrderAmount,ScheduleForCleanUp,SendAuthorizationFailedNotification,SendFraudErrorNotification,SendOrderCompletedNotification,SendOrderPlacedNotification,SendPaymentFailedNotification,SplitOrder,SubprocessesCompleted,TakePayment
-
Field Summary
Fields 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 TypeMethodDescriptionExecutes thisAction's business logic working on the givenBusinessProcessModel.protected BusinessProcessServiceAccesses all possible return codes of thisAction.voidvoidsetThrowException(boolean throwException) 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
getCurrentActionDefinitionContext
-
Constructor Details
-
TestActionTemp
public TestActionTemp()
-
-
Method Details
-
getResult
-
setResult
-
setThrowException
public void setThrowException(boolean throwException) -
execute
Description copied from interface:ActionExecutes thisAction's business logic working on the givenBusinessProcessModel.- Parameters:
process- The process context to work on.- Returns:
- the return code as stated in the process definition. This code is used by the process engine to determine the next actions.
- Throws:
Exception
-
getTransitions
Description copied from interface:ActionAccesses all possible return codes of thisAction. This method is used by the process engine to validate a process definition. Furthermore it can be used by (graphical) editors to access all return codes which have to mapped in transitions.- Returns:
- all possible return codes of this
Action
-
getBusinessProcessService
-