Interface DataRepository

All Superinterfaces:
org.springframework.data.repository.CrudRepository<Data,String>, org.springframework.data.jpa.repository.JpaRepository<Data,String>, org.springframework.data.repository.ListCrudRepository<Data,String>, org.springframework.data.repository.ListPagingAndSortingRepository<Data,String>, org.springframework.data.repository.PagingAndSortingRepository<Data,String>, QlackBaseRepository<Data,String>, org.springframework.data.repository.query.QueryByExampleExecutor<Data>, org.springframework.data.querydsl.QuerydslPredicateExecutor<Data>, org.springframework.data.repository.Repository<Data,String>

@Repository public interface DataRepository extends QlackBaseRepository<Data,String>
A Repository interface for Data. Its is used to declare abstract methods for crud operations
Author:
European Dynamics SA
  • Method Summary

    Modifier and Type
    Method
    Description
    An abstract method that is used to retrieve the data by the group id and the locale language code
    An abstract method that is used to retrieve data filtered by the key id and language id
    An abstract method that is used to retrieve the data by the keyId and locale code
    An abstract method that is used to retrieve data filtered by the key name and language id
    An abstract method that is used to retrieve the data by the key name and the locale language code

    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.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 com.eurodyn.qlack.common.repository.QlackBaseRepository

    fetchById, findAll, findAll

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

    count, exists, findAll, findBy, findOne

    Methods inherited from interface org.springframework.data.querydsl.QuerydslPredicateExecutor

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

    • findByKeyIdAndLanguageId

      Data findByKeyIdAndLanguageId(String keyId, String languageId)
      An abstract method that is used to retrieve data filtered by the key id and language id
      Parameters:
      keyId - the key id
      languageId - the language id
      Returns:
      data by their key id and language id
    • findByKeyNameAndLanguageId

      Data findByKeyNameAndLanguageId(String keyName, String languageId)
      An abstract method that is used to retrieve data filtered by the key name and language id
      Parameters:
      keyName - the name of the key
      languageId - the language Id
      Returns:
      the data specified by their key name and the id of the language
    • findByKeyIdAndLanguageLocale

      Data findByKeyIdAndLanguageLocale(String keyId, String locale)
      An abstract method that is used to retrieve the data by the keyId and locale code
      Parameters:
      keyId - the key Id
      locale - the locale an abbreviation of language code
      Returns:
      the data specified by their key id and locale
    • findByKeyNameAndLanguageLocale

      Data findByKeyNameAndLanguageLocale(String keyName, String locale)
      An abstract method that is used to retrieve the data by the key name and the locale language code
      Parameters:
      keyName - the key name
      locale - the abbreviation of language code
      Returns:
      the data specified by their key name and locale code
    • findByKeyGroupIdAndLanguageLocale

      List<Data> findByKeyGroupIdAndLanguageLocale(String groupId, String locale)
      An abstract method that is used to retrieve the data by the group id and the locale language code
      Parameters:
      groupId - the group id
      locale - the abbreviation of language code
      Returns:
      the data specified by their group id and the locale