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>
A Repository interface for Data. Its is used to declare abstract methods for
crud operations
- Author:
- European Dynamics SA
-
Method Summary
Modifier and TypeMethodDescriptionfindByKeyGroupIdAndLanguageLocale
(String groupId, String locale) An abstract method that is used to retrieve the data by the group id and the locale language codefindByKeyIdAndLanguageId
(String keyId, String languageId) An abstract method that is used to retrieve data filtered by the key id and language idfindByKeyIdAndLanguageLocale
(String keyId, String locale) An abstract method that is used to retrieve the data by the keyId and locale codefindByKeyNameAndLanguageId
(String keyName, String languageId) An abstract method that is used to retrieve data filtered by the key name and language idfindByKeyNameAndLanguageLocale
(String keyName, String locale) An abstract method that is used to retrieve the data by the key name and the locale language codeMethods 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
An abstract method that is used to retrieve data filtered by the key id and language id- Parameters:
keyId
- the key idlanguageId
- the language id- Returns:
- data by their key id and language id
-
findByKeyNameAndLanguageId
An abstract method that is used to retrieve data filtered by the key name and language id- Parameters:
keyName
- the name of the keylanguageId
- the language Id- Returns:
- the data specified by their key name and the id of the language
-
findByKeyIdAndLanguageLocale
An abstract method that is used to retrieve the data by the keyId and locale code- Parameters:
keyId
- the key Idlocale
- the locale an abbreviation of language code- Returns:
- the data specified by their key id and locale
-
findByKeyNameAndLanguageLocale
An abstract method that is used to retrieve the data by the key name and the locale language code- Parameters:
keyName
- the key namelocale
- the abbreviation of language code- Returns:
- the data specified by their key name and locale code
-
findByKeyGroupIdAndLanguageLocale
An abstract method that is used to retrieve the data by the group id and the locale language code- Parameters:
groupId
- the group idlocale
- the abbreviation of language code- Returns:
- the data specified by their group id and the locale
-