Class SplitOrder
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.yacceleratorfulfilmentprocess.test.actions.TestActionTemp
-
- de.hybris.platform.yacceleratorfulfilmentprocess.test.actions.SplitOrder
-
- All Implemented Interfaces:
Action
public class SplitOrder extends TestActionTemp
-
-
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 SplitOrder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
execute(BusinessProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.BusinessProcessService
getBusinessProcessService()
void
setSubprocessCount(int subprocessCount)
-
Methods inherited from class de.hybris.platform.yacceleratorfulfilmentprocess.test.actions.TestActionTemp
getResult, getTransitions, setResult, setThrowException
-
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
-
setSubprocessCount
public void setSubprocessCount(int subprocessCount)
-
execute
public java.lang.String execute(BusinessProcessModel process) throws java.lang.Exception
Description copied from interface:Action
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
execute
in interfaceAction
- Overrides:
execute
in classTestActionTemp
- 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:
java.lang.Exception
-
getBusinessProcessService
public BusinessProcessService getBusinessProcessService()
- Overrides:
getBusinessProcessService
in classTestActionTemp
- Returns:
- the businessProcessService
-
-