Class LikeNotification

java.lang.Object
com.atlassian.confluence.plugins.like.notifications.LikeNotification

public final class LikeNotification extends Object
Represents a like notification.
  • 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 recipient
      liker - (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 liked
      role -
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getContent

      public ContentEntityObject getContent()
    • getRecipient

      public ConfluenceUser getRecipient()
    • getLiker

      public com.atlassian.user.User getLiker()
    • getAuthor

      public com.atlassian.user.User getAuthor()
    • getRole

      public com.atlassian.plugin.notifications.spi.UserRole getRole()