Interface TurLocaleRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<TurLocale,Locale>, org.springframework.data.jpa.repository.JpaRepository<TurLocale,Locale>, org.springframework.data.repository.ListCrudRepository<TurLocale,Locale>, org.springframework.data.repository.ListPagingAndSortingRepository<TurLocale,Locale>, org.springframework.data.repository.PagingAndSortingRepository<TurLocale,Locale>, org.springframework.data.repository.query.QueryByExampleExecutor<TurLocale>, org.springframework.data.repository.Repository<TurLocale,Locale>

public interface TurLocaleRepository extends org.springframework.data.jpa.repository.JpaRepository<TurLocale,Locale>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(String initials)
     
    @NotNull List<TurLocale>
     
     
    @NotNull TurLocale
    save(@NotNull TurLocale turLocale)
     

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

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

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

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

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

    findAllById, saveAll

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

    findAll

    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
  • Field Details

  • Method Details

    • findAll

      @Cacheable("turLocalefindAll") @NotNull @NotNull List<TurLocale> findAll()
      Specified by:
      findAll in interface org.springframework.data.repository.CrudRepository<TurLocale,Locale>
      Specified by:
      findAll in interface org.springframework.data.repository.ListCrudRepository<TurLocale,Locale>
    • findByInitials

      @Cacheable("turLocalefindByInitials") TurLocale findByInitials(String initials)
    • save

      @CacheEvict(value={"turLocalefindAll","turLocalefindByInitials"}, allEntries=true) @NotNull @NotNull TurLocale save(@NotNull @NotNull TurLocale turLocale)
      Specified by:
      save in interface org.springframework.data.repository.CrudRepository<TurLocale,Locale>
    • delete

      @Modifying @Query("delete from TurLocale l where l.id = ?1") @CacheEvict(value={"turLocalefindAll","turLocalefindByInitials"}, allEntries=true) void delete(String initials)