- Timestamp:
- 12/28/21 08:56:55 (3 years ago)
- Branches:
- master
- Children:
- b738035
- Parents:
- 84d0fbb
- Location:
- trip-planner/src/main/java/finki/diplomska/tripplanner/service
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner/src/main/java/finki/diplomska/tripplanner/service/PlannerService.java
r84d0fbb rbdd6491 17 17 Planner editPlannerWithRequestParams(Long id, String description, String name, List<Location> locationList); 18 18 Optional<Planner> newPlanner(PlannerDto plannerDto, String username); 19 void deletePlannerById(Long id); 20 void deleteLocationFromPlanner(Long locationId); 19 21 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/LocationServiceImpl.java
r84d0fbb rbdd6491 183 183 return this.locationRepository.getAllLocationIdsForPlanner(plannerId); 184 184 } 185 186 187 185 } -
trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java
r84d0fbb rbdd6491 13 13 import org.springframework.stereotype.Service; 14 14 15 import javax.jws.soap.SOAPBinding;16 15 import java.util.List; 17 16 import java.util.Optional; … … 63 62 64 63 @Override 64 public void deletePlannerById(Long id) { 65 this.plannerRepository.deleteById(id); 66 } 67 68 @Override 69 public void deleteLocationFromPlanner(Long locationId) { 70 this.plannerRepository.deleteLocationFromPlanner(locationId); 71 } 72 73 @Override 65 74 public Planner createPlannerWithRequestParams(String plandesc,String planname, List<Location> locationList) { 66 75 Planner planner = Planner.createNewPlanner(plandesc, planname, locationList);
Note:
See TracChangeset
for help on using the changeset viewer.