Interface FormDAO

All Superinterfaces:
com.logicaldoc.core.PersistentObjectDAO<Form>
All Known Implementing Classes:
HibernateFormDAO

public interface FormDAO extends com.logicaldoc.core.PersistentObjectDAO<Form>
DAO for Form handling.
Author:
Marco Meschieri - LogicalDOC
  • Field Summary

    Fields inherited from interface com.logicaldoc.core.PersistentObjectDAO

    ENTITY
  • Method Summary

    Modifier and Type
    Method
    Description
    Finds the form with the given form identifier
    findByName(String name, long tenantId)
    Finds the form with the given name

    Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO

    bulkUpdate, delete, delete, deleteAll, deleteAll, findAll, findAll, findAllIds, findAllIds, findById, findById, findByObjectQuery, findByQuery, findByWhere, findByWhere, findIdsByWhere, findIdsByWhere, getDatabaseMetadata, getDbms, initialize, isOracle, jdbcUpdate, jdbcUpdate, query, query, queryForDouble, queryForDouble, queryForInt, queryForList, queryForList, queryForList, queryForLong, queryForLong, queryForObject, queryForRowSet, queryForRowSet, queryForString, store
  • Method Details

    • findByName

      Form findByName(String name, long tenantId)
      Finds the form with the given name
      Parameters:
      name - name of the form
      tenantId - identifier of the tenant
      Returns:
      the found form
    • findByFormId

      Form findByFormId(String formId)
      Finds the form with the given form identifier
      Parameters:
      formId - alternate identifier of the form
      Returns:
      the found form