public abstract class B2BAbstractWorkflowAutomatedAction extends java.lang.Object implements AutomatedWorkflowTemplateJob
| Constructor and Description |
|---|
B2BAbstractWorkflowAutomatedAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ModelService |
getModelService() |
WorkflowDecisionModel |
perform(WorkflowActionModel action)
execution method for the automated workflow job
|
abstract void |
performAction(WorkflowActionModel action) |
void |
setModelService(ModelService modelService) |
protected void |
updatePermissionResultsStatus(OrderModel order,
PrincipalModel principalAssigned,
PermissionStatus status)
Assigns the PermissionStatus to all the
B2BPermissionResultModels associated with a given order and are
assigned to the principal. |
public final WorkflowDecisionModel perform(WorkflowActionModel action)
AutomatedWorkflowTemplateJobperform in interface AutomatedWorkflowTemplateJobaction - the workflow action that activated this methodpublic abstract void performAction(WorkflowActionModel action)
protected void updatePermissionResultsStatus(OrderModel order, PrincipalModel principalAssigned, PermissionStatus status)
B2BPermissionResultModels associated with a given order and are
assigned to the principal.order - A b2c orderprincipalAssigned - A hybris principalstatus - A PermissionStatus enumerationprotected ModelService getModelService()
public void setModelService(ModelService modelService)
Copyright © 2018 SAP SE. All Rights Reserved.