org.kie.internal.task.api

## Interface TaskCommentService

-     public interface TaskCommentService

  The Task Comment Service will handle all the operations related with the Comments associated with a Task

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `addComment(long taskId, org.kie.api.task.model.Comment comment)`
    `void` | `deleteComment(long taskId, long commentId)`
    `List<org.kie.api.task.model.Comment>` | `getAllCommentsByTaskId(long taskId)`
    `org.kie.api.task.model.Comment` | `getCommentById(long commentId)`

- - ### Method Detail

    - #### addComment

          long addComment(long taskId,
                          org.kie.api.task.model.Comment comment)

    - #### deleteComment

          void deleteComment(long taskId,
                             long commentId)

    - #### getAllCommentsByTaskId

          List<org.kie.api.task.model.Comment> getAllCommentsByTaskId(long taskId)

    - #### getCommentById

          org.kie.api.task.model.Comment getCommentById(long commentId)

Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.