org.jbpm.api.model
Interface Comment

All Superinterfaces:
Discussable

public interface Comment
extends Discussable

a free text comment that can be made to an Execution or a task. This class also supports threaded discussions with the parent-child relation.

Author:
Tom Baeyens

Method Summary
 java.util.List<Comment> getComments()
          threaded replies to this comment
 long getDbid()
          the meaningless database primary key
 java.lang.String getMessage()
          the actual message.
 java.util.Date getTime()
          time that specifies when the comment was made
 java.lang.String getUserId()
          the id of the user that made this comment.
 
Methods inherited from interface org.jbpm.api.model.Discussable
createComment, removeComment
 

Method Detail

getDbid

long getDbid()
the meaningless database primary key


getUserId

java.lang.String getUserId()
the id of the user that made this comment. The term actorId is an abstract reference to an entity in an external identity component.


getMessage

java.lang.String getMessage()
the actual message. Both plain text as well as HTML can be stored as the message.


getTime

java.util.Date getTime()
time that specifies when the comment was made


getComments

java.util.List<Comment> getComments()
threaded replies to this comment

Specified by:
getComments in interface Discussable


Copyright © 2009 JBoss, a division of Red Hat. All Rights Reserved.