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 ofImportFolderDAO
- Since:
- 3.0
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(long importFolderId, int code)
List<ImportFolder>
findByProvider(String provider)
Finds all import folders of the given providerImportFolderCacheManager
getCacheManager()
void
setCacheManager(ImportFolderCacheManager cacheManager)
-
Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForLong, queryForObject, 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, bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
getCacheManager
public ImportFolderCacheManager getCacheManager()
-
setCacheManager
public void setCacheManager(ImportFolderCacheManager cacheManager)
-
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)
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
-
-