| Package | Description |
|---|---|
| org.gcube.portal.databook.server | |
| org.gcube.portal.databook.shared |
| Modifier and Type | Method and Description |
|---|---|
Post |
DatabookStore.readPost(String postid)
read a feed from a given id
|
Post |
DBCassandraAstyanaxImpl.readPost(String postid)
read a feed from a given id
|
| Modifier and Type | Method and Description |
|---|---|
List<Post> |
DatabookStore.getAllLikedPostsByUser(String userid,
int limit) |
List<Post> |
DBCassandraAstyanaxImpl.getAllLikedPostsByUser(String userid,
int limit) |
List<Post> |
DatabookStore.getAllPortalPrivacyLevelPosts()
return all the feeds whose Level is PORTAL
|
List<Post> |
DBCassandraAstyanaxImpl.getAllPortalPrivacyLevelPosts() |
List<Post> |
DatabookStore.getAllPostsByApp(String appid) |
List<Post> |
DBCassandraAstyanaxImpl.getAllPostsByApp(String appid) |
List<Post> |
DatabookStore.getAllPostsByUser(String userid) |
List<Post> |
DBCassandraAstyanaxImpl.getAllPostsByUser(String userid) |
List<Post> |
DatabookStore.getAllPostsByVRE(String vreid) |
List<Post> |
DBCassandraAstyanaxImpl.getAllPostsByVRE(String vreid) |
List<Post> |
DatabookStore.getRecentCommentedPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DBCassandraAstyanaxImpl.getRecentCommentedPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DatabookStore.getRecentLikedPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DBCassandraAstyanaxImpl.getRecentLikedPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DatabookStore.getRecentPostsByUser(String userid,
int quantity)
return the most recent feeds for this user up to quantity param
|
List<Post> |
DBCassandraAstyanaxImpl.getRecentPostsByUser(String userid,
int quantity) |
List<Post> |
DatabookStore.getRecentPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DBCassandraAstyanaxImpl.getRecentPostsByUserAndDate(String userid,
long timeInMillis) |
List<Post> |
DatabookStore.getRecentPostsByVRE(String vreid,
int quantity)
return the most recent posts for this vre up to quantity param
|
List<Post> |
DBCassandraAstyanaxImpl.getRecentPostsByVRE(String vreid,
int quantity) |
List<Post> |
DatabookStore.getVREPostsByHashtag(String vreid,
String hashtag) |
List<Post> |
DBCassandraAstyanaxImpl.getVREPostsByHashtag(String vreid,
String hashtag) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DatabookStore.saveAppPost(Post feed)
save a Post instance in the store
|
boolean |
DBCassandraAstyanaxImpl.saveAppPost(Post post)
save a Post instance in the store
|
boolean |
DatabookStore.saveAppPost(Post feed,
List<Attachment> attachments)
Save a Post instance in the store
Use this if your app needs to attach more than one file to the post
|
boolean |
DBCassandraAstyanaxImpl.saveAppPost(Post post,
List<Attachment> attachments)
Save a Post instance in the store
Use this if your app needs to attach more than one file to the post
|
boolean |
DatabookStore.saveUserPost(Post feed)
save a Post instance in the store
|
boolean |
DBCassandraAstyanaxImpl.saveUserPost(Post post)
save a Post instance in the store
|
boolean |
DatabookStore.saveUserPost(Post post,
List<Attachment> attachments)
Save a Post instance in the store having more than one attachment
Use this if you need to attach more than one file to the post
|
boolean |
DBCassandraAstyanaxImpl.saveUserPost(Post post,
List<Attachment> attachments)
Save a Post instance in the store having more than one attachment
Use this if you need to attach more than one file to the post
|
| Modifier and Type | Method and Description |
|---|---|
ArrayList<Post> |
RangePosts.getPosts() |
| Modifier and Type | Method and Description |
|---|---|
int |
Post.compareTo(Post toCompare) |
| Modifier and Type | Method and Description |
|---|---|
void |
RangePosts.setPosts(ArrayList<Post> posts) |
| Constructor and Description |
|---|
RangePosts(int lastReturnedPostTimelineIndex,
ArrayList<Post> feeds) |
Copyright © 2022. All rights reserved.