Last change
on this file since bdd6491 was bdd6491, checked in by Ema <ema_spirova@…>, 3 years ago |
pre final presentation
|
-
Property mode
set to
100644
|
File size:
929 bytes
|
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;
|
---|
| 6 |
|
---|
| 7 | import java.util.List;
|
---|
| 8 | import java.util.Optional;
|
---|
| 9 |
|
---|
| 10 | public interface PlannerService {
|
---|
| 11 |
|
---|
| 12 | Planner createPlannerWithRequestParams(String description, String name, List<Location> locationList);
|
---|
[84d0fbb] | 13 | Optional<Planner> editPlanner(Long id, PlannerDto plannerDto, String username);
|
---|
[6a3a178] | 14 | List<Planner> getAllPlaners();
|
---|
[84d0fbb] | 15 | List<Planner> getPlannersByUser(String username);
|
---|
[6a3a178] | 16 | Optional<Planner> findById(Long id);
|
---|
| 17 | Planner editPlannerWithRequestParams(Long id, String description, String name, List<Location> locationList);
|
---|
[84d0fbb] | 18 | Optional<Planner> newPlanner(PlannerDto plannerDto, String username);
|
---|
[bdd6491] | 19 | void deletePlannerById(Long id);
|
---|
| 20 | void deleteLocationFromPlanner(Long locationId);
|
---|
[6a3a178] | 21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.