Package com.coachconnect.repository
Class DrillCategoryRepository
java.lang.Object
com.coachconnect.repository.DrillCategoryRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDelete a drill category.findAll()Find all drill categories.Find a drill category by ID.findByName(String name) Find a drill category by name.save(DrillCategory category) Save a new drill category.update(DrillCategory category) Update an existing drill category.
-
Constructor Details
-
DrillCategoryRepository
-
DrillCategoryRepository
public DrillCategoryRepository()
-
-
Method Details
-
findAll
Find all drill categories. -
findById
Find a drill category by ID. -
findByName
Find a drill category by name. -
save
Save a new drill category. -
update
Update an existing drill category. -
delete
Delete a drill category.
-