Last change
on this file since 04153a9 was 5444409, checked in by milamihajlovska <mila.mihajlovska01@…>, 21 months ago |
update register and registerWorker
|
-
Property mode
set to
100644
|
File size:
714 bytes
|
Line | |
---|
1 | package com.example.moviezone.service;
|
---|
2 |
|
---|
3 | import com.example.moviezone.model.Cinema;
|
---|
4 | import com.example.moviezone.model.Role;
|
---|
5 | import com.example.moviezone.model.User;
|
---|
6 |
|
---|
7 | import java.util.List;
|
---|
8 |
|
---|
9 | public interface UserService {
|
---|
10 | List<User> findAllUsers();
|
---|
11 | User findById(Integer user_id);
|
---|
12 | User findByUsername(String username);
|
---|
13 |
|
---|
14 | void register(String first_name, String last_name,String username, String email, String number, String password, Role role);
|
---|
15 | User login(String username,String password);
|
---|
16 | void registerWorker(String first_name, String last_name, String username, String email, String number, String password, String position, String work_hours_from, String work_hours_to, Cinema cinema);
|
---|
17 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.