Class DefaultWorkflowDesignerSaveHandler
- java.lang.Object
-
- com.hybris.backoffice.workflow.designer.handler.DefaultWorkflowDesignerSaveHandler
-
- All Implemented Interfaces:
WorkflowDesignerSaveHandler
public class DefaultWorkflowDesignerSaveHandler extends java.lang.Object implements WorkflowDesignerSaveHandler
Default implementation of save - delegates to @WorkflowDesignerPersistenceService
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringEVENT_TYPE_CANNOT_SAVEstatic java.lang.StringEXISTING_DECISIONSstatic java.lang.StringNOTIFICATION_AREA_SOURCE
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowDesignerSaveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.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 Detail
-
NOTIFICATION_AREA_SOURCE
public static final java.lang.String NOTIFICATION_AREA_SOURCE
- See Also:
- Constant Field Values
-
EVENT_TYPE_CANNOT_SAVE
protected static final java.lang.String EVENT_TYPE_CANNOT_SAVE
- See Also:
- Constant Field Values
-
EXISTING_DECISIONS
public static final java.lang.String EXISTING_DECISIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public void setWorkflowModelFinder(WorkflowModelFinder workflowModelFinder)
-
-