Class ResourceService
java.lang.Object
com.serinity.exercicecontrol.service.ResourceService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintvoiddeleteResource(int id) getResourceById(int id) getResourcesByExerciseId(int exerciseId) void
-
Constructor Details
-
ResourceService
public ResourceService()
-
-
Method Details
-
addResource
- Throws:
SQLException
-
updateResource
- Throws:
SQLException
-
deleteResource
- Throws:
SQLException
-
getResourceById
- Throws:
SQLException
-
getAllResources
- Throws:
SQLException
-
getResourcesByExerciseId
- Throws:
SQLException
-