main
Last change
on this file since f4b4afa 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:
522 bytes
|
Line | |
---|
1 | package tech.techharbor.Service;
|
---|
2 |
|
---|
3 | import tech.techharbor.Model.OrderTableModel;
|
---|
4 |
|
---|
5 | import java.util.Date;
|
---|
6 | import java.util.List;
|
---|
7 |
|
---|
8 | public interface OrderTableService {
|
---|
9 |
|
---|
10 | OrderTableModel findById(Integer id);
|
---|
11 |
|
---|
12 | OrderTableModel create(String orderStatus, Date date, Integer customerId);
|
---|
13 |
|
---|
14 | OrderTableModel update(Integer id, String orderStatus, Date date);
|
---|
15 |
|
---|
16 | List<OrderTableModel> findByCustomerId(Integer customerId);
|
---|
17 |
|
---|
18 | void delete(Integer id);
|
---|
19 |
|
---|
20 | void updateOrderStatus(Integer orderId, String newStatus);
|
---|
21 |
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.