main
Line | |
---|
1 | package com.example.rezevirajmasa.demo.service;
|
---|
2 |
|
---|
3 | import ch.qos.logback.core.net.server.Client;
|
---|
4 | import com.example.rezevirajmasa.demo.dto.CustomerDTO;
|
---|
5 | import com.example.rezevirajmasa.demo.model.Customer;
|
---|
6 | import com.example.rezevirajmasa.demo.model.MembershipLevel;
|
---|
7 | import com.example.rezevirajmasa.demo.model.Reservation;
|
---|
8 | import com.example.rezevirajmasa.demo.model.Role;
|
---|
9 |
|
---|
10 | import java.util.Date;
|
---|
11 | import java.util.List;
|
---|
12 |
|
---|
13 |
|
---|
14 | public interface CustomerService {
|
---|
15 | Customer registration(String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel, Role role);
|
---|
16 | List<Customer> listAll();
|
---|
17 | Customer findByEmail(String email);
|
---|
18 | Customer findById(Long id);
|
---|
19 | Customer updateCustomer(Long id, String firstName, String lastName, String email, String password, String phone, String address, MembershipLevel membershipLevel);
|
---|
20 | Customer registration(Customer customer);
|
---|
21 | boolean deleteById(Long customerId);
|
---|
22 | public CustomerDTO mapCustomerToDTO(Customer customer);
|
---|
23 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.