Package com.logicaldoc.retention
Class HibernateRetentionPolicyDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<RetentionPolicy>
com.logicaldoc.retention.HibernateRetentionPolicyDAO
- All Implemented Interfaces:
- com.logicaldoc.core.PersistentObjectDAO<RetentionPolicy>,- RetentionPolicyDAO
@Repository("retentionPolicyDAO")
public class HibernateRetentionPolicyDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<RetentionPolicy>
implements RetentionPolicyDAO
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionfindAll(long tenantId) Finds all active policiesfindAllEnabled(long tenantId) Finds all active policies in the given tenantMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, 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, setSessionFactory, storeMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, 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- 
findAll- Specified by:
- findAllin interface- com.logicaldoc.core.PersistentObjectDAO<RetentionPolicy>
- Overrides:
- findAllin class- com.logicaldoc.core.HibernatePersistentObjectDAO<RetentionPolicy>
- Throws:
- com.logicaldoc.core.PersistenceException
 
- 
findAllEnabledpublic List<RetentionPolicy> findAllEnabled(long tenantId) throws com.logicaldoc.core.PersistenceException Description copied from interface:RetentionPolicyDAOFinds all active policies in the given tenant- Specified by:
- findAllEnabledin interface- RetentionPolicyDAO
- Parameters:
- tenantId- identifier of the tenant
- Returns:
- list of policies
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the database
 
- 
findAllEnabledDescription copied from interface:RetentionPolicyDAOFinds all active policies- Specified by:
- findAllEnabledin interface- RetentionPolicyDAO
- Returns:
- list of policies
- Throws:
- com.logicaldoc.core.PersistenceException- User existingUser;
 
 
-