Last change
on this file was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago |
Adding project to repo
|
-
Property mode
set to
100644
|
File size:
870 bytes
|
Rev | Line | |
---|
[b3f2adb] | 1 | package com.example.eatys_app.service;
|
---|
| 2 |
|
---|
| 3 | import com.example.eatys_app.model.Naracka;
|
---|
| 4 | import com.example.eatys_app.model.Obrok;
|
---|
| 5 | import com.example.eatys_app.model.SeSostoiOd;
|
---|
| 6 |
|
---|
| 7 | import java.sql.Timestamp;
|
---|
| 8 | import java.util.List;
|
---|
| 9 | import java.util.Set;
|
---|
| 10 |
|
---|
| 11 | public interface NarackaService {
|
---|
| 12 |
|
---|
| 13 | // List<Naracka> listAll();
|
---|
| 14 | //
|
---|
| 15 | // Naracka findById(Integer id);
|
---|
| 16 | //
|
---|
| 17 | // Naracka create(Timestamp naracana, Integer status, Integer cena, Integer kupuvacId, Integer dostavuvacId);
|
---|
| 18 | //
|
---|
| 19 | // Naracka update(Integer id, Timestamp naracana, Integer status, Integer cena, Integer kupuvacId, Integer dostavuvacId);
|
---|
| 20 | //
|
---|
| 21 | // Naracka delete(Integer id);
|
---|
| 22 |
|
---|
| 23 | Set<SeSostoiOd> listAllObrociInShoppingCart(Integer cartId);
|
---|
| 24 |
|
---|
| 25 | Naracka getActiveShoppingCart(String username);
|
---|
| 26 |
|
---|
| 27 | SeSostoiOd addObrokToShoppingCart(String username, Integer obrokId);
|
---|
| 28 |
|
---|
| 29 | public int Total(Integer cartId);
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.