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 WebserviceCallDAO
Since:
8.7
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • cleanOldCalls

      public void cleanOldCalls(int ttl) throws PersistenceException
      Description copied from interface: WebserviceCallDAO
      This method deletes all the chat entries oldest than the given days from now. If ttl is 0 or -1, the cancellation is not made
      Specified by:
      cleanOldCalls in interface WebserviceCallDAO
      Parameters:
      ttl - The maximum number of days over which the item is considered old
      Throws:
      PersistenceException - Error in the database