source: Git/Sources/src/main/java/com/wediscussmovies/project/service/ReplyService.java

main
Last change on this file was 980eeda, checked in by Test <matonikolov77@…>, 2 years ago

Restructuring project

  • Property mode set to 100644
File size: 727 bytes
Line 
1package com.wediscussmovies.project.service;
2
3import com.wediscussmovies.project.model.Discussion;
4import com.wediscussmovies.project.model.Reply;
5import com.wediscussmovies.project.model.User;
6import com.wediscussmovies.project.model.primarykeys.ReplyPK;
7
8import java.util.List;
9
10public interface ReplyService {
11 Reply edit(Integer replyId, Integer discussionId, String text);
12 void delete(Integer discussionId,Integer replyId);
13 Reply findById(Integer discussionId, Integer replyId);
14 void save(Integer discussionId, String text, User user);
15 void likeReply(Integer replyId,Integer userId);
16 void unlikeReply(Integer replyId,Integer userId);
17 List<Reply> findAllByDiscussion(Discussion discussion);
18
19
20
21}
Note: See TracBrowser for help on using the repository browser.