Class DefaultWorkflowDesignerConnectionHandler

    • Field Detail

      • NOTIFICATION_AREA_SOURCE

        protected static final java.lang.String NOTIFICATION_AREA_SOURCE
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultWorkflowDesignerConnectionHandler

        public DefaultWorkflowDesignerConnectionHandler()
    • Method Detail

      • 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​(java.util.Collection<Violation> violations)
      • notifyAboutFailure

        protected void notifyAboutFailure​(java.lang.String eventType,
                                          java.lang.Object... objects)
      • 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)