Class FavoriteService
java.lang.Object
com.serinity.exercicecontrol.service.FavoriteService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddFavorite(int userId, String favoriteType, int itemId) getUserFavorites(int userId) voidremoveFavorite(int userId, String favoriteType, int itemId)
-
Constructor Details
-
FavoriteService
public FavoriteService()
-
-
Method Details
-
addFavorite
- Throws:
SQLException
-
removeFavorite
- Throws:
SQLException
-
getUserFavorites
- Throws:
SQLException
-