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 SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionFinds all active policiesfindAllEnabled(long tenantId) Finds all active policies in the given tenantMethods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
- 
Method Details- 
findAllEnabledFinds 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
 
- 
findAllEnabledFinds all active policies- Returns:
- list of policies
- Throws:
- com.logicaldoc.core.PersistenceException- User existingUser;
 
 
-