Class HibernateSyndicationDAO

  • All Implemented Interfaces:
    com.logicaldoc.core.PersistentObjectDAO<Syndication>, SyndicationDAO

    public class HibernateSyndicationDAO
    extends com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
    implements SyndicationDAO
    Hibernate implementation of SyndicationDAO
    Since:
    8.1.2
    Author:
    Marco Meschieri - LogicalDOC
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean delete​(long systemId, int code)  
      Syndication findByName​(String name, long tenantId)
      Finds the syndication with the given name
      • Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO

        bulkUpdate, 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 interface com.logicaldoc.core.PersistentObjectDAO

        bulkUpdate, 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

      • delete

        public boolean delete​(long systemId,
                              int code)
        Specified by:
        delete in interface com.logicaldoc.core.PersistentObjectDAO<Syndication>
        Overrides:
        delete in class com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
      • findByName

        public Syndication findByName​(String name,
                                      long tenantId)
        Description copied from interface: SyndicationDAO
        Finds the syndication with the given name
        Specified by:
        findByName in interface SyndicationDAO
        Parameters:
        name - name of the syndication
        tenantId - identifier of the syndication
        Returns:
        the syndication