Package com.logicaldoc.webservice
Class HibernateWebserviceCallDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<WebserviceCall>
com.logicaldoc.webservice.HibernateWebserviceCallDAO
- All Implemented Interfaces:
 PersistentObjectDAO<WebserviceCall>,WebserviceCallDAO
public class HibernateWebserviceCallDAO
extends HibernatePersistentObjectDAO<WebserviceCall>
implements WebserviceCallDAO
Hibernate implementation of 
ChatMessageyDAO- Since:
 - 8.7
 - Author:
 - Marco Meschieri - LogicalDOC
 
- 
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY - 
Method Summary
Modifier 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.HibernatePersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, setSessionFactory, storeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
- 
cleanOldCalls
Description 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 interfaceWebserviceCallDAO- Parameters:
 ttl- The maximum number of days over which the item is considered old- Throws:
 PersistenceException- Error in the database
 
 -