Class DefaultWorkflowDesignerSaveHandler
java.lang.Object
com.hybris.backoffice.workflow.designer.handler.DefaultWorkflowDesignerSaveHandler
- All Implemented Interfaces:
WorkflowDesignerSaveHandler
public class DefaultWorkflowDesignerSaveHandler
extends Object
implements WorkflowDesignerSaveHandler
Default implementation of save - delegates to @
WorkflowDesignerPersistenceService-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.hybris.cockpitng.components.visjs.network.response.NetworkUpdatessave(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Performs save, displays any errors / warnings in notification.voidsetNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService) voidsetWorkflowModelFinder(WorkflowModelFinder workflowModelFinder) voidsetWorkflowTemplatePersistenceService(WorkflowDesignerPersistenceService workflowTemplatePersistenceService)
-
Field Details
-
NOTIFICATION_AREA_SOURCE
- See Also:
-
EVENT_TYPE_CANNOT_SAVE
- See Also:
-
EXISTING_DECISIONS
- See Also:
-
-
Constructor Details
-
DefaultWorkflowDesignerSaveHandler
public DefaultWorkflowDesignerSaveHandler()
-
-
Method Details
-
save
public com.hybris.cockpitng.components.visjs.network.response.NetworkUpdates save(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Description copied from interface:WorkflowDesignerSaveHandlerPerforms save, displays any errors / warnings in notification.- Specified by:
savein interfaceWorkflowDesignerSaveHandler- Parameters:
context- contains theWidgetInstanceManagerof the Workflow Designer- Returns:
- any network updates necessary
-
setWorkflowTemplatePersistenceService
public void setWorkflowTemplatePersistenceService(WorkflowDesignerPersistenceService workflowTemplatePersistenceService) -
setNotificationService
public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService) -
setWorkflowModelFinder
-