org.jbpm.casemgmt.api.model.instance

## Interface CommentInstance

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    CommentInstanceImpl

      public interface CommentInstance
      extends Serializable

  Represents single case comment instance that can be attached to a case at any time by case participants

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAuthor()` Author of the comment
    `String` | `getComment()` Actual comment test
    `Date` | `getCreatedAt()` Exact date at which comment was added.
    `String` | `getId()` Returns unique id assigned to this comment
    `List<String>` | `getRestrictedTo()` List of case roles given comment is restricted to

- - ### Method Detail

    - #### getId

          String getId()

      Returns unique id assigned to this comment
      Returns:
        id of the comment

    - #### getCreatedAt

          Date getCreatedAt()

      Exact date at which comment was added.
      Returns:
        created at date

    - #### getAuthor

          String getAuthor()

      Author of the comment
      Returns:
        id of the author

    - #### getComment

          String getComment()

      Actual comment test
      Returns:
        the comment

    - #### getRestrictedTo

          List<String> getRestrictedTo()

      List of case roles given comment is restricted to
      Returns:
        restrictions

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