Class AbstractWorkflowDesignerCreateHandler<FORM extends AbstractWorkflowTemplateCreateForm,MODEL extends ItemModel,DTO extends ElementDto<MODEL>>
- java.lang.Object
-
- com.hybris.backoffice.workflow.designer.handler.create.AbstractWorkflowDesignerCreateHandler<FORM,MODEL,DTO>
-
- Type Parameters:
FORM- a POJO which holds wizard specific dataMODEL- a subtype ofItemModel
- All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
- Direct Known Subclasses:
WorkflowDesignerCreateActionHandler,WorkflowDesignerCreateDecisionHandler
public abstract class AbstractWorkflowDesignerCreateHandler<FORM extends AbstractWorkflowTemplateCreateForm,MODEL extends ItemModel,DTO extends ElementDto<MODEL>> extends java.lang.Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerA common handler forWorkflowActionTemplateModelandWorkflowDecisionTemplateModelcreate handlers
-
-
Constructor Summary
Constructors Constructor Description AbstractWorkflowDesignerCreateHandler()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected static java.util.Set<com.hybris.cockpitng.components.visjs.network.data.Node>extractNodes(com.hybris.cockpitng.core.model.WidgetModel widgetModel)NodeTypeServicegetNodeTypeService()protected abstract java.lang.StringgetNonUniqueCodeMessageKey()com.hybris.cockpitng.util.notifications.NotificationServicegetNotificationService()protected abstract java.lang.StringgetSocketOutput()protected abstract booleanisCodeUnique(FORM form, com.hybris.cockpitng.core.model.WidgetModel widgetModel)protected booleanisCurrentNodeBeingEdited(FORM form, com.hybris.cockpitng.components.visjs.network.data.Node node)voidperform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> map)protected abstract DTOretrieveDtoObject()protected abstract FORMretrieveFormFromModel(com.hybris.cockpitng.engine.WidgetInstanceManager wim)protected abstract MODELretrieveOrCreateModelInstance(FORM form, com.hybris.cockpitng.components.visjs.network.data.Node node, com.hybris.cockpitng.core.model.WidgetModel widgetModel)voidsetNodeTypeService(NodeTypeService nodeTypeService)voidsetNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
-
-
-
Method Detail
-
perform
public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,java.lang.String> map)- Specified by:
performin interfacecom.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
-
getNonUniqueCodeMessageKey
protected abstract java.lang.String getNonUniqueCodeMessageKey()
-
retrieveFormFromModel
protected abstract FORM retrieveFormFromModel(com.hybris.cockpitng.engine.WidgetInstanceManager wim)
-
retrieveOrCreateModelInstance
protected abstract MODEL retrieveOrCreateModelInstance(FORM form, com.hybris.cockpitng.components.visjs.network.data.Node node, com.hybris.cockpitng.core.model.WidgetModel widgetModel)
-
retrieveDtoObject
protected abstract DTO retrieveDtoObject()
-
getSocketOutput
protected abstract java.lang.String getSocketOutput()
-
isCurrentNodeBeingEdited
protected boolean isCurrentNodeBeingEdited(FORM form, com.hybris.cockpitng.components.visjs.network.data.Node node)
-
isCodeUnique
protected abstract boolean isCodeUnique(FORM form, com.hybris.cockpitng.core.model.WidgetModel widgetModel)
-
extractNodes
protected static java.util.Set<com.hybris.cockpitng.components.visjs.network.data.Node> extractNodes(com.hybris.cockpitng.core.model.WidgetModel widgetModel)
-
setNotificationService
public void setNotificationService(com.hybris.cockpitng.util.notifications.NotificationService notificationService)
-
getNotificationService
public com.hybris.cockpitng.util.notifications.NotificationService getNotificationService()
-
setNodeTypeService
public void setNodeTypeService(NodeTypeService nodeTypeService)
-
getNodeTypeService
public NodeTypeService getNodeTypeService()
-
-