Class AbstractProceduralB2BOrderApproveAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction
-
- de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderApproveAction
-
- All Implemented Interfaces:
Action
- Direct Known Subclasses:
AbstractProceduralB2BOrderApproveAuditAction
,StartFulfilmentProcessAction
public abstract class AbstractProceduralB2BOrderApproveAction extends AbstractProceduralAction
An interface for executing an action of a b2b approval process
-
-
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 AbstractProceduralB2BOrderApproveAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
executeAction(B2BApprovalProcessModel process)
Execute an action of a B2B approval processvoid
executeAction(BusinessProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.-
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 final void executeAction(BusinessProcessModel process) throws RetryLaterException
Description copied from class:AbstractProceduralAction
Executes thisAction
's business logic working on the givenBusinessProcessModel
.- Specified by:
executeAction
in classAbstractProceduralAction
- Parameters:
process
- The process context to work on.- Throws:
RetryLaterException
-
executeAction
public abstract void executeAction(B2BApprovalProcessModel process) throws RetryLaterException
Execute an action of a B2B approval process- Parameters:
process
- the process context to work on- Throws:
RetryLaterException
- Triggers the action to be processes again.java.lang.Exception
- Any error has occurred.
-
-