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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.hybris.cockpitng.components.visjs.network.response.NetworkUpdatesaddEdge(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context, com.hybris.cockpitng.components.visjs.network.data.Edge edge) Maps added edge to network updates, validates invalid connectionscom.hybris.cockpitng.util.notifications.NotificationServiceprotected voidnotifyAboutFailure(String eventType, Object... objects) protected voidnotifyAboutViolationsDetected(Collection<Violation> violations) voidsetNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService) voidsetWorkflowConnectionValidator(WorkflowConnectionValidator workflowConnectionValidator)
-
Field Details
-
NOTIFICATION_AREA_SOURCE
- See Also:
-
-
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:WorkflowDesignerConnectionHandlerMaps added edge to network updates, validates invalid connections- Specified by:
addEdgein interfaceWorkflowDesignerConnectionHandler- Parameters:
context- contains theWidgetInstanceManagerof the Workflow Designeredge- edge that was added- Returns:
- any network updates necessary
-
notifyAboutViolationsDetected
-
notifyAboutFailure
-
getWorkflowConnectionValidator
-
setWorkflowConnectionValidator
-
getNotificationService
public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService() -
setNotificationService
public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
-