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 | |
---|
1 | package com.wediscussmovies.project.service;
|
---|
2 |
|
---|
3 | import com.wediscussmovies.project.model.Discussion;
|
---|
4 | import com.wediscussmovies.project.model.Reply;
|
---|
5 | import com.wediscussmovies.project.model.User;
|
---|
6 | import com.wediscussmovies.project.model.primarykeys.ReplyPK;
|
---|
7 |
|
---|
8 | import java.util.List;
|
---|
9 |
|
---|
10 | public 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.