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
public class HibernateSyndicationDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>
implements SyndicationDAO
Hibernate implementation of
SyndicationDAO- Since:
- 8.1.2
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(long systemId, int code) findByName(String name, long tenantId) Finds the syndication with the given nameMethods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, initialize, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, setSessionFactory, storeMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, 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, store
-
Method Details
-
delete
public void delete(long systemId, int code) throws com.logicaldoc.core.PersistenceException - Specified by:
deletein interfacecom.logicaldoc.core.PersistentObjectDAO<Syndication>- Overrides:
deletein classcom.logicaldoc.core.HibernatePersistentObjectDAO<Syndication>- Throws:
com.logicaldoc.core.PersistenceException
-
findByName
public 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 interfaceSyndicationDAO- Parameters:
name- name of the syndicationtenantId- identifier of the syndication- Returns:
- the syndication
- Throws:
com.logicaldoc.core.PersistenceException- Error in the database
-