Interface NewsService
-
- All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService
- All Known Implementing Classes:
NewsServiceImpl
@RemoteServiceRelativePath("newsServlet") public interface NewsService extends com.google.gwt.user.client.rpc.RemoteServiceThe client side stub for the RPC service.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OperationResultcomment(String feedid, String text, HashSet<MentionedDTO> mentionedUsers, String feedOwnerId, boolean isAppFeed)booleandeleteComment(String commentid, String feedid)booleandeletePost(String postid)OperationResulteditComment(String text, org.gcube.portal.databook.shared.Comment toEdit, HashSet<MentionedDTO> mentionedUsers)ArrayList<org.gcube.portal.databook.shared.Comment>getAllCommentsByPost(String feedid)ArrayList<org.gcube.portal.databook.shared.Like>getAllLikesByPost(String postid)ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getAllUpdateUserFeeds(int feedsNoPerCategory)MorePostsBeangetMorePosts(int from, int quantity)ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getOnlyConnectionsUserPosts()ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getOnlyLikedPosts()ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getOnlyMyUserPosts()ArrayList<org.gcube.portlets.widgets.pickitem.shared.ItemBean>getOrganizationUsers()ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getPostsByHashtag(String hashtag)ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getPostsByQuery(String query, int from, int quantity)ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>getPostsRelatedToUserStatistics(org.gcube.portal.databook.shared.ShowUserStatisticAction action, int from, int quantity)org.gcube.portal.databook.shared.EnhancedFeedgetSinglePost(String postKey)UserSettingsgetUserSettings()booleanlike(String postid, String postText, String postOwnerId)booleanunlike(String postid, String postText, String postOwnerId)
-
-
-
Method Detail
-
getAllUpdateUserFeeds
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getAllUpdateUserFeeds(int feedsNoPerCategory)
-
getOnlyConnectionsUserPosts
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getOnlyConnectionsUserPosts()
-
getOnlyMyUserPosts
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getOnlyMyUserPosts()
-
getOnlyLikedPosts
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getOnlyLikedPosts()
-
getPostsByHashtag
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getPostsByHashtag(String hashtag)
-
getPostsByQuery
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getPostsByQuery(String query, int from, int quantity)
-
getPostsRelatedToUserStatistics
ArrayList<org.gcube.portal.databook.shared.EnhancedFeed> getPostsRelatedToUserStatistics(org.gcube.portal.databook.shared.ShowUserStatisticAction action, int from, int quantity)
-
getMorePosts
MorePostsBean getMorePosts(int from, int quantity)
-
deletePost
boolean deletePost(String postid)
-
comment
OperationResult comment(String feedid, String text, HashSet<MentionedDTO> mentionedUsers, String feedOwnerId, boolean isAppFeed)
-
editComment
OperationResult editComment(String text, org.gcube.portal.databook.shared.Comment toEdit, HashSet<MentionedDTO> mentionedUsers)
-
getAllLikesByPost
ArrayList<org.gcube.portal.databook.shared.Like> getAllLikesByPost(String postid)
-
getAllCommentsByPost
ArrayList<org.gcube.portal.databook.shared.Comment> getAllCommentsByPost(String feedid)
-
getUserSettings
UserSettings getUserSettings()
-
getSinglePost
org.gcube.portal.databook.shared.EnhancedFeed getSinglePost(String postKey)
-
getOrganizationUsers
ArrayList<org.gcube.portlets.widgets.pickitem.shared.ItemBean> getOrganizationUsers()
-
-