Class DefaultWorkflowDesignerConnectionHandler

java.lang.Object
com.hybris.backoffice.workflow.designer.handler.connection.DefaultWorkflowDesignerConnectionHandler
All Implemented Interfaces:
WorkflowDesignerConnectionHandler

public class DefaultWorkflowDesignerConnectionHandler extends Object implements WorkflowDesignerConnectionHandler
Default implementation of adding edge in workflow designer
  • Field Details

  • Constructor Details

    • DefaultWorkflowDesignerConnectionHandler

      public DefaultWorkflowDesignerConnectionHandler()
  • Method Details

    • addEdge

      public com.hybris.cockpitng.components.visjs.network.response.NetworkUpdates addEdge(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context, com.hybris.cockpitng.components.visjs.network.data.Edge edge)
      Description copied from interface: WorkflowDesignerConnectionHandler
      Maps added edge to network updates, validates invalid connections
      Specified by:
      addEdge in interface WorkflowDesignerConnectionHandler
      Parameters:
      context - contains the WidgetInstanceManager of the Workflow Designer
      edge - edge that was added
      Returns:
      any network updates necessary
    • notifyAboutViolationsDetected

      protected void notifyAboutViolationsDetected(Collection<Violation> violations)
    • notifyAboutFailure

      protected void notifyAboutFailure(String eventType, Object... objects)
    • getWorkflowConnectionValidator

      public WorkflowConnectionValidator getWorkflowConnectionValidator()
    • setWorkflowConnectionValidator

      public void setWorkflowConnectionValidator(WorkflowConnectionValidator workflowConnectionValidator)
    • getNotificationService

      public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
    • setNotificationService

      public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)