Package com.esprit.services.cinemas
Class CinemaService
java.lang.Object
com.esprit.services.cinemas.CinemaService
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Cinema
buildCinema
(ResultSet rs) void
void
getCinemaById
(Long cinemaId) Retrieves the CinemaById value.getCinemaByName
(String name) Retrieves the CinemaByName value.read()
Performs sort operation.void
-
Field Details
-
connection
-
userService
-
-
Constructor Details
-
CinemaService
public CinemaService()Performs CinemaService operation.
-
-
Method Details
-
create
-
update
-
delete
-
read
-
sort
Performs sort operation.- Returns:
- the result of the operation
-
getCinemaById
Retrieves the CinemaById value.- Returns:
- the CinemaById value
-
getCinemaByName
Retrieves the CinemaByName value.- Returns:
- the CinemaByName value
-
buildCinema
-