Class SimpleLikePayload

java.lang.Object
com.atlassian.confluence.plugins.like.notifications.SimpleLikePayload
All Implemented Interfaces:
com.atlassian.confluence.notifications.NotificationPayload, LikePayload

public class SimpleLikePayload extends Object implements LikePayload
  • Method Details

    • getContentId

      public long getContentId()
      Specified by:
      getContentId in interface LikePayload
      Returns:
      identifies a ContentEntityObject within Confluence
    • getContentType

      public ContentType getContentType()
      Specified by:
      getContentType in interface LikePayload
      Returns:
      the content type of the contentEntityObject. Cannot be null
    • getNotificationKey

      public Optional<String> getNotificationKey()
      Specified by:
      getNotificationKey in interface com.atlassian.confluence.notifications.NotificationPayload
    • getOriginatorUserKey

      public Optional<com.atlassian.sal.api.user.UserKey> getOriginatorUserKey()
      Specified by:
      getOriginatorUserKey in interface com.atlassian.confluence.notifications.NotificationPayload