Package com.coachconnect.repository
Class TemplateRepository
java.lang.Object
com.coachconnect.repository.TemplateRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDelete a template.findAll()Find all templates (for admin use).findByCreatedBy(String createdBy) Find all templates created by a specific coach.Find a template by ID.Save a new template.Update an existing template.
-
Constructor Details
-
TemplateRepository
-
TemplateRepository
public TemplateRepository()
-
-
Method Details
-
findByCreatedBy
Find all templates created by a specific coach. -
findAll
Find all templates (for admin use). -
findById
Find a template by ID. -
save
Save a new template. -
update
Update an existing template. -
delete
Delete a template.
-