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
-
-
Field Summary
-
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanOldCalls(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, bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, 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, bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForString, store
-
-
-
-
Method Detail
-
cleanOldCalls
public void cleanOldCalls(int ttl)
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
-
-