Class HibernateWorkflowTriggerDAO

    • Field Summary

      • Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO

        ENTITY
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int applyTriggersToTree​(long rootId)
      Replicates the triggers of a parent folder to all the tree
      List<WorkflowTrigger> findByFolderId​(long folderId)
      This method selects all triggers associated to a folder
      void setFolderDAO​(com.logicaldoc.core.folder.FolderDAO folderDAO)  
      • Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO

        bulkUpdate, bulkUpdate, delete, 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, 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

      • applyTriggersToTree

        public int applyTriggersToTree​(long rootId)
        Description copied from interface: WorkflowTriggerDAO
        Replicates the triggers of a parent folder to all the tree
        Specified by:
        applyTriggersToTree in interface WorkflowTriggerDAO
        Parameters:
        rootId - identifier of the folder root of the tree
        Returns:
        number of altered folders
      • setFolderDAO

        public void setFolderDAO​(com.logicaldoc.core.folder.FolderDAO folderDAO)