Package pro.taskana.task.api.models
Interface TaskComment
-
- All Known Implementing Classes:
TaskCommentImpl
public interface TaskCommentTaskComment-Interface to specify attributes of the TaskComment.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TaskCommentcopy()Duplicates this TaskComment without the id.InstantgetCreated()Returns the time when the TaskComment was created.StringgetCreator()Returns the id of the creator of the TaskComment.StringgetCreatorFullName()Returns the long name of the creator of the TaskComment.StringgetId()Returns the id of the TaskComment.InstantgetModified()Returns the time when the TaskComment was last modified.StringgetTaskId()Returns the id of the associated Task.StringgetTextField()Returns the content of the TaskComment.voidsetTextField(String textField)Sets the content of the TaskComment.
-
-
-
Method Detail
-
getId
String getId()
Returns the id of the TaskComment.- Returns:
- taskId
-
getTaskId
String getTaskId()
Returns the id of the associated Task.- Returns:
- taskId
-
getCreator
String getCreator()
Returns the id of the creator of the TaskComment.- Returns:
- creator
-
getCreatorFullName
String getCreatorFullName()
Returns the long name of the creator of the TaskComment.- Returns:
- the long name of the creator
-
getTextField
String getTextField()
Returns the content of the TaskComment.- Returns:
- textField
-
setTextField
void setTextField(String textField)
Sets the content of the TaskComment.- Parameters:
textField- the textField
-
getCreated
Instant getCreated()
Returns the time when the TaskComment was created.- Returns:
- the created Instant
-
getModified
Instant getModified()
Returns the time when the TaskComment was last modified.- Returns:
- the last modified Instant
-
copy
TaskComment copy()
Duplicates this TaskComment without the id.- Returns:
- a copy of this TaskComment
-
-