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