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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetContentId()ContentTypegetContentType()com.atlassian.fugue.Maybe<String>getOriginatingUserKey()Optional<com.atlassian.sal.api.user.UserKey>getOriginatorUserKey()
-
-
-
Method Detail
-
getContentId
public long getContentId()
- Specified by:
getContentIdin interfaceLikePayload- Returns:
- identifies a
ContentEntityObjectwithin Confluence
-
getContentType
public ContentType getContentType()
- Specified by:
getContentTypein interfaceLikePayload- Returns:
- the content type of the contentEntityObject. Cannot be null
-
getOriginatingUserKey
public com.atlassian.fugue.Maybe<String> getOriginatingUserKey()
- Specified by:
getOriginatingUserKeyin interfacecom.atlassian.confluence.notifications.NotificationPayload
-
getOriginatorUserKey
public Optional<com.atlassian.sal.api.user.UserKey> getOriginatorUserKey()
- Specified by:
getOriginatorUserKeyin interfacecom.atlassian.confluence.notifications.NotificationPayload
-
-