Package com.logicaldoc.webservice
Interface WebserviceCallDAO
- All Superinterfaces:
PersistentObjectDAO<WebserviceCall>
- All Known Implementing Classes:
HibernateWebserviceCallDAO
DAO for
WebserviceCall
handling.- 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 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, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
-
Method Details
-
cleanOldCalls
This method deletes all the chat entries oldest than the given days from now. Ifttl
is 0 or -1, the cancellation is not made- Parameters:
ttl
- The maximum number of days over which the item is considered old- Throws:
PersistenceException
- Error in the database
-