Interface DocumentClassDao

All Superinterfaces:
BaseDao<DocumentClass,Long>, EditableDao<DocumentClass,Long>

public interface DocumentClassDao extends EditableDao<DocumentClass,Long>
Umożliwia wykonywanie operacji na bazie danych dotyczących klas dokumentów.
Author:
Paweł Rosolak 21-03-2013
  • Method Details

    • createDocClassTable

      void createDocClassTable(Long docClassId)
      Tworzy tabele przechowującą indeksy dla dokumentów w konkretnej klasie. Tabela ma nazwę pm_idx000 np. pm_idx0001 dla klasy o id=1
      Parameters:
      docClassId - Id klasy dokumentów
    • deleteDocClassTable

      void deleteDocClassTable(Long docClassId)
      Usuwa tabele przechowującą indeksy dla dokumentów w konkretnej klasie.
      Parameters:
      docClassId - Id klasy dokumentów
    • getIndexTable

      String getIndexTable(Long docClassId)
      Zwraca nazwę tabeli przechowującej indeksy dla dokumentów w konkretnej klasie.
      Parameters:
      docClassId - Id klasy dokumentów
      Returns:
      Zwraca nazwę tabeli
    • deleteFiles

      void deleteFiles(Long docClassId)
      Usuwa dane z tabel pm_files i pm_file_versions
      Parameters:
      id - Id klasy dokumentów