Class LinkFromContextPreprocessor
java.lang.Object
com.hybris.backoffice.workflow.designer.persistence.LinkFromContextPreprocessor
- All Implemented Interfaces:
NetworkChartContextPreprocessor
Creates links from decision to action. Also removes no longer existing links.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidhandleNewAndUpdatedActionToDecisionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) protected voidhandleNewAndUpdatedDecisionToActionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) protected voidhandleRemovedDecisionToActionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) voidpreprocess(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Process some data from the Workflow Designer, given in the context, before saving.protected voidremoveActionToDecisionLink(WorkflowActionTemplateModel action, WorkflowDecisionTemplateModel decision) protected voidremoveDecisionToActionLink(WorkflowDecisionTemplateModel decision, WorkflowActionTemplateModel action) protected voidsaveLinkFromActionToDecision(WorkflowActionTemplateModel workflowAction, WorkflowDecisionTemplateModel workflowDecision) voidsetConnectionFinder(ConnectionFinder connectionFinder) voidsetLinkCreator(LinkCreator linkCreator) voidsetWorkflowModelFinder(WorkflowModelFinder workflowModelFinder)
-
Constructor Details
-
LinkFromContextPreprocessor
public LinkFromContextPreprocessor()
-
-
Method Details
-
preprocess
public void preprocess(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) Description copied from interface:NetworkChartContextPreprocessorProcess some data from the Workflow Designer, given in the context, before saving.- Specified by:
preprocessin interfaceNetworkChartContextPreprocessor- Parameters:
context- contains the workflow designer's data, from which some will be processed
-
handleRemovedDecisionToActionLinks
protected void handleRemovedDecisionToActionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) -
removeDecisionToActionLink
protected void removeDecisionToActionLink(WorkflowDecisionTemplateModel decision, WorkflowActionTemplateModel action) -
removeActionToDecisionLink
protected void removeActionToDecisionLink(WorkflowActionTemplateModel action, WorkflowDecisionTemplateModel decision) -
handleNewAndUpdatedDecisionToActionLinks
protected void handleNewAndUpdatedDecisionToActionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) -
handleNewAndUpdatedActionToDecisionLinks
protected void handleNewAndUpdatedActionToDecisionLinks(com.hybris.backoffice.widgets.networkchart.context.NetworkChartContext context) -
saveLinkFromActionToDecision
protected void saveLinkFromActionToDecision(WorkflowActionTemplateModel workflowAction, WorkflowDecisionTemplateModel workflowDecision) -
getConnectionFinder
-
setConnectionFinder
-
getLinkCreator
-
setLinkCreator
-
getWorkflowModelFinder
-
setWorkflowModelFinder
-