Esempio n. 1
0
  public FeedLike removeLike(FeedLike like) {
    getLikes().remove(like);
    like.setFeed(null);

    return like;
  }
Esempio n. 2
0
  public FeedLike addLike(FeedLike like) {
    getLikes().add(like);
    like.setFeed(this);

    return like;
  }