com.atlassian.jira.issue.comments
Interface MutableComment

All Superinterfaces:
Comment
All Known Implementing Classes:
CommentImpl

@PublicApi
public interface MutableComment
extends Comment

Represents a comment's in JIRA. After calling any 'setter' method, you will need to call CommentService.update(com.atlassian.crowd.embedded.api.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(String author)
           
 void setBody(String body)
           
 void setCreated(Date created)
           
 void setGroupLevel(String groupLevel)
           
 void setRoleLevelId(Long roleLevelId)
           
 void setUpdateAuthor(String updateAuthor)
           
 void setUpdated(Date updated)
           
 
Methods inherited from interface com.atlassian.jira.issue.comments.Comment
getAuthor, getAuthorFullName, getAuthorUser, getBody, getCreated, getGroupLevel, getId, getIssue, getRoleLevel, getRoleLevelId, getUpdateAuthor, getUpdateAuthorFullName, getUpdateAuthorUser, getUpdated
 

Method Detail

setAuthor

void setAuthor(String author)

setBody

void setBody(String body)

setCreated

void setCreated(Date created)

setGroupLevel

void setGroupLevel(String groupLevel)

setRoleLevelId

void setRoleLevelId(Long roleLevelId)

setUpdateAuthor

void setUpdateAuthor(String updateAuthor)

setUpdated

void setUpdated(Date updated)


Copyright © 2002-2012 Atlassian. All Rights Reserved.