Interface DDMTemplateVersionPersistence

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

@ProviderType public interface DDMTemplateVersionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<DDMTemplateVersion>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDMTemplateVersion>
The persistence interface for the ddm template version service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DDMTemplateVersion ddmTemplateVersion)
    Caches the ddm template version in the entity cache if it is enabled.
    void
    cacheResult(List<DDMTemplateVersion> ddmTemplateVersions)
    Caches the ddm template versions in the entity cache if it is enabled.
    int
    Returns the number of ddm template versions.
    int
    countByT_S(long templateId, int status)
    Returns the number of ddm template versions where templateId = ? and status = ?.
    int
    countByT_V(long templateId, String version)
    Returns the number of ddm template versions where templateId = ? and version = ?.
    int
    countByTemplateId(long templateId)
    Returns the number of ddm template versions where templateId = ?.
    create(long templateVersionId)
    Creates a new ddm template version with the primary key.
    fetchByPrimaryKey(long templateVersionId)
    Returns the ddm template version with the primary key or returns null if it could not be found.
    fetchByT_S_First(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the first ddm template version in the ordered set where templateId = ? and status = ?.
    fetchByT_S_Last(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the last ddm template version in the ordered set where templateId = ? and status = ?.
    fetchByT_V(long templateId, String version)
    Returns the ddm template version where templateId = ? and version = ? or returns null if it could not be found.
    fetchByT_V(long templateId, String version, boolean useFinderCache)
    Returns the ddm template version where templateId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByTemplateId_First(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the first ddm template version in the ordered set where templateId = ?.
    fetchByTemplateId_Last(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the last ddm template version in the ordered set where templateId = ?.
    Returns all the ddm template versions.
    findAll(int start, int end)
    Returns a range of all the ddm template versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns an ordered range of all the ddm template versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm template versions.
    findByPrimaryKey(long templateVersionId)
    Returns the ddm template version with the primary key or throws a NoSuchTemplateVersionException if it could not be found.
    findByT_S(long templateId, int status)
    Returns all the ddm template versions where templateId = ? and status = ?.
    findByT_S(long templateId, int status, int start, int end)
    Returns a range of all the ddm template versions where templateId = ? and status = ?.
    findByT_S(long templateId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns an ordered range of all the ddm template versions where templateId = ? and status = ?.
    findByT_S(long templateId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm template versions where templateId = ? and status = ?.
    findByT_S_First(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the first ddm template version in the ordered set where templateId = ? and status = ?.
    findByT_S_Last(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the last ddm template version in the ordered set where templateId = ? and status = ?.
    findByT_S_PrevAndNext(long templateVersionId, long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the ddm template versions before and after the current ddm template version in the ordered set where templateId = ? and status = ?.
    findByT_V(long templateId, String version)
    Returns the ddm template version where templateId = ? and version = ? or throws a NoSuchTemplateVersionException if it could not be found.
    findByTemplateId(long templateId)
    Returns all the ddm template versions where templateId = ?.
    findByTemplateId(long templateId, int start, int end)
    Returns a range of all the ddm template versions where templateId = ?.
    findByTemplateId(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns an ordered range of all the ddm template versions where templateId = ?.
    findByTemplateId(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm template versions where templateId = ?.
    findByTemplateId_First(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the first ddm template version in the ordered set where templateId = ?.
    findByTemplateId_Last(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the last ddm template version in the ordered set where templateId = ?.
    findByTemplateId_PrevAndNext(long templateVersionId, long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
    Returns the ddm template versions before and after the current ddm template version in the ordered set where templateId = ?.
    remove(long templateVersionId)
    Removes the ddm template version with the primary key from the database.
    void
    Removes all the ddm template versions from the database.
    void
    removeByT_S(long templateId, int status)
    Removes all the ddm template versions where templateId = ? and status = ? from the database.
    removeByT_V(long templateId, String version)
    Removes the ddm template version where templateId = ? and version = ? from the database.
    void
    removeByTemplateId(long templateId)
    Removes all the ddm template versions where templateId = ? from the database.
    updateImpl(DDMTemplateVersion ddmTemplateVersion)
     

    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

    • findByTemplateId

      List<DDMTemplateVersion> findByTemplateId(long templateId)
      Returns all the ddm template versions where templateId = ?.
      Parameters:
      templateId - the template ID
      Returns:
      the matching ddm template versions
    • findByTemplateId

      List<DDMTemplateVersion> findByTemplateId(long templateId, int start, int end)
      Returns a range of all the ddm template versions where templateId = ?.

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

      Parameters:
      templateId - the template ID
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template versions (not inclusive)
      Returns:
      the range of matching ddm template versions
    • findByTemplateId

      List<DDMTemplateVersion> findByTemplateId(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
      Returns an ordered range of all the ddm template versions where templateId = ?.

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

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

      List<DDMTemplateVersion> findByTemplateId(long templateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm template versions where templateId = ?.

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

      Parameters:
      templateId - the template ID
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template 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 template versions
    • findByTemplateId_First

      DDMTemplateVersion findByTemplateId_First(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the first ddm template version in the ordered set where templateId = ?.
      Parameters:
      templateId - the template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm template version
      Throws:
      NoSuchTemplateVersionException - if a matching ddm template version could not be found
    • fetchByTemplateId_First

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

      DDMTemplateVersion findByTemplateId_Last(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the last ddm template version in the ordered set where templateId = ?.
      Parameters:
      templateId - the template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm template version
      Throws:
      NoSuchTemplateVersionException - if a matching ddm template version could not be found
    • fetchByTemplateId_Last

      DDMTemplateVersion fetchByTemplateId_Last(long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
      Returns the last ddm template version in the ordered set where templateId = ?.
      Parameters:
      templateId - the template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm template version, or null if a matching ddm template version could not be found
    • findByTemplateId_PrevAndNext

      DDMTemplateVersion[] findByTemplateId_PrevAndNext(long templateVersionId, long templateId, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the ddm template versions before and after the current ddm template version in the ordered set where templateId = ?.
      Parameters:
      templateVersionId - the primary key of the current ddm template version
      templateId - the template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm template version
      Throws:
      NoSuchTemplateVersionException - if a ddm template version with the primary key could not be found
    • removeByTemplateId

      void removeByTemplateId(long templateId)
      Removes all the ddm template versions where templateId = ? from the database.
      Parameters:
      templateId - the template ID
    • countByTemplateId

      int countByTemplateId(long templateId)
      Returns the number of ddm template versions where templateId = ?.
      Parameters:
      templateId - the template ID
      Returns:
      the number of matching ddm template versions
    • findByT_V

      DDMTemplateVersion findByT_V(long templateId, String version) throws NoSuchTemplateVersionException
      Returns the ddm template version where templateId = ? and version = ? or throws a NoSuchTemplateVersionException if it could not be found.
      Parameters:
      templateId - the template ID
      version - the version
      Returns:
      the matching ddm template version
      Throws:
      NoSuchTemplateVersionException - if a matching ddm template version could not be found
    • fetchByT_V

      DDMTemplateVersion fetchByT_V(long templateId, String version)
      Returns the ddm template version where templateId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      templateId - the template ID
      version - the version
      Returns:
      the matching ddm template version, or null if a matching ddm template version could not be found
    • fetchByT_V

      DDMTemplateVersion fetchByT_V(long templateId, String version, boolean useFinderCache)
      Returns the ddm template version where templateId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      templateId - the template ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm template version, or null if a matching ddm template version could not be found
    • removeByT_V

      DDMTemplateVersion removeByT_V(long templateId, String version) throws NoSuchTemplateVersionException
      Removes the ddm template version where templateId = ? and version = ? from the database.
      Parameters:
      templateId - the template ID
      version - the version
      Returns:
      the ddm template version that was removed
      Throws:
      NoSuchTemplateVersionException
    • countByT_V

      int countByT_V(long templateId, String version)
      Returns the number of ddm template versions where templateId = ? and version = ?.
      Parameters:
      templateId - the template ID
      version - the version
      Returns:
      the number of matching ddm template versions
    • findByT_S

      List<DDMTemplateVersion> findByT_S(long templateId, int status)
      Returns all the ddm template versions where templateId = ? and status = ?.
      Parameters:
      templateId - the template ID
      status - the status
      Returns:
      the matching ddm template versions
    • findByT_S

      List<DDMTemplateVersion> findByT_S(long templateId, int status, int start, int end)
      Returns a range of all the ddm template versions where templateId = ? 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 DDMTemplateVersionModelImpl.

      Parameters:
      templateId - the template ID
      status - the status
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template versions (not inclusive)
      Returns:
      the range of matching ddm template versions
    • findByT_S

      List<DDMTemplateVersion> findByT_S(long templateId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
      Returns an ordered range of all the ddm template versions where templateId = ? 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 DDMTemplateVersionModelImpl.

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

      List<DDMTemplateVersion> findByT_S(long templateId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm template versions where templateId = ? 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 DDMTemplateVersionModelImpl.

      Parameters:
      templateId - the template ID
      status - the status
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template 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 template versions
    • findByT_S_First

      DDMTemplateVersion findByT_S_First(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the first ddm template version in the ordered set where templateId = ? and status = ?.
      Parameters:
      templateId - the template ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm template version
      Throws:
      NoSuchTemplateVersionException - if a matching ddm template version could not be found
    • fetchByT_S_First

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

      DDMTemplateVersion findByT_S_Last(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the last ddm template version in the ordered set where templateId = ? and status = ?.
      Parameters:
      templateId - the template ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm template version
      Throws:
      NoSuchTemplateVersionException - if a matching ddm template version could not be found
    • fetchByT_S_Last

      DDMTemplateVersion fetchByT_S_Last(long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
      Returns the last ddm template version in the ordered set where templateId = ? and status = ?.
      Parameters:
      templateId - the template ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm template version, or null if a matching ddm template version could not be found
    • findByT_S_PrevAndNext

      DDMTemplateVersion[] findByT_S_PrevAndNext(long templateVersionId, long templateId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator) throws NoSuchTemplateVersionException
      Returns the ddm template versions before and after the current ddm template version in the ordered set where templateId = ? and status = ?.
      Parameters:
      templateVersionId - the primary key of the current ddm template version
      templateId - the template ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddm template version
      Throws:
      NoSuchTemplateVersionException - if a ddm template version with the primary key could not be found
    • removeByT_S

      void removeByT_S(long templateId, int status)
      Removes all the ddm template versions where templateId = ? and status = ? from the database.
      Parameters:
      templateId - the template ID
      status - the status
    • countByT_S

      int countByT_S(long templateId, int status)
      Returns the number of ddm template versions where templateId = ? and status = ?.
      Parameters:
      templateId - the template ID
      status - the status
      Returns:
      the number of matching ddm template versions
    • cacheResult

      void cacheResult(DDMTemplateVersion ddmTemplateVersion)
      Caches the ddm template version in the entity cache if it is enabled.
      Parameters:
      ddmTemplateVersion - the ddm template version
    • cacheResult

      void cacheResult(List<DDMTemplateVersion> ddmTemplateVersions)
      Caches the ddm template versions in the entity cache if it is enabled.
      Parameters:
      ddmTemplateVersions - the ddm template versions
    • create

      DDMTemplateVersion create(long templateVersionId)
      Creates a new ddm template version with the primary key. Does not add the ddm template version to the database.
      Parameters:
      templateVersionId - the primary key for the new ddm template version
      Returns:
      the new ddm template version
    • remove

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

      DDMTemplateVersion updateImpl(DDMTemplateVersion ddmTemplateVersion)
    • findByPrimaryKey

      DDMTemplateVersion findByPrimaryKey(long templateVersionId) throws NoSuchTemplateVersionException
      Returns the ddm template version with the primary key or throws a NoSuchTemplateVersionException if it could not be found.
      Parameters:
      templateVersionId - the primary key of the ddm template version
      Returns:
      the ddm template version
      Throws:
      NoSuchTemplateVersionException - if a ddm template version with the primary key could not be found
    • fetchByPrimaryKey

      DDMTemplateVersion fetchByPrimaryKey(long templateVersionId)
      Returns the ddm template version with the primary key or returns null if it could not be found.
      Parameters:
      templateVersionId - the primary key of the ddm template version
      Returns:
      the ddm template version, or null if a ddm template version with the primary key could not be found
    • findAll

      Returns all the ddm template versions.
      Returns:
      the ddm template versions
    • findAll

      List<DDMTemplateVersion> findAll(int start, int end)
      Returns a range of all the ddm template 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 DDMTemplateVersionModelImpl.

      Parameters:
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template versions (not inclusive)
      Returns:
      the range of ddm template versions
    • findAll

      List<DDMTemplateVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator)
      Returns an ordered range of all the ddm template 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 DDMTemplateVersionModelImpl.

      Parameters:
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of ddm template versions
    • findAll

      List<DDMTemplateVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMTemplateVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm template 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 DDMTemplateVersionModelImpl.

      Parameters:
      start - the lower bound of the range of ddm template versions
      end - the upper bound of the range of ddm template 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 template versions
    • removeAll

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

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