Example #1
0
 @Transactional
 public List<Like> getLikes(Post post) {
   return posts.getLikes(post);
 }
Example #2
0
 @Transactional
 public void removePost(Post post) {
   posts.removePost(post);
 }
Example #3
0
 @Transactional
 public Post getPost(int id) {
   return posts.getPost(id);
 }
Example #4
0
 @Transactional
 public void updatePost(Post post) {
   posts.updatePost(post);
 }
Example #5
0
 @Transactional
 public List<Post> posts() {
   return posts.posts();
 }
Example #6
0
 @Transactional
 public void addPost(Post post) {
   posts.addPost(post);
 }