Package com.esprit.services.cinemas
Class CinemaHallService
java.lang.Object
com.esprit.services.cinemas.CinemaHallService
- All Implemented Interfaces:
IService<CinemaHall>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate CinemaHall
void
create
(CinemaHall cinemaHall) void
delete
(CinemaHall cinemaHall) Retrieves the CinemaHallById value.getCinemaHallByName
(String name) Retrieves the CinemaHallByName value.getCinemaHallsByCinemaId
(Long cinemaId) Retrieves the CinemaHallsByCinemaId value.read()
void
update
(CinemaHall cinemaHall)
-
Field Details
-
connection
-
cinemaService
-
-
Constructor Details
-
CinemaHallService
public CinemaHallService()Performs CinemaHallService operation.
-
-
Method Details
-
create
- Specified by:
create
in interfaceIService<CinemaHall>
-
update
- Specified by:
update
in interfaceIService<CinemaHall>
-
delete
- Specified by:
delete
in interfaceIService<CinemaHall>
-
read
- Specified by:
read
in interfaceIService<CinemaHall>
-
getCinemaHallById
Retrieves the CinemaHallById value.- Returns:
- the CinemaHallById value
-
getCinemaHallByName
Retrieves the CinemaHallByName value.- Returns:
- the CinemaHallByName value
-
getCinemaHallsByCinemaId
Retrieves the CinemaHallsByCinemaId value.- Returns:
- the CinemaHallsByCinemaId value
-
buildCinemaHall
-