Package com.logicaldoc.retention
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 TypeMethodDescriptionFinds all active policiesfindAllEnabled
(long tenantId) Finds all active policies in the given tenantMethods 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
Finds all active policies in the given tenant- Parameters:
tenantId
- identifier of the tenant- Returns:
- list of policies
-
findAllEnabled
List<RetentionPolicy> findAllEnabled()Finds all active policies- Returns:
- list of policies
-