Class InsertOrUpdateNodeData

java.lang.Object
de.xima.fc.gui.model.workflow.InsertOrUpdateNodeData
All Implemented Interfaces:
Serializable

public final class InsertOrUpdateNodeData extends Object implements Serializable
POJO model for inserting a node into the flowchart from external Java code. The node is inserted at a suitable location.
Since:
7.0.0
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • InsertOrUpdateNodeData

      public InsertOrUpdateNodeData()
  • Method Details

    • getNode

      public NodeModel getNode()
      Returns:
      Node to insert.
    • getParams

      public com.alibaba.fastjson.JSONObject getParams()
      Returns:
      Params of the node.
    • getTargetName

      public String getTargetName()
      Returns:
      When isOverrideExistingAction(), the name of the node to override.
    • getTaskUuid

      public UUID getTaskUuid()
      Returns:
      UUID of the task where to insert the node.
    • isOverrideExistingAction

      public boolean isOverrideExistingAction()
      Returns:
      When and an action of the same name and type exists, overwrites that action. Otherwise, inserts a new action.
    • setNode

      public void setNode(NodeModel node)
    • setOverrideExistingAction

      public void setOverrideExistingAction(boolean overrideExistingAction)
    • setParams

      public void setParams(com.alibaba.fastjson.JSONObject params)
    • setTargetName

      public void setTargetName(String targetName)
    • setTaskUuid

      public void setTaskUuid(UUID taskUuid)