Class 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

      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 provider
      ImportFolderCacheManager 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 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

      • 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