Changeset 2a5d6a3 in Git for src/main/java/com/wediscussmovies/project/service/PersonService.java
- Timestamp:
- 01/16/22 15:29:49 (3 years ago)
- Branches:
- main
- Children:
- 7bc8942
- Parents:
- 7a0bf79
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/main/java/com/wediscussmovies/project/service/PersonService.java
r7a0bf79 r2a5d6a3 9 9 public List<Person> findAllDirectors(); 10 10 public List<Person> findAllActors(); 11 Optional<Person> findById(Integer person_id); 11 12 Optional<Person> findActorById(Integer id); 12 13 Optional<Person> findDirectorById(Integer id); 14 boolean save(Person person); 15 List<Person> findActorsByNameLike(String name); 16 List<Person> findActorsBySurnameLike(String surname); 17 List<Person> findDirectorsByNameLike(String name); 18 List<Person> findDirectorsBySurnameLike(String surname); 19 13 20 }
Note:
See TracChangeset
for help on using the changeset viewer.