java.lang.Object
org.gcube.social_networking.social_networking_client_library.BaseClient
org.gcube.social_networking.social_networking_client_library.LibClient

public class LibClient extends BaseClient
  • Constructor Details

  • Method Details

    • addCommentLib

      public Boolean addCommentLib(org.gcube.portal.databook.shared.Comment comment)
    • readCommentByIdLib

      public org.gcube.portal.databook.shared.Comment readCommentByIdLib(String commentid)
    • getAllCommentsByPostIdLib

      public List<org.gcube.portal.databook.shared.Comment> getAllCommentsByPostIdLib(String postid)
    • getRecentCommentsByUserAndDateLib

      public List<org.gcube.portal.databook.shared.Comment> getRecentCommentsByUserAndDateLib(String userid, long timeInMillis)
    • editCommentLib

      public Boolean editCommentLib(org.gcube.portal.databook.shared.Comment comment)
    • deleteCommentLib

      public boolean deleteCommentLib(String commentid, String postid)
    • saveHashTagsLib

      public boolean saveHashTagsLib(String feedid, String vreid, List<String> hashtags)
    • deleteHashTagsLib

      public boolean deleteHashTagsLib(String feedid, String vreid, List<String> hashtags)
    • saveHashTagsCommentLib

      public boolean saveHashTagsCommentLib(String commentId, String vreid, List<String> hashtags)
    • deleteHashTagsCommentLib

      public boolean deleteHashTagsCommentLib(String commentId, String vreid, List<String> hashtags)
    • getVREHashtagsWithOccurrenceLib

      public Map<String,Integer> getVREHashtagsWithOccurrenceLib(String vreid)
    • getVREHashtagsWithOccurrenceFilteredByTimeLib

      public Map<String,Integer> getVREHashtagsWithOccurrenceFilteredByTimeLib(String vreid, long timestamp)
    • getVREPostsByHashtagLib

      public List<org.gcube.portal.databook.shared.Post> getVREPostsByHashtagLib(String vreid, String hashtag)
    • isExistingInviteLib

      public String isExistingInviteLib(String vreid, String email)
    • saveInviteLib

      public org.gcube.portal.databook.shared.InviteOperationResult saveInviteLib(org.gcube.portal.databook.shared.Invite invite)
    • readInviteLib

      public org.gcube.portal.databook.shared.Invite readInviteLib(String inviteid)
    • setInviteStatusLib

      public boolean setInviteStatusLib(String vreid, String email, org.gcube.portal.databook.shared.InviteStatus status)
    • getInvitedEmailsByVRELib

      public List<org.gcube.portal.databook.shared.Invite> getInvitedEmailsByVRELib(String vreid, org.gcube.portal.databook.shared.InviteStatus... status)
    • likeLib

      public boolean likeLib(org.gcube.portal.databook.shared.Like like)
    • unlikeLib

      public boolean unlikeLib(String userid, String likeid, String feedid)
    • getAllLikedPostIdsByUserLib

      public List<String> getAllLikedPostIdsByUserLib(String userid)
    • getAllLikesByPostLib

      public List<org.gcube.portal.databook.shared.Like> getAllLikesByPostLib(String postid)
    • saveNotificationLib

      public boolean saveNotificationLib(org.gcube.portal.databook.shared.Notification n)
    • readNotificationLib

      public org.gcube.portal.databook.shared.Notification readNotificationLib(String notificationid)
    • setNotificationReadLib

      public boolean setNotificationReadLib(String notificationid)
    • getAllNotificationByUserLib

      public List<org.gcube.portal.databook.shared.Notification> getAllNotificationByUserLib(String userid, int limit)
    • getUnreadNotificationsByUserLib

      public List<org.gcube.portal.databook.shared.Notification> getUnreadNotificationsByUserLib(String userid)
    • getRangeNotificationsByUserLib

      public List<org.gcube.portal.databook.shared.Notification> getRangeNotificationsByUserLib(String userid, int from, int quantity)
    • setAllNotificationReadByUserLib

      public boolean setAllNotificationReadByUserLib(String userid)
    • checkUnreadNotificationsLib

      public boolean checkUnreadNotificationsLib(String userid)
    • checkUnreadMessagesNotificationsLib

      public boolean checkUnreadMessagesNotificationsLib(String userid)
    • getUserNotificationChannelsLib

      public List<org.gcube.portal.databook.shared.NotificationChannelType> getUserNotificationChannelsLib(String userid, org.gcube.portal.databook.shared.NotificationType notificationType)
    • setUserNotificationPreferencesLib

      public boolean setUserNotificationPreferencesLib(String userid, Map<org.gcube.portal.databook.shared.NotificationType,org.gcube.portal.databook.shared.NotificationChannelType[]> enabledChannels)
    • getUserNotificationPreferencesLib

      public Map<org.gcube.portal.databook.shared.NotificationType,org.gcube.portal.databook.shared.NotificationChannelType[]> getUserNotificationPreferencesLib(String userid)
    • saveUserPostLib

      public boolean saveUserPostLib(org.gcube.portal.databook.shared.Post post)
    • saveAttachmentEntryLib

      public boolean saveAttachmentEntryLib(String postkey, org.gcube.portal.databook.shared.Attachment attachment)
    • saveUserPostLib

      public boolean saveUserPostLib(org.gcube.portal.databook.shared.Post post, List<org.gcube.portal.databook.shared.Attachment> attachments)
    • saveAppPostLib

      public boolean saveAppPostLib(org.gcube.portal.databook.shared.Post post, List<org.gcube.portal.databook.shared.Attachment> attachments)
    • saveAppPostLib

      public boolean saveAppPostLib(org.gcube.portal.databook.shared.Post post)
    • savePostToVRETimelineLib

      public boolean savePostToVRETimelineLib(String postkey, String vreid)
    • readPostLib

      public org.gcube.portal.databook.shared.Post readPostLib(String postid)
    • getRecentPostsByUserAndDateLib

      public List<org.gcube.portal.databook.shared.Post> getRecentPostsByUserAndDateLib(String userid, long timeinmillis)
    • deletePostLib

      public boolean deletePostLib(String postid)
    • getAllPostsByUserLib

      public List<org.gcube.portal.databook.shared.Post> getAllPostsByUserLib(String userid)
    • getAllPostsByAppLib

      public List<org.gcube.portal.databook.shared.Post> getAllPostsByAppLib(String appid)
    • getRecentCommentedPostsByUserAndDateLib

      public List<org.gcube.portal.databook.shared.Post> getRecentCommentedPostsByUserAndDateLib(String userid, long timeInMillis)
    • getAllPortalPrivacyLevelPostsLib

      public List<org.gcube.portal.databook.shared.Post> getAllPortalPrivacyLevelPostsLib()
    • getRecentPostsByUserLib

      public List<org.gcube.portal.databook.shared.Post> getRecentPostsByUserLib(String userid, int quantity)
    • getAllPostsByVRELib

      public List<org.gcube.portal.databook.shared.Post> getAllPostsByVRELib(String vreid)
    • getRecentPostsByVRELib

      public List<org.gcube.portal.databook.shared.Post> getRecentPostsByVRELib(String vreid, int quantity)
    • getRecentPostsByVREAndRangeLib

      public org.gcube.portal.databook.shared.RangePosts getRecentPostsByVREAndRangeLib(String vreid, int from, int quantity)
    • getAttachmentsByFeedIdLib

      public List<org.gcube.portal.databook.shared.Attachment> getAttachmentsByFeedIdLib(String feedId)
    • getAllVREIdsLib

      public List<String> getAllVREIdsLib()