main
Last change
on this file since 3ded84d was 3ded84d, checked in by Test <matonikolov77@…>, 2 years ago |
Model-database resolved bugs for mapping
|
-
Property mode
set to
100644
|
File size:
349 bytes
|
Rev | Line | |
---|
[6e7b472] | 1 | package com.wediscussmovies.project.service;
|
---|
| 2 |
|
---|
[3ded84d] | 3 | import com.wediscussmovies.project.model.*;
|
---|
[2a5d6a3] | 4 |
|
---|
| 5 | import java.util.List;
|
---|
| 6 | import java.util.Optional;
|
---|
| 7 |
|
---|
[6e7b472] | 8 | public interface DiscussionService {
|
---|
[2a5d6a3] | 9 | List<Discussion> listAll();
|
---|
| 10 | List<Discussion> listAllByTitle(String title);
|
---|
| 11 | Optional<Discussion> findById(Integer id);
|
---|
| 12 | void save(Discussion discussion);
|
---|
[6e7b472] | 13 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.