main
Last change
on this file since e0ef1b1 was e0ef1b1, checked in by Test <matonikolov77@…>, 2 years ago |
Added CRUD for movies,persons,discussion,replies,genres
Added ajaxcalls
|
-
Property mode
set to
100644
|
File size:
727 bytes
|
Rev | Line | |
---|
[6e7b472] | 1 | package com.wediscussmovies.project.service;
|
---|
| 2 |
|
---|
[e0ef1b1] | 3 | import com.wediscussmovies.project.model.Discussion;
|
---|
[2a5d6a3] | 4 | import com.wediscussmovies.project.model.Reply;
|
---|
[e0ef1b1] | 5 | import com.wediscussmovies.project.model.User;
|
---|
| 6 | import com.wediscussmovies.project.model.primarykeys.ReplyPK;
|
---|
[2a5d6a3] | 7 |
|
---|
[e0ef1b1] | 8 | import java.util.List;
|
---|
[2a5d6a3] | 9 |
|
---|
[6e7b472] | 10 | public interface ReplyService {
|
---|
[e0ef1b1] | 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 |
|
---|
[7fafead] | 20 |
|
---|
[6e7b472] | 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.