Interface DocumentClassIndexFinder

All Superinterfaces:
BaseFinder<DocumentClassIndex,Long>

public interface DocumentClassIndexFinder extends BaseFinder<DocumentClassIndex,Long>
Umożliwia wyszukiwanie indeksów klasy dokumentów
Author:
Paweł Rosolak 19-03-2013
  • Method Details

    • findByDocumentClass

      List<DocumentClassIndex> findByDocumentClass(Long docClassId)
      Pobiera indeksy z klasy dokumentów z domyślnym sortowaniem po orderId asc
      Parameters:
      docClassId - Id klasy dokumentów
      Returns:
      Zwraca listę definicji indeksów
    • findByDocumentClass

      List<DocumentClassIndex> findByDocumentClass(Long docClassId, Sorter sorter)
      Pobiera indeksy z klasy dokumentów
      Parameters:
      docClassId - Id klasy dokumentów
      sorter - Obiekt definiujący sortowanie
      Returns:
      Zwraca listę definicji indeksów
    • findByDocumentClass

      CountedResult<DocumentClassIndex> findByDocumentClass(Long docClassId, Integer start, Integer limit, String sortBy, SortDirection sortDirection)
      Pobiera stronnicowaną listę przetłumaczonych indeksów klasy dokumentów
      Parameters:
      docClassId - Id klasy dokumentów
      start - Przesunięcie w zbiorze wyników
      limit - Maksymalna liczba wyników
      sortBy - Nazwa kolumny, po której ma wystąpić sortowanie
      sortDirection - Kierunek sortowania
      Returns:
    • findByDocumentClass

      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
      Parameters:
      docClassId - Id klasy dokumentów
      locale - Język tłumaczenia
      start - Przesunięcie w zbiorze wyników
      limit - Maksymalna liczba wyników
      sortBy - Nazwa kolumny, po której ma wystąpić sortowanie
      sortDirection - Kierunek sortowania
      Returns:
    • findById

      DocumentClassIndex findById(Long id)
      Pobiera indeks o podanym id
      Parameters:
      id - Id indeksu
      Returns:
      Zwraca definicję indeksu
    • findById

      DocumentClassIndex findById(Long id, String... joins)
      Pobiera indeks o podanym id
      Parameters:
      id - Id indeksu
      joins - Określa, które elementy mamy dołączyć do obiektu
      Returns:
      Zwraca definicję indeksu
    • findDocumentClassIndexTranslationsForLocale

      List<DocumentClassIndexTranslation> findDocumentClassIndexTranslationsForLocale(Locale locale, String... joins)
      Pobiera listę wszystkich tłumaczeń powiązanych z indeksami klas dokumentów w podanym języku
      Parameters:
      locale - Język
      joins - Określa, które z powiązanych elementów chcemy dołączyć do pobieranych obiektów.
      Returns: