Class StartWorkFlowForAdmin
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction<T>
de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
de.hybris.platform.b2b.process.approval.actions.AbstractSimpleB2BApproveOrderDecisionAction
de.hybris.platform.b2bacceleratoraddon.actions.StartWorkFlowForAdmin
- All Implemented Interfaces:
Action
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
AbstractSimpleDecisionAction.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 TypeMethodDescriptionprotected voidassignToGroup(B2BCustomerModel admin, UserGroupModel userGroup) protected WorkflowModelcreateAndStartWorkflow(B2BApprovalProcessModel process, B2BCustomerModel admin) executeAction(B2BApprovalProcessModel process) Execute an action of a B2B approval processprotected B2BCustomerModelprotected B2BUnitService<B2BUnitModel,B2BCustomerModel> protected B2BWorkflowIntegrationServiceprotected B2BPermissionResultHelperImplprotected UserServiceprotected WorkflowProcessingServiceprotected WorkflowServiceprotected voidhandleError(OrderModel order, Exception exception) voidsetB2bUnitService(B2BUnitService<B2BUnitModel, B2BCustomerModel> b2bUnitService) voidsetB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) voidsetPermissionResultHelper(B2BPermissionResultHelperImpl permissionResultHelper) voidsetUserService(UserService userService) voidsetWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) voidsetWorkflowService(WorkflowService workflowService) Methods inherited from class de.hybris.platform.b2b.process.approval.actions.AbstractSimpleB2BApproveOrderDecisionAction
executeActionMethods inherited from class de.hybris.platform.processengine.action.AbstractSimpleDecisionAction
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
-
StartWorkFlowForAdmin
public StartWorkFlowForAdmin()
-
-
Method Details
-
executeAction
public AbstractSimpleDecisionAction.Transition executeAction(B2BApprovalProcessModel process) throws RetryLaterException Description copied from class:AbstractSimpleB2BApproveOrderDecisionActionExecute an action of a B2B approval process- Specified by:
executeActionin classAbstractSimpleB2BApproveOrderDecisionAction- Parameters:
process- the b2b approval process- Returns:
- the transition OK, NOK.
- Throws:
RetryLaterException- Triggers the action to be processes again.
-
assignToGroup
-
findB2BAdministratorForCustomer
-
createAndStartWorkflow
protected WorkflowModel createAndStartWorkflow(B2BApprovalProcessModel process, B2BCustomerModel admin) -
handleError
-
getB2bUnitService
-
setB2bUnitService
-
getB2bWorkflowIntegrationService
-
setB2bWorkflowIntegrationService
public void setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) -
getWorkflowProcessingService
-
setWorkflowProcessingService
-
getWorkflowService
-
setWorkflowService
-
getPermissionResultHelper
-
setPermissionResultHelper
-
getUserService
-
setUserService
-