main
Last change
on this file was f4b4afa, checked in by Nikola Todoroski <nikola.todoroski@…>, 6 months ago |
Pushed whole project, original project location on github:https://github.com/hehxd/Tech-Harbor
|
-
Property mode
set to
100644
|
File size:
605 bytes
|
Line | |
---|
1 | package tech.techharbor.Service;
|
---|
2 |
|
---|
3 |
|
---|
4 | import tech.techharbor.Model.DeliveryModel;
|
---|
5 |
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface DeliveryService {
|
---|
9 |
|
---|
10 | List<DeliveryModel> listDeliveries();
|
---|
11 |
|
---|
12 | DeliveryModel findById(Integer id);
|
---|
13 |
|
---|
14 | DeliveryModel create(String deliveryStatus, String deliveryAddress, Integer deliveryManId, Integer orderId);
|
---|
15 |
|
---|
16 | DeliveryModel update(Integer id, String deliveryStatus, String deliveryAddress, Integer deliveryManId, Integer orderId);
|
---|
17 |
|
---|
18 | List<DeliveryModel> findByDeliveryManId(Integer deliveryManId);
|
---|
19 |
|
---|
20 | void updateDeliveryStatus(Integer deliveryId, String newStatus);
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.