Package com.logicaldoc.form
Class HibernateFormDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Form>
com.logicaldoc.form.HibernateFormDAO
@Repository("formDAO")
public class HibernateFormDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<Form>
implements FormDAO
Hibernate implementation of 
FormDAO- Since:
- 8.7
- Author:
- Marco Meschieri - LogicalDOC
- 
Field SummaryFields inherited from interface com.logicaldoc.core.PersistentObjectDAOENTITY
- 
Method SummaryModifier and TypeMethodDescriptionvoiddelete(long formId, int code) findByFormId(String formId) Finds the form with the given form identifierfindByName(String name, long tenantId) Finds the form with the given namevoidinitialize(Form form) voidsetSequenceDao(com.logicaldoc.core.sequence.SequenceDAO sequenceDao) voidMethods 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, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, setSessionFactoryMethods 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, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString
- 
Method Details- 
deletepublic void delete(long formId, int code) throws com.logicaldoc.core.PersistenceException 
- 
findByNameDescription copied from interface:FormDAOFinds the form with the given name- Specified by:
- findByNamein interface- FormDAO
- Parameters:
- name- name of the form
- tenantId- identifier of the tenant
- Returns:
- the found form
 
- 
findByFormIdDescription copied from interface:FormDAOFinds the form with the given form identifier- Specified by:
- findByFormIdin interface- FormDAO
- Parameters:
- formId- alternate identifier of the form
- Returns:
- the found form
 
- 
store
- 
initialize
- 
setSequenceDaopublic void setSequenceDao(com.logicaldoc.core.sequence.SequenceDAO sequenceDao) 
 
-