Class DefaultWorkflowDecisionMaker
java.lang.Object
com.hybris.backoffice.workflow.impl.DefaultWorkflowDecisionMaker
- All Implemented Interfaces:
WorkflowDecisionMaker
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringA parameter passed to global notification context containing an decision that has been made -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected com.hybris.backoffice.widgets.notificationarea.NotificationServiceprotected StringgetNotificationSource(com.hybris.cockpitng.engine.WidgetInstanceManager widgetInstanceManager) Deprecated, for removal: This API element is subject to removal in a future version.protected WorkflowEventPublisherprotected WorkflowProcessingServicevoidmakeDecision(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 Details
-
CONTEXT_PARAMETER_DECISION
A parameter passed to global notification context containing an decision that has been made- See Also:
-
-
Constructor Details
-
DefaultWorkflowDecisionMaker
public DefaultWorkflowDecisionMaker()
-
-
Method Details
-
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 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
-
setWorkflowProcessingService
-
getWorkflowEventPublisher
-
setWorkflowEventPublisher
-
getNotificationService
protected com.hybris.backoffice.widgets.notificationarea.NotificationService getNotificationService() -
setNotificationService
public void setNotificationService(com.hybris.backoffice.widgets.notificationarea.NotificationService notificationService)
-
NotificationService.getWidgetNotificationSource(WidgetInstanceManager)instead.