Last change
on this file since eed0bf8 was eed0bf8, checked in by Ema <ema_spirova@…>, 3 years ago |
editing location-form on frontend and backend
|
-
Property mode
set to
100644
|
File size:
751 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | package finki.diplomska.tripplanner.service;
|
---|
| 2 |
|
---|
| 3 |
|
---|
| 4 | import finki.diplomska.tripplanner.models.Location;
|
---|
| 5 |
|
---|
| 6 | import java.util.List;
|
---|
| 7 | import java.util.Optional;
|
---|
| 8 |
|
---|
| 9 |
|
---|
| 10 | public interface LocationService {
|
---|
| 11 | List<Location> findLocationsFromCity(String locName, String companion, List<String> categories);
|
---|
| 12 | List<Location> findAll();
|
---|
| 13 | Location getById(Long id);
|
---|
| 14 | List<Location> findLocationsFromCountry (String locName, String companion,String region, List<String> categories );
|
---|
| 15 | List<Location> scheduleLocations(String locName, String companion,String region, List<String> categories, int numberOfDays);
|
---|
| 16 | Optional<Location> findById(Long id);
|
---|
[eed0bf8] | 17 |
|
---|
| 18 | List<Location> findLocations(Long locationId, Long companionId, Long lengthOfStay, String categoryIds);
|
---|
[6a3a178] | 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.