Package com.atlassian.confluence.it.rpc
Class LikesRpc
java.lang.Object
com.atlassian.confluence.it.rpc.LikesRpc
Provides Like-plugin RPC calls.
- Since:
- 4.2
-
Method Summary
Modifier and TypeMethodDescriptiongetLikes
(ContentEntity content, User user) gets the likes on the piece of contentvoid
like
(ContentEntity content, User user) Have the specified user like the specified content.void
unlike
(ContentEntity content, User user) Have the specified user UNlike the specified content.
-
Method Details
-
like
Have the specified user like the specified content. -
unlike
Have the specified user UNlike the specified content. -
getLikes
gets the likes on the piece of content- Parameters:
content
- - the content to get the likes foruser
- - the user for an auth context- Returns:
- Throws:
Exception
-