public class StartWorkFlowForAdmin extends AbstractSimpleB2BApproveOrderDecisionAction
AbstractSimpleDecisionAction.TransitionmodelService, processParameterHelperERROR_RETURN_CODE, RETRY_RETURN_CODE| Constructor and Description |
|---|
StartWorkFlowForAdmin() |
executeActionexecute, getTransitionscreateTransitions, getModelService, getProcessParameterHelper, getProcessParameterValue, refresh, save, setModelService, setOrderStatus, setProcessParameterHelperclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCurrentActionDefinitionContextpublic AbstractSimpleDecisionAction.Transition executeAction(B2BApprovalProcessModel process) throws RetryLaterException
AbstractSimpleB2BApproveOrderDecisionActionexecuteAction in class AbstractSimpleB2BApproveOrderDecisionActionprocess - the b2b approval processRetryLaterException - Triggers the action to be processes again.protected void assignToGroup(B2BCustomerModel admin, UserGroupModel userGroup)
protected B2BCustomerModel findB2BAdministratorForCustomer(B2BCustomerModel customer)
protected WorkflowModel createAndStartWorkflow(B2BApprovalProcessModel process, B2BCustomerModel admin)
protected void handleError(OrderModel order, java.lang.Exception exception)
protected B2BUnitService<B2BUnitModel,B2BCustomerModel> getB2bUnitService()
public void setB2bUnitService(B2BUnitService<B2BUnitModel,B2BCustomerModel> b2bUnitService)
protected B2BWorkflowIntegrationService getB2bWorkflowIntegrationService()
public void setB2bWorkflowIntegrationService(B2BWorkflowIntegrationService b2bWorkflowIntegrationService)
protected WorkflowProcessingService getWorkflowProcessingService()
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
protected WorkflowService getWorkflowService()
public void setWorkflowService(WorkflowService workflowService)
protected B2BPermissionResultHelperImpl getPermissionResultHelper()
public void setPermissionResultHelper(B2BPermissionResultHelperImpl permissionResultHelper)
protected UserService getUserService()
public void setUserService(UserService userService)
Copyright © 2018 SAP SE. All Rights Reserved.