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.String
CONTEXT_PARAMETER_DECISION
A 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.NotificationService
getNotificationService()
protected java.lang.String
getNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
Deprecated.since 6.7, useNotificationService.getWidgetNotificationSource(WidgetInstanceManager)
instead.protected WorkflowEventPublisher
getWorkflowEventPublisher()
protected WorkflowProcessingService
getWorkflowProcessingService()
void
makeDecision(WorkflowActionModel workflowAction, WorkflowDecisionModel selectedDecision, com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
Sets selected decision for given workflow actionvoid
setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
void
setWorkflowEventPublisher(WorkflowEventPublisher workflowEventPublisher)
void
setWorkflowProcessingService(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:WorkflowDecisionMaker
Sets selected decision for given workflow action- Specified by:
makeDecision
in interfaceWorkflowDecisionMaker
- Parameters:
workflowAction
- workflow action to decide onselectedDecision
- decision to be made
-
getNotificationSource
@Deprecated protected java.lang.String getNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager)
Deprecated.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)
-
-