source: src/main/java/com/example/eatys_app/service/NarackaService.java@ b3f2adb

Last change on this file since b3f2adb was b3f2adb, checked in by Aleksandar Siljanoski <acewow3@…>, 14 months ago

Adding project to repo

  • Property mode set to 100644
File size: 870 bytes
Line 
1package com.example.eatys_app.service;
2
3import com.example.eatys_app.model.Naracka;
4import com.example.eatys_app.model.Obrok;
5import com.example.eatys_app.model.SeSostoiOd;
6
7import java.sql.Timestamp;
8import java.util.List;
9import java.util.Set;
10
11public 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.