Package org.duracloud.account.db.repo
Interface EmailTemplateRepo
- All Superinterfaces:
org.springframework.data.repository.CrudRepository<EmailTemplate,,Long> org.springframework.data.jpa.repository.JpaRepository<EmailTemplate,,Long> org.springframework.data.repository.PagingAndSortingRepository<EmailTemplate,,Long> org.springframework.data.repository.query.QueryByExampleExecutor<EmailTemplate>,org.springframework.data.repository.Repository<EmailTemplate,Long>
@Repository("emailTemplateRepo")
public interface EmailTemplateRepo
extends org.springframework.data.jpa.repository.JpaRepository<EmailTemplate,Long>
- Author:
- dbernstein Date: 10/25/2018
-
Method Summary
Modifier and TypeMethodDescriptionfindByTemplate(EmailTemplate.Templates template) This method returns a single email template instanceMethods inherited from interface org.springframework.data.repository.CrudRepository
count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, saveMethods inherited from interface org.springframework.data.jpa.repository.JpaRepository
deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlushMethods inherited from interface org.springframework.data.repository.PagingAndSortingRepository
findAllMethods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor
count, exists, findAll, findBy, findOne
-
Method Details
-
findByTemplate
This method returns a single email template instance- Parameters:
template-- Returns:
- email template
-