Uses of Class
com.jms.socialmedia.model.Post
-
Packages that use Post Package Description com.jms.socialmedia.cache Different Caching Implementationscom.jms.socialmedia.cache.codec com.jms.socialmedia.dataservice com.jms.socialmedia.handlers Request Handlerscom.jms.socialmedia.model com.jms.socialmedia.mybatis com.jms.socialmedia.utils -
-
Uses of Post in com.jms.socialmedia.cache
Methods in com.jms.socialmedia.cache that return Post Modifier and Type Method Description abstract Post
AbstractCachingService. getPostFromCache(int postId)
Retrieves aPost
from cache if presentPost
AbstractCodecCachingService. getPostFromCache(int postId)
Post
CachingServiceWithMetrics. getPostFromCache(int postId)
Post
GuavaCachingService. getPostFromCache(int postId)
Post
JavaMapCachingService. getPostFromCache(int postId)
Post
AbstractCachingService. getPostFromCacheOrSupplier(int postId, Supplier<Post> supplier)
Methods in com.jms.socialmedia.cache with parameters of type Post Modifier and Type Method Description abstract void
AbstractCachingService. putPostIntoCache(Post post)
void
AbstractCodecCachingService. putPostIntoCache(Post post)
void
CachingServiceWithMetrics. putPostIntoCache(Post post)
void
GuavaCachingService. putPostIntoCache(Post post)
void
JavaMapCachingService. putPostIntoCache(Post post)
Method parameters in com.jms.socialmedia.cache with type arguments of type Post Modifier and Type Method Description Post
AbstractCachingService. getPostFromCacheOrSupplier(int postId, Supplier<Post> supplier)
Constructor parameters in com.jms.socialmedia.cache with type arguments of type Post Constructor Description JavaMapCachingService(Map<Integer,Post> postsById, Map<Integer,Comment> commentsById, Map<Integer,Collection<Comment>> commentsByPostId, Map<String,User> userSessionsByKey)
-
Uses of Post in com.jms.socialmedia.cache.codec
Methods in com.jms.socialmedia.cache.codec that return Post Modifier and Type Method Description Post
CachingCodec. decodePost(T encodedPost)
Post
GsonCachingCodec. decodePost(String encodedPost)
Methods in com.jms.socialmedia.cache.codec with parameters of type Post Modifier and Type Method Description T
CachingCodec. encodePost(Post post)
String
GsonCachingCodec. encodePost(Post post)
-
Uses of Post in com.jms.socialmedia.dataservice
Methods in com.jms.socialmedia.dataservice that return Post Modifier and Type Method Description Post
CachingDataService. getPost(int postId)
Post
DataService. getPost(int postId)
Post
DataServiceWithMetrics. getPost(int postId)
Post
MockDataService. getPost(int postId)
Post
MybatisDataService. getPost(int postId)
Methods in com.jms.socialmedia.dataservice that return types with arguments of type Post Modifier and Type Method Description Collection<Post>
CachingDataService. getCommentedPostsByUserId(int userId)
Collection<Post>
DataService. getCommentedPostsByUserId(int userId)
Collection<Post>
DataServiceWithMetrics. getCommentedPostsByUserId(int userId)
Collection<Post>
MockDataService. getCommentedPostsByUserId(int userId)
Collection<Post>
MybatisDataService. getCommentedPostsByUserId(int userId)
Collection<Post>
CachingDataService. getLikedPostsByUserId(int userId)
Collection<Post>
DataService. getLikedPostsByUserId(int userId)
Collection<Post>
DataServiceWithMetrics. getLikedPostsByUserId(int userId)
Collection<Post>
MockDataService. getLikedPostsByUserId(int userId)
Collection<Post>
MybatisDataService. getLikedPostsByUserId(int userId)
Collection<Post>
CachingDataService. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
default Collection<Post>
DataService. getPosts(Integer userId)
default Collection<Post>
DataService. getPosts(Integer userId, Integer sincePostId)
Collection<Post>
DataService. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Collection<Post>
DataServiceWithMetrics. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Collection<Post>
MockDataService. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Collection<Post>
MybatisDataService. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Methods in com.jms.socialmedia.dataservice with parameters of type Post Modifier and Type Method Description boolean
CachingDataService. addPost(Post post)
boolean
DataService. addPost(Post post)
boolean
DataServiceWithMetrics. addPost(Post post)
boolean
MockDataService. addPost(Post post)
boolean
MybatisDataService. addPost(Post post)
-
Uses of Post in com.jms.socialmedia.handlers
Methods in com.jms.socialmedia.handlers that return Post Modifier and Type Method Description Post
PostRequestHandler. handleGetPost(spark.Request request, spark.Response response)
GET /api/post/:idMethods in com.jms.socialmedia.handlers that return types with arguments of type Post Modifier and Type Method Description Collection<Post>
PostRequestHandler. handleGetCommentedPosts(spark.Request request, spark.Response response)
GET /api/user/:userId/commentedpostsCollection<Post>
PostRequestHandler. handleGetFeedPosts(spark.Request request, spark.Response response)
GET /api/user/:userId/feedCollection<Post>
LikeRequestHandler. handleGetLikedPosts(spark.Request request, spark.Response response)
Collection<Post>
PostRequestHandler. handleGetPosts(spark.Request request, spark.Response response)
GET /api/postsCollection<Post>
PostRequestHandler. handleGetPostsByUserId(spark.Request request, spark.Response response)
GET /api/user/:userId/posts -
Uses of Post in com.jms.socialmedia.model
Methods in com.jms.socialmedia.model with parameters of type Post Modifier and Type Method Description int
Post. compareTo(Post other)
-
Uses of Post in com.jms.socialmedia.mybatis
Methods in com.jms.socialmedia.mybatis that return Post Modifier and Type Method Description Post
PostsMapper. getPost(int postId)
Post
SqlSessionPostsMapper. getPost(int postId)
Methods in com.jms.socialmedia.mybatis that return types with arguments of type Post Modifier and Type Method Description Collection<Post>
PostsMapper. getCommentedPostsByUserId(int userId)
Collection<Post>
SqlSessionPostsMapper. getCommentedPostsByUserId(int userId)
Collection<Post>
PostsMapper. getLikedPostsByUserId(int userId)
Collection<Post>
SqlSessionPostsMapper. getLikedPostsByUserId(int userId)
Collection<Post>
PostsMapper. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Collection<Post>
SqlSessionPostsMapper. getPosts(Collection<Integer> userIds, String username, String tag, String onDate, String beforeDate, String afterDate, Integer sincePostId, String sortBy, boolean sortOrderAsc)
Methods in com.jms.socialmedia.mybatis with parameters of type Post Modifier and Type Method Description int
PostsMapper. addPost(Post post)
int
SqlSessionPostsMapper. addPost(Post post)
-
Uses of Post in com.jms.socialmedia.utils
Methods in com.jms.socialmedia.utils with parameters of type Post Modifier and Type Method Description static Collection<String>
TagsUtils. extractTagsFromPost(Post post)
-