Interface DDMFormInstanceVersionPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    countByF_S(long formInstanceId, int status)
    Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.
    int
    countByF_V(long formInstanceId, String version)
    Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.
    int
    countByFormInstanceId(long formInstanceId)
    Returns the number of ddm form instance versions where formInstanceId = ?.
    create(long formInstanceVersionId)
    Creates a new ddm form instance version with the primary key.
    fetchByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
    fetchByF_V(long formInstanceId, String version)
    Returns the ddm form instance version where formInstanceId = ? and version = ? or returns null if it could not be found.
    fetchByF_V(long formInstanceId, String version, boolean useFinderCache)
    Returns the ddm form instance version where formInstanceId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
    fetchByPrimaryKey(long formInstanceVersionId)
    Returns the ddm form instance version with the primary key or returns null if it could not be found.
    findByF_S(long formInstanceId, int status)
    Returns all the ddm form instance versions where formInstanceId = ? and status = ?.
    findByF_S(long formInstanceId, int status, int start, int end)
    Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.
    findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
    findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.
    findByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
    findByF_V(long formInstanceId, String version)
    Returns the ddm form instance version where formInstanceId = ? and version = ? or throws a NoSuchFormInstanceVersionException if it could not be found.
    findByFormInstanceId(long formInstanceId)
    Returns all the ddm form instance versions where formInstanceId = ?.
    findByFormInstanceId(long formInstanceId, int start, int end)
    Returns a range of all the ddm form instance versions where formInstanceId = ?.
    findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
    findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.
    findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
    findByPrimaryKey(long formInstanceVersionId)
    Returns the ddm form instance version with the primary key or throws a NoSuchFormInstanceVersionException if it could not be found.
    remove(long formInstanceVersionId)
    Removes the ddm form instance version with the primary key from the database.
    void
    removeByF_S(long formInstanceId, int status)
    Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.
    removeByF_V(long formInstanceId, String version)
    Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.
    void
    removeByFormInstanceId(long formInstanceId)
    Removes all the ddm form instance versions where formInstanceId = ? from the database.
    updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion)
     

    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

      List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm form instance versions
    • findByFormInstanceId_First

      DDMFormInstanceVersion findByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a matching ddm form instance version could not be found
    • fetchByFormInstanceId_First

      DDMFormInstanceVersion fetchByFormInstanceId_First(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns the first ddm form instance version in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • removeByFormInstanceId

      void removeByFormInstanceId(long formInstanceId)
      Removes all the ddm form instance versions where formInstanceId = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
    • countByFormInstanceId

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

      DDMFormInstanceVersion findByF_V(long formInstanceId, String version) throws NoSuchFormInstanceVersionException
      Returns the ddm form instance version where formInstanceId = ? and version = ? or throws a NoSuchFormInstanceVersionException if it could not be found.
      Parameters:
      formInstanceId - the form instance ID
      version - the version
      Returns:
      the matching ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a matching ddm form instance version could not be found
    • fetchByF_V

      DDMFormInstanceVersion fetchByF_V(long formInstanceId, String version, boolean useFinderCache)
      Returns the ddm form instance version where formInstanceId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      formInstanceId - the form instance ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • removeByF_V

      DDMFormInstanceVersion removeByF_V(long formInstanceId, String version) throws NoSuchFormInstanceVersionException
      Removes the ddm form instance version where formInstanceId = ? and version = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
      version - the version
      Returns:
      the ddm form instance version that was removed
      Throws:
      NoSuchFormInstanceVersionException
    • countByF_V

      int countByF_V(long formInstanceId, String version)
      Returns the number of ddm form instance versions where formInstanceId = ? and version = ?.
      Parameters:
      formInstanceId - the form instance ID
      version - the version
      Returns:
      the number of matching ddm form instance versions
    • findByF_S

      List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      status - the status
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching ddm form instance versions
    • findByF_S_First

      DDMFormInstanceVersion findByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
      Parameters:
      formInstanceId - the form instance ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a matching ddm form instance version could not be found
    • fetchByF_S_First

      DDMFormInstanceVersion fetchByF_S_First(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns the first ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
      Parameters:
      formInstanceId - the form instance ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • removeByF_S

      void removeByF_S(long formInstanceId, int status)
      Removes all the ddm form instance versions where formInstanceId = ? and status = ? from the database.
      Parameters:
      formInstanceId - the form instance ID
      status - the status
    • countByF_S

      int countByF_S(long formInstanceId, int status)
      Returns the number of ddm form instance versions where formInstanceId = ? and status = ?.
      Parameters:
      formInstanceId - the form instance ID
      status - the status
      Returns:
      the number of matching ddm form instance versions
    • create

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

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

      DDMFormInstanceVersion updateImpl(DDMFormInstanceVersion ddmFormInstanceVersion)
    • findByPrimaryKey

      DDMFormInstanceVersion findByPrimaryKey(long formInstanceVersionId) throws NoSuchFormInstanceVersionException
      Returns the ddm form instance version with the primary key or throws a NoSuchFormInstanceVersionException if it could not be found.
      Parameters:
      formInstanceVersionId - the primary key of the ddm form instance version
      Returns:
      the ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a ddm form instance version with the primary key could not be found
    • fetchByPrimaryKey

      DDMFormInstanceVersion fetchByPrimaryKey(long formInstanceVersionId)
      Returns the ddm form instance version with the primary key or returns null if it could not be found.
      Parameters:
      formInstanceVersionId - the primary key of the ddm form instance version
      Returns:
      the ddm form instance version, or null if a ddm form instance version with the primary key could not be found
    • fetchByF_V

      default DDMFormInstanceVersion fetchByF_V(long formInstanceId, String version)
      Returns the ddm form instance version where formInstanceId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      formInstanceId - the form instance ID
      version - the version
      Returns:
      the matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • findByFormInstanceId

      default List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId)
      Returns all the ddm form instance versions where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance versions
    • findByFormInstanceId

      default List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end)
      Returns a range of all the ddm form instance versions where formInstanceId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      Returns:
      the range of matching ddm form instance versions
    • findByFormInstanceId

      default List<DDMFormInstanceVersion> findByFormInstanceId(long formInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns an ordered range of all the ddm form instance versions where formInstanceId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instance versions
    • findByF_S

      default List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status)
      Returns all the ddm form instance versions where formInstanceId = ? and status = ?.
      Parameters:
      formInstanceId - the form instance ID
      status - the status
      Returns:
      the matching ddm form instance versions
    • findByF_S

      default List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end)
      Returns a range of all the ddm form instance versions where formInstanceId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      status - the status
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      Returns:
      the range of matching ddm form instance versions
    • findByF_S

      default List<DDMFormInstanceVersion> findByF_S(long formInstanceId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns an ordered range of all the ddm form instance versions where formInstanceId = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from com.liferay.dynamic.data.mapping.model.impl.DDMFormInstanceVersionModelImpl.

      Parameters:
      formInstanceId - the form instance ID
      status - the status
      start - the lower bound of the range of ddm form instance versions
      end - the upper bound of the range of ddm form instance versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddm form instance versions