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 TypeMethodDescriptionvoid
cleanOldCalls
(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, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, setSessionFactory, store
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
-
Method Details
-
cleanOldCalls
public void cleanOldCalls(int ttl) Description copied from interface:WebserviceCallDAO
This method deletes all the chat entries oldest than the given days from now. Ifttl
is 0 or -1, the cancellation is not made- Specified by:
cleanOldCalls
in interfaceWebserviceCallDAO
- Parameters:
ttl
- The maximum number of days over which the item is considered old
-