Package com.logicaldoc.form
Class HibernateFormDAO
- java.lang.Object
-
- com.logicaldoc.core.HibernatePersistentObjectDAO<Form>
-
- com.logicaldoc.form.HibernateFormDAO
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleandelete(long formId, int code)FormfindByFormId(String formId)Finds the form with the given form identifierFormfindById(long id)FormfindByName(String name, long tenantId)Finds the form with the given namevoidinitialize(Form form)voidsetSequenceDao(com.logicaldoc.core.sequence.SequenceDAO sequenceDao)booleanstore(Form form)-
Methods inherited from class com.logicaldoc.core.HibernatePersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, getSessionFactory, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString, setSessionFactory
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO
bulkUpdate, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDbms, isOracle, jdbcUpdate, jdbcUpdate, query, queryForInt, queryForList, queryForList, queryForLong, queryForObject, queryForRowSet, queryForString
-
-
-
-
Method Detail
-
delete
public boolean delete(long formId, int code)
-
findByName
public Form findByName(String name, long tenantId)
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
public Form findByFormId(String formId)
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
-
findById
public Form findById(long id)
-
store
public boolean store(Form form) throws com.logicaldoc.core.PersistenceException
-
initialize
public void initialize(Form form)
-
setSequenceDao
public void setSequenceDao(com.logicaldoc.core.sequence.SequenceDAO sequenceDao)
-
-