Package com.logicaldoc.importfolder
Class HibernateImportFolderDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<ImportFolder>
com.logicaldoc.importfolder.HibernateImportFolderDAO
- All Implemented Interfaces:
com.logicaldoc.core.PersistentObjectDAO<ImportFolder>
,ImportFolderDAO
public class HibernateImportFolderDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<ImportFolder>
implements ImportFolderDAO
Hibernate implementation of
ImportFolderDAO
- Since:
- 3.0
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
Method Summary
Modifier and TypeMethodDescriptionvoid
delete
(long importFolderId, int code) findByProvider
(String provider) Finds all import folders of the given providervoid
setCacheManager
(ImportFolderCacheManager cacheManager) Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, setSessionFactory, store
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
-
Method Details
-
getCacheManager
-
setCacheManager
-
delete
public void delete(long importFolderId, int code) throws com.logicaldoc.core.PersistenceException - Specified by:
delete
in interfacecom.logicaldoc.core.PersistentObjectDAO<ImportFolder>
- Overrides:
delete
in classcom.logicaldoc.core.HibernatePersistentObjectDAO<ImportFolder>
- Throws:
com.logicaldoc.core.PersistenceException
-
findByProvider
public List<ImportFolder> findByProvider(String provider) throws com.logicaldoc.core.PersistenceException Description copied from interface:ImportFolderDAO
Finds all import folders of the given provider- Specified by:
findByProvider
in interfaceImportFolderDAO
- Parameters:
provider
- name of the provider to search @seeImportFolder.getProvider()
- Returns:
- list of import folder
- Throws:
com.logicaldoc.core.PersistenceException
- Error in the database
-