public interface DocumentClassIndexFinder extends BaseFinder<DocumentClassIndex,Long>
Modifier and Type | Method and Description |
---|---|
List<DocumentClassIndex> |
findByDocumentClass(Long docClassId)
Pobiera indeksy z klasy dokumentów z domyślnym sortowaniem po orderId asc
|
CountedResult<DocumentClassIndex> |
findByDocumentClass(Long docClassId,
Integer start,
Integer limit,
String sortBy,
SortDirection sortDirection)
Pobiera stronnicowaną listę przetłumaczonych indeksów klasy dokumentów
|
CountedResult<DocumentClassIndex> |
findByDocumentClass(Long docClassId,
Locale locale,
Integer start,
Integer limit,
String sortBy,
SortDirection sortDirection)
Pobiera stronnicowaną listę przetłumaczonych we wskazanym jęzku indeksów klasy dokumentów
|
List<DocumentClassIndex> |
findByDocumentClass(Long docClassId,
Sorter sorter)
Pobiera indeksy z klasy dokumentów
|
DocumentClassIndex |
findById(Long id)
Pobiera indeksy z klasy dokumentów
|
List<DocumentClassIndexTranslation> |
findDocumentClassIndexTranslationsForLocale(Locale locale,
String... joins)
Pobiera listę wszystkich tłumaczeń powiązanych z indeksami klas dokumentów w podanym języku
|
count, countAll, findByCriteria, findByCriteria, findByProperty, findOne, findOneByProperty, get, get, getAll, getAll, getCountedResult, getCountedResult
List<DocumentClassIndex> findByDocumentClass(Long docClassId)
docClassId
- Id klasy dokumentówList<DocumentClassIndex> findByDocumentClass(Long docClassId, Sorter sorter)
docClassId
- Id klasy dokumentówsorter
- Obiekt definiujący sortowanieCountedResult<DocumentClassIndex> findByDocumentClass(Long docClassId, Integer start, Integer limit, String sortBy, SortDirection sortDirection)
docClassId
- Id klasy dokumentówstart
- Przesunięcie w zbiorze wynikówlimit
- Maksymalna liczba wynikówsortBy
- Nazwa kolumny, po której ma wystąpić sortowaniesortDirection
- Kierunek sortowaniaCountedResult<DocumentClassIndex> findByDocumentClass(Long docClassId, Locale locale, Integer start, Integer limit, String sortBy, SortDirection sortDirection)
docClassId
- Id klasy dokumentówlocale
- Język tłumaczeniastart
- Przesunięcie w zbiorze wynikówlimit
- Maksymalna liczba wynikówsortBy
- Nazwa kolumny, po której ma wystąpić sortowaniesortDirection
- Kierunek sortowaniaDocumentClassIndex findById(Long id)
id
- Id indeksuList<DocumentClassIndexTranslation> findDocumentClassIndexTranslationsForLocale(Locale locale, String... joins)
locale
- Językjoins
- Określa, które z powiązanych elementów chcemy dołączyć do pobieranych obiektów.Copyright © 2023 Suncode. All rights reserved.