Interface DDMFormInstanceReportPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceReport>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceReport>

@ProviderType public interface DDMFormInstanceReportPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMFormInstanceReport>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMFormInstanceReport>
The persistence interface for the ddm form instance report service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByFormInstanceId(long formInstanceId)
    Returns the number of ddm form instance reports where formInstanceId = ?.
    create(long formInstanceReportId)
    Creates a new ddm form instance report with the primary key.
    fetchByFormInstanceId(long formInstanceId)
    Returns the ddm form instance report where formInstanceId = ? or returns null if it could not be found.
    fetchByFormInstanceId(long formInstanceId, boolean useFinderCache)
    Returns the ddm form instance report where formInstanceId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long formInstanceReportId)
    Returns the ddm form instance report with the primary key or returns null if it could not be found.
    findByFormInstanceId(long formInstanceId)
    Returns the ddm form instance report where formInstanceId = ? or throws a NoSuchFormInstanceReportException if it could not be found.
    findByPrimaryKey(long formInstanceReportId)
    Returns the ddm form instance report with the primary key or throws a NoSuchFormInstanceReportException if it could not be found.
    remove(long formInstanceReportId)
    Removes the ddm form instance report with the primary key from the database.
    removeByFormInstanceId(long formInstanceId)
    Removes the ddm form instance report where formInstanceId = ? from the database.
    updateImpl(DDMFormInstanceReport ddmFormInstanceReport)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByFormInstanceId

      DDMFormInstanceReport findByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException
      Returns the ddm form instance report where formInstanceId = ? or throws a NoSuchFormInstanceReportException if it could not be found.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance report
      Throws:
      NoSuchFormInstanceReportException - if a matching ddm form instance report could not be found
    • fetchByFormInstanceId

      DDMFormInstanceReport fetchByFormInstanceId(long formInstanceId, boolean useFinderCache)
      Returns the ddm form instance report where formInstanceId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      formInstanceId - the form instance ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm form instance report, or null if a matching ddm form instance report could not be found
    • removeByFormInstanceId

      DDMFormInstanceReport removeByFormInstanceId(long formInstanceId) throws NoSuchFormInstanceReportException
      Removes the ddm form instance report where formInstanceId = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the ddm form instance report that was removed
      Throws:
      NoSuchFormInstanceReportException
    • countByFormInstanceId

      int countByFormInstanceId(long formInstanceId)
      Returns the number of ddm form instance reports where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the number of matching ddm form instance reports
    • create

      DDMFormInstanceReport create(long formInstanceReportId)
      Creates a new ddm form instance report with the primary key. Does not add the ddm form instance report to the database.
      Parameters:
      formInstanceReportId - the primary key for the new ddm form instance report
      Returns:
      the new ddm form instance report
    • remove

      DDMFormInstanceReport remove(long formInstanceReportId) throws NoSuchFormInstanceReportException
      Removes the ddm form instance report with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      formInstanceReportId - the primary key of the ddm form instance report
      Returns:
      the ddm form instance report that was removed
      Throws:
      NoSuchFormInstanceReportException - if a ddm form instance report with the primary key could not be found
    • updateImpl

      DDMFormInstanceReport updateImpl(DDMFormInstanceReport ddmFormInstanceReport)
    • findByPrimaryKey

      DDMFormInstanceReport findByPrimaryKey(long formInstanceReportId) throws NoSuchFormInstanceReportException
      Returns the ddm form instance report with the primary key or throws a NoSuchFormInstanceReportException if it could not be found.
      Parameters:
      formInstanceReportId - the primary key of the ddm form instance report
      Returns:
      the ddm form instance report
      Throws:
      NoSuchFormInstanceReportException - if a ddm form instance report with the primary key could not be found
    • fetchByPrimaryKey

      DDMFormInstanceReport fetchByPrimaryKey(long formInstanceReportId)
      Returns the ddm form instance report with the primary key or returns null if it could not be found.
      Parameters:
      formInstanceReportId - the primary key of the ddm form instance report
      Returns:
      the ddm form instance report, or null if a ddm form instance report with the primary key could not be found
    • fetchByFormInstanceId

      default DDMFormInstanceReport fetchByFormInstanceId(long formInstanceId)
      Returns the ddm form instance report where formInstanceId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance report, or null if a matching ddm form instance report could not be found