Ignore:
Timestamp:
12/28/21 08:56:55 (3 years ago)
Author:
Ema <ema_spirova@…>
Branches:
master
Children:
b738035
Parents:
84d0fbb
Message:

pre final presentation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trip-planner/src/main/java/finki/diplomska/tripplanner/service/impl/PlannerServiceImpl.java

    r84d0fbb rbdd6491  
    1313import org.springframework.stereotype.Service;
    1414
    15 import javax.jws.soap.SOAPBinding;
    1615import java.util.List;
    1716import java.util.Optional;
     
    6362
    6463    @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
    6574    public Planner createPlannerWithRequestParams(String plandesc,String planname, List<Location> locationList) {
    6675        Planner planner = Planner.createNewPlanner(plandesc, planname, locationList);
Note: See TracChangeset for help on using the changeset viewer.