public interface NewsServiceAsync
NewsService.| Modifier and Type | Method and Description |
|---|---|
void |
comment(String feedid,
String text,
HashSet<MentionedDTO> mentionedUsers,
String feedOwnerId,
boolean isAppFeed,
com.google.gwt.user.client.rpc.AsyncCallback<OperationResult> callback) |
void |
deleteComment(String commentid,
String feedid,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) |
void |
deletePost(String feedid,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) |
void |
editComment(org.gcube.portal.databook.shared.Comment toEdit,
com.google.gwt.user.client.rpc.AsyncCallback<OperationResult> callback) |
void |
getAllCommentsByPost(String postid,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.Comment>> callback) |
void |
getAllLikesByPost(String postid,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.Like>> callback) |
void |
getAllUpdateUserFeeds(int feedsNoPerCategory,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getMorePosts(int from,
int quantity,
com.google.gwt.user.client.rpc.AsyncCallback<MorePostsBean> callback) |
void |
getOnlyConnectionsUserPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getOnlyLikedPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getOnlyMyUserPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getOrganizationUsers(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portlets.widgets.pickitem.shared.ItemBean>> callback) |
void |
getPostsByHashtag(String hashtag,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getPostsByQuery(String query,
int from,
int quantity,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getPostsRelatedToUserStatistics(org.gcube.portal.databook.shared.ShowUserStatisticAction action,
int from,
int quantity,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback) |
void |
getSinglePost(String postKey,
com.google.gwt.user.client.rpc.AsyncCallback<org.gcube.portal.databook.shared.EnhancedFeed> callback) |
void |
getUserSettings(com.google.gwt.user.client.rpc.AsyncCallback<UserSettings> callback) |
void |
like(String postid,
String postText,
String postOwnerId,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) |
void |
unlike(String postid,
String postText,
String postOwnerId,
com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback) |
void getAllUpdateUserFeeds(int feedsNoPerCategory,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void getOnlyConnectionsUserPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void like(String postid, String postText, String postOwnerId, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void getAllLikesByPost(String postid, com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.Like>> callback)
void getOnlyMyUserPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void getUserSettings(com.google.gwt.user.client.rpc.AsyncCallback<UserSettings> callback)
void comment(String feedid, String text, HashSet<MentionedDTO> mentionedUsers, String feedOwnerId, boolean isAppFeed, com.google.gwt.user.client.rpc.AsyncCallback<OperationResult> callback)
void getAllCommentsByPost(String postid, com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.Comment>> callback)
void deleteComment(String commentid, String feedid, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void deletePost(String feedid, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void editComment(org.gcube.portal.databook.shared.Comment toEdit,
com.google.gwt.user.client.rpc.AsyncCallback<OperationResult> callback)
void getOnlyLikedPosts(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void getSinglePost(String postKey, com.google.gwt.user.client.rpc.AsyncCallback<org.gcube.portal.databook.shared.EnhancedFeed> callback)
void getMorePosts(int from,
int quantity,
com.google.gwt.user.client.rpc.AsyncCallback<MorePostsBean> callback)
void unlike(String postid, String postText, String postOwnerId, com.google.gwt.user.client.rpc.AsyncCallback<Boolean> callback)
void getOrganizationUsers(com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portlets.widgets.pickitem.shared.ItemBean>> callback)
void getPostsByHashtag(String hashtag, com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void getPostsByQuery(String query, int from, int quantity, com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
void getPostsRelatedToUserStatistics(org.gcube.portal.databook.shared.ShowUserStatisticAction action,
int from,
int quantity,
com.google.gwt.user.client.rpc.AsyncCallback<ArrayList<org.gcube.portal.databook.shared.EnhancedFeed>> callback)
Copyright © 2019. All Rights Reserved.