Class LikesRpc

java.lang.Object
com.atlassian.confluence.it.rpc.LikesRpc

public class LikesRpc extends Object
Provides Like-plugin RPC calls.
Since:
4.2
  • Method Details

    • like

      public void like(ContentEntity content, User user)
      Have the specified user like the specified content.
    • unlike

      public void unlike(ContentEntity content, User user)
      Have the specified user UNlike the specified content.
    • getLikes

      public List<Like> getLikes(ContentEntity content, User user) throws Exception
      gets the likes on the piece of content
      Parameters:
      content - - the content to get the likes for
      user - - the user for an auth context
      Returns:
      Throws:
      Exception