- Timestamp:
- 01/28/22 18:45:54 (3 years ago)
- Branches:
- master
- Children:
- 6fe77af
- Parents:
- b738035
- Location:
- trip-planner/src/main/java/finki/diplomska/tripplanner/service
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/service/LocationService.java
rb738035 r76712b2 25 25 List<Location> getVillages(); 26 26 List<Long> getAllLocationIdsForPlanner(Long plannerId); 27 List<Location> get LocationsForCity(Long cityId);27 List<Location> getAllLocations(String place); 28 28 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/service/RegionService.java
rb738035 r76712b2 7 7 public interface RegionService { 8 8 List<Region> findAll(); 9 List<String> getAllCitiesAndRegions(); 9 10 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/LocationServiceImpl.java
rb738035 r76712b2 185 185 186 186 @Override 187 public List<Location> get LocationsForCity(Long cityId) {188 return this.locationRepository.get LocationsForCity(cityId);187 public List<Location> getAllLocations(String place) { 188 return this.locationRepository.getAllLocations(place); 189 189 } 190 191 190 192 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/RegionServiceImpl.java
rb738035 r76712b2 21 21 return this.regionRepository.findAll(); 22 22 } 23 24 @Override 25 public List<String> getAllCitiesAndRegions() { 26 return this.regionRepository.getAllCitiesAndRegions(); 27 } 23 28 }
Note:
See TracChangeset
for help on using the changeset viewer.