Class LikeNotification
java.lang.Object
com.atlassian.confluence.plugins.like.notifications.LikeNotification
Represents a like notification.
-
Constructor Summary
ConstructorsConstructorDescriptionLikeNotification
(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 -
Method Summary
-
Constructor Details
-
LikeNotification
public 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- Parameters:
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
-
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getContent
-
getRecipient
-
getLiker
public com.atlassian.user.User getLiker() -
getAuthor
public com.atlassian.user.User getAuthor() -
getRole
public com.atlassian.plugin.notifications.spi.UserRole getRole()
-