Class PostClient


  • public class PostClient
    extends BaseClient
    Posts client.
    Author:
    Costantino Perciante at ISTI-CNR (costantino.perciante@isti.cnr.it), Ahmed Ibrahim at ISTI-CNR (ahmed.ibrahim@isti.cnr.it)
    • Method Detail

      • getUserPostsSinceDate

        public List<org.gcube.portal.databook.shared.Post> getUserPostsSinceDate​(long timeInMillis)
        Get posts since date
        Returns:
      • getAllUserPosts

        public List<org.gcube.portal.databook.shared.Post> getAllUserPosts()
        Get all posts
        Returns:
      • getUserPostsQuantity

        public List<org.gcube.portal.databook.shared.Post> getUserPostsQuantity​(int quantity)
        Get posts quantity
        Returns:
      • writeUserPost

        public org.gcube.portal.databook.shared.Post writeUserPost​(org.gcube.social_networking.socialnetworking.model.beans.PostInputBean toWrite)
        Write post
        Returns:
      • getAllApplicationPosts

        public List<org.gcube.portal.databook.shared.Post> getAllApplicationPosts()
        Get posts application (token set must belong to the application)
        Returns:
      • writeApplicationPost

        public org.gcube.portal.databook.shared.Post writeApplicationPost​(org.gcube.social_networking.socialnetworking.model.beans.PostInputBean toWrite)
        Write post application (token set must belong to the application)
        Returns:
      • getPostsVRE

        public List<org.gcube.portal.databook.shared.Feed> getPostsVRE()
        Deprecated.
        use List getVREPosts() Get posts vre
        Returns:
      • getVREPosts

        public List<org.gcube.portal.databook.shared.Post> getVREPosts()
        Get posts vre
        Returns:
      • getUserLikedPost

        public List<org.gcube.portal.databook.shared.Post> getUserLikedPost()
        Get liked posts
        Returns:
      • getUserLikedPostIds

        public List<String> getUserLikedPostIds()
        Get liked posts ids
        Returns: