main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
926 bytes
|
Line | |
---|
1 | package com.example.rezevirajmasa.demo.service;
|
---|
2 |
|
---|
3 | import ch.qos.logback.core.net.server.Client;
|
---|
4 | import com.example.rezevirajmasa.demo.model.Customer;
|
---|
5 | import com.example.rezevirajmasa.demo.model.MembershipLevel;
|
---|
6 | import com.example.rezevirajmasa.demo.model.Reservation;
|
---|
7 | import com.example.rezevirajmasa.demo.model.Role;
|
---|
8 |
|
---|
9 | import java.util.Date;
|
---|
10 | import java.util.List;
|
---|
11 |
|
---|
12 |
|
---|
13 | public interface CustomerService {
|
---|
14 | Customer registration(String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel, Role role);
|
---|
15 | List<Customer> listAll();
|
---|
16 | Customer findByEmail(String email);
|
---|
17 | Customer findById(Long id);
|
---|
18 | Customer updateCustomer(Long id, String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel);
|
---|
19 | Customer registration(Customer customer);
|
---|
20 | boolean deleteById(Long customerId);
|
---|
21 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.