main
Last change
on this file was 2a552fe, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 15 months ago |
Added transactional methods to secure the database integrity and refactoring
|
-
Property mode
set to
100644
|
File size:
542 bytes
|
Line | |
---|
1 | package com.example.autopartz.service;
|
---|
2 |
|
---|
3 | import com.example.autopartz.model.Car;
|
---|
4 | import com.example.autopartz.model.Category;
|
---|
5 | import com.example.autopartz.model.Part;
|
---|
6 |
|
---|
7 | import java.util.List;
|
---|
8 |
|
---|
9 | public interface PartService {
|
---|
10 | List<Part> findAll();
|
---|
11 |
|
---|
12 | Part findById(Integer id);
|
---|
13 |
|
---|
14 | void addPartToWarehouse(Integer partId, Integer quantity, Integer warehouseId);
|
---|
15 |
|
---|
16 | void addPart(String name, String description, Integer manufacturer, List<Car> cars, List<Category> categories, Integer warehouse, Integer quantity, Integer amount
|
---|
17 | );
|
---|
18 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.