com.atlassian.jira.issue.comments
Interface Comment

All Known Subinterfaces:
MutableComment
All Known Implementing Classes:
CommentImpl, MockComment

@PublicApi
public interface Comment


Method Summary
 String getAuthor()
          Deprecated. Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.
 ApplicationUser getAuthorApplicationUser()
          Returns the user that created the comment
 String getAuthorFullName()
           
 String getAuthorKey()
          Deprecated. Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.
 com.atlassian.crowd.embedded.api.User getAuthorUser()
          Deprecated. Use getAuthorApplicationUser() instead. Since v6.0.
 String getBody()
           
 Date getCreated()
           
 String getGroupLevel()
           
 Long getId()
           
 Issue getIssue()
           
 ProjectRole getRoleLevel()
           
 Long getRoleLevelId()
           
 String getUpdateAuthor()
          Deprecated. Use getUpdateAuthorApplicationUser() instead. Since v6.0.
 ApplicationUser getUpdateAuthorApplicationUser()
          Get the user that performed the update
 String getUpdateAuthorFullName()
           
 com.atlassian.crowd.embedded.api.User getUpdateAuthorUser()
          Deprecated. Use getUpdateAuthorApplicationUser() instead. Since v6.0. Get the user that performed the update
 Date getUpdated()
           
 

Method Detail

getAuthor

String getAuthor()
Deprecated. Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.

Returns the key for the user that created the comment

Returns:
the key for the user that created the comment

getAuthorKey

String getAuthorKey()
Deprecated. Use getAuthorKey() or getAuthorApplicationUser() instead. Since v6.0.

Returns the key for the user that created the comment

Returns:
the key for the user that created the comment

getAuthorUser

com.atlassian.crowd.embedded.api.User getAuthorUser()
Deprecated. Use getAuthorApplicationUser() instead. Since v6.0.

Returns the User that created the comment

Returns:
the User that created the comment.

getAuthorApplicationUser

ApplicationUser getAuthorApplicationUser()
Returns the user that created the comment

Returns:
the user that created the comment

getAuthorFullName

String getAuthorFullName()

getBody

String getBody()

getCreated

Date getCreated()

getGroupLevel

String getGroupLevel()

getId

Long getId()

getRoleLevelId

Long getRoleLevelId()

getRoleLevel

ProjectRole getRoleLevel()

getIssue

Issue getIssue()

getUpdateAuthor

String getUpdateAuthor()
Deprecated. Use getUpdateAuthorApplicationUser() instead. Since v6.0.

Returns:
userkey of the update author

getUpdateAuthorUser

com.atlassian.crowd.embedded.api.User getUpdateAuthorUser()
Deprecated. Use getUpdateAuthorApplicationUser() instead. Since v6.0. Get the user that performed the update

Returns:
a User object

getUpdateAuthorApplicationUser

ApplicationUser getUpdateAuthorApplicationUser()
Get the user that performed the update

Returns:
an object

getUpdateAuthorFullName

String getUpdateAuthorFullName()

getUpdated

Date getUpdated()


Copyright © 2002-2014 Atlassian. All Rights Reserved.