Package com.logicaldoc.syndication
Class HibernateSyndicationDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
com.logicaldoc.syndication.HibernateSyndicationDAO
- All Implemented Interfaces:
- com.logicaldoc.core.PersistentObjectDAO<Syndication>,- SyndicationDAO
@Repository("syndicationDAO")
public class HibernateSyndicationDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
implements SyndicationDAO
Hibernate implementation of 
SyndicationDAO- Since:
- 8.1.2
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long systemId, int code) findByName(String name, long tenantId) Finds the syndication with the given nameMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAObulkUpdate, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, setSessionFactory, storeMethods inherited from class java.lang.Objectequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logicaldoc.core.PersistentObjectDAObulkUpdate, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
- 
Method Details- 
deletepublic void delete(long systemId, int code) throws com.logicaldoc.core.PersistenceException - Specified by:
- deletein interface- com.logicaldoc.core.PersistentObjectDAO<Syndication>
- Overrides:
- deletein class- com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
- Throws:
- com.logicaldoc.core.PersistenceException
 
- 
findByNamepublic Syndication findByName(String name, long tenantId) throws com.logicaldoc.core.PersistenceException Description copied from interface:SyndicationDAOFinds the syndication with the given name- Specified by:
- findByNamein interface- SyndicationDAO
- Parameters:
- name- name of the syndication
- tenantId- identifier of the syndication
- Returns:
- the syndication
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the database
 
 
-