Package com.logicaldoc.form
Interface FormDAO
- All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<Form>
- All Known Implementing Classes:
HibernateFormDAO
DAO for
Form handling.- Author:
- Marco Meschieri - LogicalDOC
-
Field Summary
Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO
ENTITY -
Method Summary
Modifier and TypeMethodDescriptionfindByFormId(String formId) Finds the form with the given form identifierfindByName(String name, long tenantId) Finds the form with the given namestatic FormDAOget()Gets the object available in the application contextMethods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, delete, deleteAll, deleteAll, evict, evict, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, initialize, isMariaDB, isMySQL, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForObject, queryForResultSet, queryForString, queryForString, store
-
Method Details
-
get
Gets the object available in the application context- Returns:
- the instance of this object in the application context
-
findByName
Finds the form with the given name- Parameters:
name- name of the formtenantId- identifier of the tenant- Returns:
- the found form
-
findByFormId
Finds the form with the given form identifier- Parameters:
formId- alternate identifier of the form- Returns:
- the found form
-