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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Form findByFormId​(String formId)
      Finds the form with the given form identifier
      Form findByName​(String name, long tenantId)
      Finds the form with the given name
      • Methods inherited from interface com.logicaldoc.core.PersistentObjectDAO

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

      • 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