Package com.esprit.services.cinemas
Class CinemaCommentService
java.lang.Object
com.esprit.services.cinemas.CinemaCommentService
- All Implemented Interfaces:
IService<CinemaComment>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CinemaService
private final Connection
private final UserService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate CinemaComment
void
create
(CinemaComment cinemaComment) void
delete
(CinemaComment cinemaComment) getCommentsByCinemaId
(Long cinemaId) Retrieves the CommentsByCinemaId value.read()
void
update
(CinemaComment cinemaComment)
-
Field Details
-
connection
-
cinemaService
-
userService
-
-
Constructor Details
-
CinemaCommentService
public CinemaCommentService()Performs CinemaCommentService operation.
-
-
Method Details
-
create
- Specified by:
create
in interfaceIService<CinemaComment>
-
update
- Specified by:
update
in interfaceIService<CinemaComment>
-
delete
- Specified by:
delete
in interfaceIService<CinemaComment>
-
read
- Specified by:
read
in interfaceIService<CinemaComment>
-
getCommentsByCinemaId
Retrieves the CommentsByCinemaId value.- Returns:
- the CommentsByCinemaId value
-
buildCinemaComment
-