source: trip-planner/src/main/java/finki/diplomska/tripplanner/service/LocationService.java@ 59329aa

Last change on this file since 59329aa was 59329aa, checked in by Ema <ema_spirova@…>, 3 years ago

adding photos

  • Property mode set to 100644
File size: 1.2 KB
Line 
1package finki.diplomska.tripplanner.service;
2
3
4import finki.diplomska.tripplanner.models.Location;
5import finki.diplomska.tripplanner.models.Planner;
6import finki.diplomska.tripplanner.models.dto.PlannerLocationDto;
7
8import java.util.List;
9import java.util.Optional;
10
11
12public interface LocationService {
13 List<Location> findLocationsFromCity(String locName, String companion, List<String> categories);
14 List<Location> findLocationsFromCountry (String locName, String companion,String region, List<String> categories );
15 List<Location> findAll();
16 Location getById(Long id);
17 List<Location> scheduleLocations(String locName, String companion,String region, List<String> categories, int numberOfDays);
18 Optional<Location> findById(Long id);
19 List<Location> findLocationsFromCityForm(Long cityId, Long companionId, Long lengthOfStay, String categoryIds);
20 List<Location> findLocationsFromRegionForm(Long regionId, Long companionId, Long lengthOfStay, String categoryIds);
21 Location addLocationToPlanner(PlannerLocationDto plannerLocationDto);
22 List<Location> getAllLocationsForPlanner(Long plannerId);
23 List<Location> getWeekendGetaways();
24 List<Location> getVillages();
25}
Note: See TracBrowser for help on using the repository browser.