Class DefaultWorkflowDecisionMaker
- java.lang.Object
-
- com.hybris.backoffice.workflow.impl.DefaultWorkflowDecisionMaker
-
- All Implemented Interfaces:
WorkflowDecisionMaker
public class DefaultWorkflowDecisionMaker extends java.lang.Object implements WorkflowDecisionMaker
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCONTEXT_PARAMETER_DECISIONA parameter passed to global notification context containing an decision that has been made
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowDecisionMaker()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected com.hybris.backoffice.widgets.notificationarea.NotificationServicegetNotificationService()protected java.lang.StringgetNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)Deprecated, for removal: This API element is subject to removal in a future version.since 6.7, useNotificationService.getWidgetNotificationSource(WidgetInstanceManager)instead.protected WorkflowEventPublishergetWorkflowEventPublisher()protected WorkflowProcessingServicegetWorkflowProcessingService()voidmakeDecision(WorkflowActionModel workflowAction, WorkflowDecisionModel selectedDecision, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)Sets selected decision for given workflow actionvoidsetNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)voidsetWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher)voidsetWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
-
-
-
Field Detail
-
CONTEXT_PARAMETER_DECISION
public static final java.lang.String CONTEXT_PARAMETER_DECISION
A parameter passed to global notification context containing an decision that has been made- See Also:
- Constant Field Values
-
-
Method Detail
-
makeDecision
public void makeDecision(WorkflowActionModel workflowAction, WorkflowDecisionModel selectedDecision, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
Description copied from interface:WorkflowDecisionMakerSets selected decision for given workflow action- Specified by:
makeDecisionin interfaceWorkflowDecisionMaker- Parameters:
workflowAction- workflow action to decide onselectedDecision- decision to be made
-
getNotificationSource
@Deprecated(since="6.7", forRemoval=true) protected java.lang.String getNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)Deprecated, for removal: This API element is subject to removal in a future version.since 6.7, useNotificationService.getWidgetNotificationSource(WidgetInstanceManager)instead.
-
getWorkflowProcessingService
protected WorkflowProcessingService getWorkflowProcessingService()
-
setWorkflowProcessingService
public void setWorkflowProcessingService(WorkflowProcessingService workflowProcessingService)
-
getWorkflowEventPublisher
protected WorkflowEventPublisher getWorkflowEventPublisher()
-
setWorkflowEventPublisher
public void setWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher)
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService()
-
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
-
-