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
    void
    cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
    Caches the ddm form instance version in the entity cache if it is enabled.
    void
    cacheResult(List<DDMFormInstanceVersion> ddmFormInstanceVersions)
    Caches the ddm form instance versions in the entity cache if it is enabled.
    int
    Returns the number of ddm form instance versions.
    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_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the last 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 = ?.
    fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the last 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.
    Returns all the ddm form instance versions.
    findAll(int start, int end)
    Returns a range of all the ddm form instance versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns an ordered range of all the ddm form instance versions.
    findAll(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.
    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_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the last ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
    findByF_S_PrevAndNext(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the ddm form instance versions before and after the current 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 = ?.
    findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the last ddm form instance version in the ordered set where formInstanceId = ?.
    findByFormInstanceId_PrevAndNext(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
    Returns the ddm form instance versions before and after the current 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
    Removes all the ddm form instance versions 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

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, 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)
      Returns all the ddm form instance versions where formInstanceId = ?.
      Parameters:
      formInstanceId - the form instance ID
      Returns:
      the matching ddm form instance versions
    • findByFormInstanceId

      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 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 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

      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 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 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
    • 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 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 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
    • findByFormInstanceId_Last

      DDMFormInstanceVersion findByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the last 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 last matching ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a matching ddm form instance version could not be found
    • fetchByFormInstanceId_Last

      DDMFormInstanceVersion fetchByFormInstanceId_Last(long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns the last 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 last matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • findByFormInstanceId_PrevAndNext

      DDMFormInstanceVersion[] findByFormInstanceId_PrevAndNext(long formInstanceVersionId, long formInstanceId, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ?.
      Parameters:
      formInstanceVersionId - the primary key of the current ddm form instance version
      formInstanceId - the form instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a ddm form instance version with the primary key 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)
      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
    • 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)
      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

      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 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 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

      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 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 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
    • 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 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 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
    • findByF_S_Last

      DDMFormInstanceVersion findByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the last 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 last matching ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a matching ddm form instance version could not be found
    • fetchByF_S_Last

      DDMFormInstanceVersion fetchByF_S_Last(long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns the last 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 last matching ddm form instance version, or null if a matching ddm form instance version could not be found
    • findByF_S_PrevAndNext

      DDMFormInstanceVersion[] findByF_S_PrevAndNext(long formInstanceVersionId, long formInstanceId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator) throws NoSuchFormInstanceVersionException
      Returns the ddm form instance versions before and after the current ddm form instance version in the ordered set where formInstanceId = ? and status = ?.
      Parameters:
      formInstanceVersionId - the primary key of the current ddm form instance version
      formInstanceId - the form instance ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm form instance version
      Throws:
      NoSuchFormInstanceVersionException - if a ddm form instance version with the primary key 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
    • cacheResult

      void cacheResult(DDMFormInstanceVersion ddmFormInstanceVersion)
      Caches the ddm form instance version in the entity cache if it is enabled.
      Parameters:
      ddmFormInstanceVersion - the ddm form instance version
    • cacheResult

      void cacheResult(List<DDMFormInstanceVersion> ddmFormInstanceVersions)
      Caches the ddm form instance versions in the entity cache if it is enabled.
      Parameters:
      ddmFormInstanceVersions - the 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
    • findAll

      Returns all the ddm form instance versions.
      Returns:
      the ddm form instance versions
    • findAll

      List<DDMFormInstanceVersion> findAll(int start, int end)
      Returns a range of all the ddm form instance versions.

      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 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 DDMFormInstanceVersionModelImpl.

      Parameters:
      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 ddm form instance versions
    • findAll

      List<DDMFormInstanceVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMFormInstanceVersion> orderByComparator)
      Returns an ordered range of all the ddm form instance versions.

      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 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 DDMFormInstanceVersionModelImpl.

      Parameters:
      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 ddm form instance versions
    • findAll

      List<DDMFormInstanceVersion> findAll(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.

      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 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 DDMFormInstanceVersionModelImpl.

      Parameters:
      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 ddm form instance versions
    • removeAll

      void removeAll()
      Removes all the ddm form instance versions from the database.
    • countAll

      int countAll()
      Returns the number of ddm form instance versions.
      Returns:
      the number of ddm form instance versions