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 ofChatMessageyDAO
- Since:
- 8.7
- Author:
- Marco Meschieri - LogicalDOC
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, 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, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
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
-
-