Interface WorkflowBlockListener

All Known Implementing Classes:
WFBlockToGraph, WFBlockToNESTWorkflow, WFBlockToUIGraph

public interface WorkflowBlockListener
Interface of Listener-objects for the block-oriented workflow-objectmodel.
Author:
Alexander Stromer
  • Method Details

    • addItem

      void addItem(AbstractWorkflowItemObject newItem)
      Informs about a finished ADD-operation of a workflow-item in the block-oriented workflow-objectmodel.
      Parameters:
      newItem - The item, which was added.
    • removeItem

      void removeItem(AbstractWorkflowItemObject removedItem)
      Informs about a finished REMOVE-operation of a workflow-item in the block-oriented workflow-objectmodel.
      Parameters:
      removedItem - The item, which was removed.
    • addDataRef

      void addDataRef(TaskObject task, DataReferenceObject dataElement, WorkflowBlockListener.DATAFLOW_DIRECTION direction)
      Informs about a finished ADD-operation of a task-dataflow-reference in the block-oriented workflow-objectmodel.
      Parameters:
      task - The task, where a reference was added.
      dataElement - The dataflow-item, to which a reference was added.
      direction - The direction of reference (input or output) from the task to the dataflow-element.
    • removeDataRef

      void removeDataRef(TaskObject task, String dataElementID, WorkflowBlockListener.DATAFLOW_DIRECTION direction)
      Informs about a finished REMOVE-operation of a task-dataflow-reference in the block-oriented workflow-objectmodel.
      Parameters:
      task - The task, where a reference was removed.
      dataElementID - The id of the dataflow-item, from which a reference was removed.
      direction - The direction of reference (input or output) from the task to the dataflow-element.
    • updateAll

      void updateAll(WorkflowObject workflow)
      Informs about some available content in the block-oriented workflow-model, which has to be completly communicated. Updates typically happen at the beginning of attaching the listener-object to the objectmodel if there are already workflow-objects in the objectmodel.
      Parameters:
      workflow - The workflow-object, which contains all other block-oriented objects.