Class PerformMerchantCheck
java.lang.Object
de.hybris.platform.processengine.action.AbstractAction
de.hybris.platform.b2b.process.approval.actions.AbstractB2BApproveOrderDecisionAction
de.hybris.platform.b2b.process.approval.actions.PerformMerchantCheck
- All Implemented Interfaces:
Action
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.b2b.process.approval.actions.AbstractB2BApproveOrderDecisionAction
AbstractB2BApproveOrderDecisionAction.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 TypeMethodDescriptionexecuteAction(B2BApprovalProcessModel process) Execute an action of a B2B approval processprotected voidhandleError(OrderModel order, Exception e) booleanhasRejectedMerchantResult(Collection<B2BMerchantCheckResultModel> merchantCheckResults) protected voidsendAlert(OrderModel order, List<UserModel> salesReps, String description) voidsetB2bApproverService(B2BApproverService<B2BCustomerModel> b2bApproverService) voidsetB2bCostCenterService(B2BCostCenterService b2bCostCenterService) voidsetB2bMerchantCheckService(B2BMerchantCheckService b2bMerchantCheckService) voidsetB2bUnitService(B2BUnitService<B2BUnitModel, B2BCustomerModel> b2bUnitService) voidsetB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) voidsetUserService(UserService userService) voidsetWorkflowProcessingService(WorkflowProcessingService workflowProcessingService) voidsetWorkflowService(WorkflowService workflowService) Methods inherited from class de.hybris.platform.b2b.process.approval.actions.AbstractB2BApproveOrderDecisionAction
execute, executeAction, getOrderForProcess, 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
-
PerformMerchantCheck
public PerformMerchantCheck()
-
-
Method Details
-
executeAction
public AbstractB2BApproveOrderDecisionAction.Transition executeAction(B2BApprovalProcessModel process) throws RetryLaterException, Exception Description copied from class:AbstractB2BApproveOrderDecisionActionExecute an action of a B2B approval process- Specified by:
executeActionin classAbstractB2BApproveOrderDecisionAction- Parameters:
process- the b2b approval process- Returns:
- the transition OK, NOK.
- Throws:
RetryLaterException- Triggers the action to be processes again.Exception- Any error has occurred.
-
hasRejectedMerchantResult
public boolean hasRejectedMerchantResult(Collection<B2BMerchantCheckResultModel> merchantCheckResults) -
sendAlert
-
handleError
-
setB2bMerchantCheckService
-
setB2bWorkflowIntegrationService
public void setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService) -
setUserService
-
setB2bUnitService
-
setB2bApproverService
-
setWorkflowProcessingService
-
setWorkflowService
-
setB2bCostCenterService
-
getB2bCostCenterService
-
getB2bApproverService
-
getB2bWorkflowIntegrationService
-
getB2bUnitService
-
getB2bMerchantCheckService
-
getUserService
-
getWorkflowProcessingService
-
getWorkflowService
-