Last change
on this file since 6a80231 was 188ee53, checked in by Ema <ema_spirova@…>, 3 years ago |
location-form
|
-
Property mode
set to
100644
|
File size:
878 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);
|
---|
[188ee53] | 12 | List<Location> findLocationsFromCountry (String locName, String companion,String region, List<String> categories );
|
---|
[6a3a178] | 13 | List<Location> findAll();
|
---|
| 14 | Location getById(Long id);
|
---|
| 15 | List<Location> scheduleLocations(String locName, String companion,String region, List<String> categories, int numberOfDays);
|
---|
| 16 | Optional<Location> findById(Long id);
|
---|
[188ee53] | 17 | List<Location> findLocationsFromCityForm(Long cityId, Long companionId, Long lengthOfStay, String categoryIds);
|
---|
| 18 | List<Location> findLocationsFromRegionForm(Long regionId, Long companionId, Long lengthOfStay, String categoryIds);
|
---|
[6a3a178] | 19 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.