Interface Model

All Known Implementing Classes:
BPMNModel

public interface Model
The IModel interface defines getter methods to navigate through a Imixs Workflow Model. The IModel interface is used by the IModelManager. A Imixs-Workflow Model is defined by a collections of Tasks and Events. A Task defines the state of a process instance. The Event defines the transition from one state to another. A Task contains informations about the processing state e.g. the name or the status description. A Task is uniquely identified by its ID. A Event is unambiguously assigned to a Task and uniquely identified by by an ID. Task and Event elements are implemented as instances of the class ItemCollection. A Model holds a Definition which contains general model information.
Version:
1.0
Author:
Ralph Soika
See Also:
  • Method Details

    • getVersion

      String getVersion()
      Returns the model version.
      Returns:
    • getDefinition

      ItemCollection getDefinition()
      Returns the model definition containing general model information (e.g. $ModelVersion).
      Returns:
    • getTask

      ItemCollection getTask(int taskID) throws ModelException
      Returns a Task by its Id.
      Parameters:
      taskid -
      modelVersion -
      Returns:
      ItemCollection
      Throws:
      ModelException
    • getEvent

      ItemCollection getEvent(int taskID, int eventID) throws ModelException
      Returns a Event by its Id and Task-ID.
      Parameters:
      taskid -
      eventid -
      modelVersion -
      Returns:
      ItemCollection
      Throws:
      ModelException
    • getGroups

      List<String> getGroups()
      Returns all Group definitions.
      Returns:
    • findAllTasks

      List<ItemCollection> findAllTasks()
      Returns all Tasks defined in the model.
      Parameters:
      modelVersion -
      Returns:
      List org.imixs.workflow.ItemCollection
    • findAllEventsByTask

      List<ItemCollection> findAllEventsByTask(int taskID)
      Returns all Events assigned to a task.
      Parameters:
      taskid -
      Returns:
      Collection org.imixs.workflow.ItemCollection
    • findTasksByGroup

      List<ItemCollection> findTasksByGroup(String group)
      Returns a list of Tasks assigned to a specific workflow group.
      Parameters:
      group -
      Returns: