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 Type
    Method
    Description
    This method returns a single email template instance

    Methods inherited from interface org.springframework.data.repository.CrudRepository

    count, delete, deleteAll, deleteAll, deleteAllById, deleteById, existsById, findById, save

    Methods inherited from interface org.springframework.data.jpa.repository.JpaRepository

    deleteAllByIdInBatch, deleteAllInBatch, deleteAllInBatch, deleteInBatch, findAll, findAll, findAll, findAll, findAllById, flush, getById, getOne, getReferenceById, saveAll, saveAllAndFlush, saveAndFlush

    Methods inherited from interface org.springframework.data.repository.PagingAndSortingRepository

    findAll

    Methods inherited from interface org.springframework.data.repository.query.QueryByExampleExecutor

    count, exists, findAll, findBy, findOne
  • Method Details

    • findByTemplate

      EmailTemplate findByTemplate(EmailTemplate.Templates template)
      This method returns a single email template instance
      Parameters:
      template -
      Returns:
      email template