com.atlassian.jira.issue.comments
Interface MutableComment

All Superinterfaces:
Comment
All Known Implementing Classes:
CommentImpl

public interface MutableComment
extends Comment

Represents a comment's in JIRA. After calling any 'setter' method, you will need to call CommentService.update(com.opensymphony.user.User, com.atlassian.jira.issue.comments.MutableComment, boolean, com.atlassian.jira.util.ErrorCollection) which does permission checking or CommentManager.update(com.atlassian.jira.issue.comments.Comment, boolean) which will just store the provided object, to persist the change to the database.


Method Summary
 void setAuthor(java.lang.String author)
           
 void setBody(java.lang.String body)
           
 void setCreated(java.util.Date created)
           
 void setGroupLevel(java.lang.String groupLevel)
           
 void setRoleLevelId(java.lang.Long roleLevelId)
           
 void setUpdateAuthor(java.lang.String updateAuthor)
           
 void setUpdated(java.util.Date updated)
           
 
Methods inherited from interface com.atlassian.jira.issue.comments.Comment
getAuthor, getAuthorFullName, getAuthorObject, getBody, getCreated, getGroupLevel, getId, getIssue, getRoleLevel, getRoleLevelId, getUpdateAuthor, getUpdateAuthorFullName, getUpdateAuthorObject, getUpdated
 

Method Detail

setAuthor

void setAuthor(java.lang.String author)

setBody

void setBody(java.lang.String body)

setCreated

void setCreated(java.util.Date created)

setGroupLevel

void setGroupLevel(java.lang.String groupLevel)

setRoleLevelId

void setRoleLevelId(java.lang.Long roleLevelId)

setUpdateAuthor

void setUpdateAuthor(java.lang.String updateAuthor)

setUpdated

void setUpdated(java.util.Date updated)


Copyright © 2002-2010 Atlassian. All Rights Reserved.