Class DefaultWorkflowDecisionMaker

java.lang.Object
com.hybris.backoffice.workflow.impl.DefaultWorkflowDecisionMaker
All Implemented Interfaces:
WorkflowDecisionMaker

public class DefaultWorkflowDecisionMaker extends Object implements WorkflowDecisionMaker
  • Field Details

    • CONTEXT_PARAMETER_DECISION

      public static final String 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: WorkflowDecisionMaker
      Sets selected decision for given workflow action
      Specified by:
      makeDecision in interface WorkflowDecisionMaker
      Parameters:
      workflowAction - workflow action to decide on
      selectedDecision - 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, use NotificationService.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)