source: src/main/java/com/example/autopartz/service/UserService.java

main
Last change on this file was 2a552fe, checked in by andrejtodorovski <82031894+andrejtodorovski@…>, 16 months ago

Added transactional methods to secure the database integrity and refactoring

  • Property mode set to 100644
File size: 400 bytes
Line 
1package com.example.autopartz.service;
2
3import com.example.autopartz.model.User;
4
5import java.util.List;
6
7public interface UserService {
8 List<User> findAllUsers();
9
10 User findByUsername(String username);
11
12 User findById(Integer id);
13
14 void addCarSampleForUser(Integer vin, Integer year, Integer power, Integer displacement, String fuel, Integer km, Integer cartype, String username);
15
16}
Note: See TracBrowser for help on using the repository browser.