components/src/main/java/eu/internetofus/common/components/task_manager/WeNetTaskManager.java
/**
   * Add a transaction into a task.
   *
   * @param taskId          identifier of the task.
   * @param taskTransaction to add.
   *
   * @return the future with the added transaction.
   */
Add a transaction into a task.
@param taskId          identifier of the task.
@param taskTransaction to add.

@return the future with the added transaction.
Add a transaction into a task . @param taskId identifier of the task . @param taskTransaction to add . @return the future with the added transaction .
@GenIgnore
  default Future<TaskTransaction> addTransactionIntoTask(@NotNull final String taskId,
      @NotNull final TaskTransaction taskTransaction) {
    final Promise<JsonObject> promise = Promise.promise();
    this.addTransactionIntoTask(taskId, taskTransaction.toJsonObject(), promise);
    return Model.fromFutureJsonObject(promise.future(), TaskTransaction.class);
  }
@ GenIgnore default Future < TaskTransaction > addTransactionIntoTask ( @ NotNull final String taskId , @ NotNull final TaskTransaction taskTransaction ) { final Promise < JsonObject > promise = Promise . promise ( ) ; this . addTransactionIntoTask ( taskId , taskTransaction . toJsonObject ( ) , promise ) ; return Model . fromFutureJsonObject ( promise . future ( ) , TaskTransaction . class ) ; }
Add a transaction into a task.
Add a transaction into a task .