public final class LikeNotification extends Object
Constructor and Description |
---|
LikeNotification(ConfluenceUser recipient,
com.atlassian.user.User liker,
com.atlassian.user.User author,
ContentEntityObject contentEntity,
com.atlassian.plugin.notifications.spi.UserRole role)
Construct a like notification
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
com.atlassian.user.User |
getAuthor() |
ContentEntityObject |
getContent() |
com.atlassian.user.User |
getLiker() |
ConfluenceUser |
getRecipient() |
com.atlassian.plugin.notifications.spi.UserRole |
getRole() |
int |
hashCode() |
public LikeNotification(ConfluenceUser recipient, com.atlassian.user.User liker, com.atlassian.user.User author, ContentEntityObject contentEntity, com.atlassian.plugin.notifications.spi.UserRole role)
recipient
- (required) the recipientliker
- (required) the person who performed the "like"author
- the author (can be null in the case of an anonymous contribution)contentEntity
- the content entity being likedrole
- public ContentEntityObject getContent()
public ConfluenceUser getRecipient()
public com.atlassian.user.User getLiker()
public com.atlassian.user.User getAuthor()
public com.atlassian.plugin.notifications.spi.UserRole getRole()
Copyright © 2003–2018 Atlassian. All rights reserved.