Interface I18nMessageRepository

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

@Repository public interface I18nMessageRepository extends org.springframework.data.jpa.repository.JpaRepository<I18nMessage,String>, org.springframework.data.jpa.repository.JpaSpecificationExecutor<I18nMessage>
Author:
xezzon
  • Method Summary

    Modifier and Type
    Method
    Description
    findByNamespaceAndMessageKey(String namespace, String messageKey)
     
     

    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, flush, getById, getOne, getReferenceById, saveAllAndFlush, saveAndFlush

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

    count, delete, exists, findAll, findAll, findAll, findBy, findOne

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

    findAll, 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
  • Method Details

    • findByNamespaceAndMessageKey

      Optional<I18nMessage> findByNamespaceAndMessageKey(String namespace, String messageKey)
    • findDistinctNamespace

      @Query("SELECT DISTINCT namespace FROM I18nMessage") List<String> findDistinctNamespace()