Package com.logicaldoc.webservice
Class HibernateWebserviceCallDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<WebserviceCall>
com.logicaldoc.core.history.HibernateHistoryDAO<WebserviceCall>
com.logicaldoc.webservice.HibernateWebserviceCallDAO
- All Implemented Interfaces:
- PersistentObjectDAO<WebserviceCall>,- WebserviceCallDAO
@Repository("webserviceCallDAO")
public class HibernateWebserviceCallDAO
extends HibernateHistoryDAO<WebserviceCall>
implements WebserviceCallDAO
Hibernate implementation of 
WebserviceCallDAO- Since:
- 8.7
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanOldCalls(int ttl) This method deletes all the chat entries oldest than the given days from now.Methods inherited from class com.logicaldoc.core.history.HibernateHistoryDAOstoreMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, 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, setSessionFactoryMethods 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, 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- 
cleanOldCallsDescription copied from interface:WebserviceCallDAOThis method deletes all the chat entries oldest than the given days from now. Ifttlis 0 or -1, the cancellation is not made- Specified by:
- cleanOldCallsin interface- WebserviceCallDAO
- Parameters:
- ttl- The maximum number of days over which the item is considered old
- Throws:
- PersistenceException- Error in the database
 
 
-