Interface RetentionPolicyDAO

All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<RetentionPolicy>
All Known Implementing Classes:
HibernateRetentionPolicyDAO

public interface RetentionPolicyDAO extends com.logicaldoc.core.PersistentObjectDAO<RetentionPolicy>
Specialized DAO for working with retention policies
Since:
7.2
Author:
Marco Meschieri - LogicalDOC
  • Field Summary

    Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO

    ENTITY
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds all active policies
    findAllEnabled(long tenantId)
    Finds all active policies in the given tenant

    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, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
  • Method Details

    • findAllEnabled

      List<RetentionPolicy> findAllEnabled(long tenantId) throws com.logicaldoc.core.PersistenceException
      Finds all active policies in the given tenant
      Parameters:
      tenantId - identifier of the tenant
      Returns:
      list of policies
      Throws:
      com.logicaldoc.core.PersistenceException - Error in the database
    • findAllEnabled

      List<RetentionPolicy> findAllEnabled() throws com.logicaldoc.core.PersistenceException
      Finds all active policies
      Returns:
      list of policies
      Throws:
      com.logicaldoc.core.PersistenceException - User existingUser;