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 Type
    Method
    Description
    void
    delete(long importFolderId, int code)
     
    Finds all import folders of the given provider
     
    void
     

    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, 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, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
  • Method Details

    • 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 interface com.logicaldoc.core.PersistentObjectDAO<ImportFolder>
      Overrides:
      delete in class com.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 interface ImportFolderDAO
      Parameters:
      provider - name of the provider to search @see ImportFolder.getProvider()
      Returns:
      list of import folder
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the database