Package com.esprit.services.series
Class IServiceSeriesImpl
java.lang.Object
com.esprit.services.series.IServiceSeriesImpl
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDislike
(Series serie) Performs addDislike operation.void
Performs addLike operation.void
void
Performs findMostLiked operation.getByIdSeries
(Long serieId) Retrieves the ByIdSeries value.Retrieves the LikesStatistics value.read()
void
removeDislike
(Series serie) Performs removeDislike operation.void
removeLike
(Series serie) Performs removeLike operation.retrieveByCategory
(Long categoryId) Performs retrieveByCategory operation.void
-
Field Details
-
LOGGER
-
connection
-
-
Constructor Details
-
IServiceSeriesImpl
public IServiceSeriesImpl()Performs IServiceSeriesImpl operation.
-
-
Method Details
-
create
-
update
-
delete
-
read
-
retrieveByCategory
Performs retrieveByCategory operation.- Returns:
- the result of the operation
- Throws:
SQLException
-
addLike
Performs addLike operation.- Throws:
SQLException
-
removeLike
Performs removeLike operation.- Throws:
SQLException
-
addDislike
Performs addDislike operation.- Throws:
SQLException
-
removeDislike
Performs removeDislike operation.- Throws:
SQLException
-
findMostLiked
Performs findMostLiked operation.- Returns:
- the result of the operation
-
getLikesStatistics
Retrieves the LikesStatistics value.- Returns:
- the LikesStatistics value
-
getByIdSeries
Retrieves the ByIdSeries value.- Returns:
- the ByIdSeries value
- Throws:
SQLException
-