Last change
on this file since 76712b2 was b738035, checked in by Ema <ema_spirova@…>, 2 years ago |
signup/login server errors on front and remove location from planner
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | package finki.diplomska.tripplanner.service;
|
---|
| 2 |
|
---|
| 3 | import finki.diplomska.tripplanner.models.Location;
|
---|
| 4 | import finki.diplomska.tripplanner.models.Planner;
|
---|
| 5 | import finki.diplomska.tripplanner.models.dto.PlannerDto;
|
---|
[b738035] | 6 | import finki.diplomska.tripplanner.models.dto.PlannerLocationDto;
|
---|
| 7 | import org.springframework.http.ResponseEntity;
|
---|
[6a3a178] | 8 |
|
---|
| 9 | import java.util.List;
|
---|
| 10 | import java.util.Optional;
|
---|
| 11 |
|
---|
| 12 | public interface PlannerService {
|
---|
| 13 |
|
---|
| 14 | Planner createPlannerWithRequestParams(String description, String name, List<Location> locationList);
|
---|
[84d0fbb] | 15 | Optional<Planner> editPlanner(Long id, PlannerDto plannerDto, String username);
|
---|
[6a3a178] | 16 | List<Planner> getAllPlaners();
|
---|
[84d0fbb] | 17 | List<Planner> getPlannersByUser(String username);
|
---|
[6a3a178] | 18 | Optional<Planner> findById(Long id);
|
---|
| 19 | Planner editPlannerWithRequestParams(Long id, String description, String name, List<Location> locationList);
|
---|
[84d0fbb] | 20 | Optional<Planner> newPlanner(PlannerDto plannerDto, String username);
|
---|
[bdd6491] | 21 | void deletePlannerById(Long id);
|
---|
[b738035] | 22 | ResponseEntity deleteLocationFromPlanner(PlannerLocationDto plannerLocationDto);
|
---|
[6a3a178] | 23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.