Ignore:
Timestamp:
02/09/22 15:46:58 (3 years ago)
Author:
Test <matonikolov77@…>
Branches:
main
Children:
8f1b7e9
Parents:
967b414
Message:

Refactored reply repository and discussion repository

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/com/wediscussmovies/project/service/DiscussionService.java

    r967b414 r6f91f99  
    33import com.wediscussmovies.project.model.Discussion;
    44import com.wediscussmovies.project.model.User;
    5 import com.wediscussmovies.project.querymodels.DiscussionLikes;
     5import com.wediscussmovies.project.querymodels.DiscussionLikesQM;
    66
    77import java.util.List;
     
    2020    List<Discussion> findLikedDiscussionsByUser(User user);
    2121
    22     DiscussionLikes findLikesForDiscussionWithId(int discussionId);
     22    DiscussionLikesQM findLikesForDiscussionWithId(Integer discussionId);
     23
     24    void findLikesForAllDiscussions(List<Discussion> discussions);
    2325
    2426}
Note: See TracChangeset for help on using the changeset viewer.