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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<RetentionPolicy>
findAllEnabled()
Finds all active policiesList<RetentionPolicy>
findAllEnabled(long tenantId)
Finds all active policies in the given tenant-
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
-
findAllEnabled
List<RetentionPolicy> findAllEnabled(long tenantId)
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
-
-