com.atlassian.confluence.plugins.like.notifications
Class LikeNotification

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

public final class LikeNotification
extends Object

Represents a like notification.


Constructor Summary
LikeNotification(com.atlassian.user.User recipient, com.atlassian.user.User liker, com.atlassian.user.User author, ContentEntityObject contentEntity)
          Construct a like notification
 
Method Summary
 boolean equals(Object o)
           
 com.atlassian.user.User getAuthor()
           
 ContentEntityObject getContent()
           
 com.atlassian.user.User getLiker()
           
 com.atlassian.user.User getRecipient()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LikeNotification

public LikeNotification(com.atlassian.user.User recipient,
                        com.atlassian.user.User liker,
                        com.atlassian.user.User author,
                        ContentEntityObject contentEntity)
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
Method Detail

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 com.atlassian.user.User getRecipient()

getLiker

public com.atlassian.user.User getLiker()

getAuthor

public com.atlassian.user.User getAuthor()


Copyright © 2003-2012 Atlassian. All Rights Reserved.