Package com.logicaldoc.form
Class HibernateFormDAO
java.lang.Object
com.logicaldoc.core.HibernatePersistentObjectDAO<Form>
com.logicaldoc.form.HibernateFormDAO
public class HibernateFormDAO
extends com.logicaldoc.core.HibernatePersistentObjectDAO<Form>
implements FormDAO
Hibernate implementation of
FormDAO- Since:
- 8.7
- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Method Summary
Modifier 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.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, getSessionFactory, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, setSessionFactoryMethods 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, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString
-
Method Details
-
delete
public void delete(long formId, int code) throws com.logicaldoc.core.PersistenceException -
findByName
Description copied from interface:FormDAOFinds the form with the given name- Specified by:
findByNamein interfaceFormDAO- Parameters:
name- name of the formtenantId- identifier of the tenant- Returns:
- the found form
-
findByFormId
Description copied from interface:FormDAOFinds the form with the given form identifier- Specified by:
findByFormIdin interfaceFormDAO- Parameters:
formId- alternate identifier of the form- Returns:
- the found form
-
store
-
initialize
-
setSequenceDao
public void setSequenceDao(com.logicaldoc.core.sequence.SequenceDAO sequenceDao)
-