Class StartingWorkflowAction
- java.lang.Object
-
- de.hybris.platform.processengine.action.AbstractAction<T>
-
- de.hybris.platform.processengine.action.AbstractProceduralAction
-
- de.hybris.platform.processengine.action.StartingWorkflowAction
-
- All Implemented Interfaces:
Action
public class StartingWorkflowAction extends AbstractProceduralAction
Starts the existing workflow template.
-
-
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 StartingWorkflowAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
beforeStart(WorkflowModel workflow, BusinessProcessModel process)
void
executeAction(BusinessProcessModel process)
Executes thisAction
's business logic working on the givenBusinessProcessModel
.void
setTemplateId(java.lang.String templateId)
void
setUserService(UserService userService)
void
setWorkflowAttachmentService(WorkflowAttachmentService workflowAttachmentService)
void
setWorkflowIntegrationService(WorkflowIntegrationService workflowIntegrationService)
-
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(BusinessProcessModel 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
- Parameters:
process
- The process context to work on.- Throws:
RetryLaterException
java.lang.Exception
-
beforeStart
protected void beforeStart(WorkflowModel workflow, BusinessProcessModel process)
-
setWorkflowAttachmentService
public void setWorkflowAttachmentService(WorkflowAttachmentService workflowAttachmentService)
-
setTemplateId
public void setTemplateId(java.lang.String templateId)
-
setUserService
public void setUserService(UserService userService)
-
setWorkflowIntegrationService
public void setWorkflowIntegrationService(WorkflowIntegrationService workflowIntegrationService)
-
-