Package com.suncode.pwfl.archive
Interface DocumentClassDao
- All Superinterfaces:
BaseDao<DocumentClass,
,Long> EditableDao<DocumentClass,
Long>
Umożliwia wykonywanie operacji na bazie danych dotyczących klas dokumentów.
- Author:
- Paweł Rosolak 21-03-2013
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createDocClassTable
(Long docClassId) Tworzy tabele przechowującą indeksy dla dokumentów w konkretnej klasie.void
deleteDocClassTable
(Long docClassId) Usuwa tabele przechowującą indeksy dla dokumentów w konkretnej klasie.void
deleteFiles
(Long docClassId) Usuwa dane z tabel pm_files i pm_file_versionsgetIndexTable
(Long docClassId) Zwraca nazwę tabeli przechowującej indeksy dla dokumentów w konkretnej klasie.Methods inherited from interface com.suncode.pwfl.support.BaseDao
countAll, countByCriteria, countByCriteria, findByCriteria, findByCriteria, findByCriteria, findByCriteria, findByProperty, findOne, findOne, findOneByProperty, get, get, getAll, getAll, getByField, propertyList, scrollByCriteria, scrollByCriteria
-
Method Details
-
createDocClassTable
Tworzy tabele przechowującą indeksy dla dokumentów w konkretnej klasie. Tabela ma nazwę pm_idx000np. pm_idx0001 dla klasy o id=1 - Parameters:
docClassId
- Id klasy dokumentów
-
deleteDocClassTable
Usuwa tabele przechowującą indeksy dla dokumentów w konkretnej klasie.- Parameters:
docClassId
- Id klasy dokumentów
-
getIndexTable
Zwraca nazwę tabeli przechowującej indeksy dla dokumentów w konkretnej klasie.- Parameters:
docClassId
- Id klasy dokumentów- Returns:
- Zwraca nazwę tabeli
-
deleteFiles
Usuwa dane z tabel pm_files i pm_file_versions- Parameters:
id
- Id klasy dokumentów
-