Last change
on this file was b738035, checked in by Ema <ema_spirova@…>, 3 years ago |
signup/login server errors on front and remove location from planner
|
-
Property mode
set to
100644
|
File size:
1.0 KB
|
Line | |
---|
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;
|
---|
6 | import finki.diplomska.tripplanner.models.dto.PlannerLocationDto;
|
---|
7 | import org.springframework.http.ResponseEntity;
|
---|
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);
|
---|
15 | Optional<Planner> editPlanner(Long id, PlannerDto plannerDto, String username);
|
---|
16 | List<Planner> getAllPlaners();
|
---|
17 | List<Planner> getPlannersByUser(String username);
|
---|
18 | Optional<Planner> findById(Long id);
|
---|
19 | Planner editPlannerWithRequestParams(Long id, String description, String name, List<Location> locationList);
|
---|
20 | Optional<Planner> newPlanner(PlannerDto plannerDto, String username);
|
---|
21 | void deletePlannerById(Long id);
|
---|
22 | ResponseEntity deleteLocationFromPlanner(PlannerLocationDto plannerLocationDto);
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.