Class StartWorkflow
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.processengine.action.AbstractProceduralAction
de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderAproveAction
de.hybris.platform.b2b.process.approval.actions.StartWorkflow
- All Implemented Interfaces:
Action
Starts a approval work flow and schedules a
EscalationTaskModel which escalates the workflow to next
available approver if the order has not been approved within 24 hours.-
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, processParameterHelperFields inherited from interface de.hybris.platform.processengine.spring.Action
ERROR_RETURN_CODE, RETRY_RETURN_CODE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecuteAction(B2BApprovalProcessModel aprovalProcess) Execute an action of a B2B approval processbooleanvoidsetB2bEscalationService(B2BEscalationService b2bEscalationService) Sets the b2b escalation service.voidsetB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) Sets the b2b workflow integration service.voidsetEscalate(boolean escalate) voidsetPermissionResultHelper(B2BPermissionResultHelperImpl permissionResultHelper) voidsetWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) voidsetWorkflowService(WorkflowService workflowService) Methods inherited from class de.hybris.platform.b2b.process.approval.actions.AbstractProceduralB2BOrderAproveAction
executeActionMethods inherited from class de.hybris.platform.processengine.action.AbstractProceduralAction
execute, getTransitionsMethods 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
-
StartWorkflow
public StartWorkflow()
-
-
Method Details
-
executeAction
Description copied from class:AbstractProceduralB2BOrderAproveActionExecute an action of a B2B approval process- Specified by:
executeActionin classAbstractProceduralB2BOrderAproveAction- Parameters:
aprovalProcess- the process context to work on- Throws:
RetryLaterException- Triggers the action to be processes again.
-
setB2bWorkflowIntegrationService
public void setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) Sets the b2b workflow integration service.- Parameters:
b2bWorkflowIntegrationService- the b2bWorkflowIntegrationService to set
-
setB2bEscalationService
Sets the b2b escalation service.- Parameters:
b2bEscalationService- the b2bEscalationService to set
-
setPermissionResultHelper
- Parameters:
permissionResultHelper- the permissionResultHelper to set
-
setWorkflowProcessingService
-
setWorkflowService
-
isEscalate
public boolean isEscalate()- Returns:
- the escalate
-
setEscalate
public void setEscalate(boolean escalate) - Parameters:
escalate- the escalate to set
-