Interface WorkflowTriggerDAO

  • All Superinterfaces:
    com.logicaldoc.core.PersistentObjectDAO<WorkflowTrigger>
    All Known Implementing Classes:
    HibernateWorkflowTriggerDAO

    public interface WorkflowTriggerDAO
    extends com.logicaldoc.core.PersistentObjectDAO<WorkflowTrigger>
    DAO to operate on Workflow triggers.
    Since:
    6.6.2
    Author:
    Marco Meschieri - LogicalDOC
    • Method Summary

      All Methods Instance Methods Abstract 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
      • Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO

        bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
    • Method Detail

      • findByFolderId

        List<WorkflowTrigger> findByFolderId​(long folderId)
        This method selects all triggers associated to a folder
        Parameters:
        folderId - identifier of the folder
        Returns:
        list of triggers
      • applyTriggersToTree

        int applyTriggersToTree​(long rootId)
        Replicates the triggers of a parent folder to all the tree
        Parameters:
        rootId - identifier of the folder root of the tree
        Returns:
        number of altered folders