Interface DDMStructureVersionPersistence

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

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

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    cacheResult(DDMStructureVersion ddmStructureVersion)
    Caches the ddm structure version in the entity cache if it is enabled.
    void
    cacheResult(List<DDMStructureVersion> ddmStructureVersions)
    Caches the ddm structure versions in the entity cache if it is enabled.
    int
    Returns the number of ddm structure versions.
    int
    countByS_S(long structureId, int status)
    Returns the number of ddm structure versions where structureId = ? and status = ?.
    int
    countByS_V(long structureId, String version)
    Returns the number of ddm structure versions where structureId = ? and version = ?.
    int
    countByStructureId(long structureId)
    Returns the number of ddm structure versions where structureId = ?.
    create(long structureVersionId)
    Creates a new ddm structure version with the primary key.
    fetchByPrimaryKey(long structureVersionId)
    Returns the ddm structure version with the primary key or returns null if it could not be found.
    fetchByS_S_First(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the first ddm structure version in the ordered set where structureId = ? and status = ?.
    fetchByS_S_Last(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the last ddm structure version in the ordered set where structureId = ? and status = ?.
    fetchByS_V(long structureId, String version)
    Returns the ddm structure version where structureId = ? and version = ? or returns null if it could not be found.
    fetchByS_V(long structureId, String version, boolean useFinderCache)
    Returns the ddm structure version where structureId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the first ddm structure version in the ordered set where structureId = ?.
    fetchByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the last ddm structure version in the ordered set where structureId = ?.
    Returns all the ddm structure versions.
    findAll(int start, int end)
    Returns a range of all the ddm structure versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns an ordered range of all the ddm structure versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm structure versions.
    findByPrimaryKey(long structureVersionId)
    Returns the ddm structure version with the primary key or throws a NoSuchStructureVersionException if it could not be found.
    findByS_S(long structureId, int status)
    Returns all the ddm structure versions where structureId = ? and status = ?.
    findByS_S(long structureId, int status, int start, int end)
    Returns a range of all the ddm structure versions where structureId = ? and status = ?.
    findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns an ordered range of all the ddm structure versions where structureId = ? and status = ?.
    findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm structure versions where structureId = ? and status = ?.
    findByS_S_First(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the first ddm structure version in the ordered set where structureId = ? and status = ?.
    findByS_S_Last(long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the last ddm structure version in the ordered set where structureId = ? and status = ?.
    findByS_S_PrevAndNext(long structureVersionId, long structureId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the ddm structure versions before and after the current ddm structure version in the ordered set where structureId = ? and status = ?.
    findByS_V(long structureId, String version)
    Returns the ddm structure version where structureId = ? and version = ? or throws a NoSuchStructureVersionException if it could not be found.
    findByStructureId(long structureId)
    Returns all the ddm structure versions where structureId = ?.
    findByStructureId(long structureId, int start, int end)
    Returns a range of all the ddm structure versions where structureId = ?.
    findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns an ordered range of all the ddm structure versions where structureId = ?.
    findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddm structure versions where structureId = ?.
    findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the first ddm structure version in the ordered set where structureId = ?.
    findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the last ddm structure version in the ordered set where structureId = ?.
    findByStructureId_PrevAndNext(long structureVersionId, long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
    Returns the ddm structure versions before and after the current ddm structure version in the ordered set where structureId = ?.
    remove(long structureVersionId)
    Removes the ddm structure version with the primary key from the database.
    void
    Removes all the ddm structure versions from the database.
    void
    removeByS_S(long structureId, int status)
    Removes all the ddm structure versions where structureId = ? and status = ? from the database.
    removeByS_V(long structureId, String version)
    Removes the ddm structure version where structureId = ? and version = ? from the database.
    void
    removeByStructureId(long structureId)
    Removes all the ddm structure versions where structureId = ? from the database.
    updateImpl(DDMStructureVersion ddmStructureVersion)
     

    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

    • findByStructureId

      List<DDMStructureVersion> findByStructureId(long structureId)
      Returns all the ddm structure versions where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the matching ddm structure versions
    • findByStructureId

      List<DDMStructureVersion> findByStructureId(long structureId, int start, int end)
      Returns a range of all the ddm structure versions where structureId = ?.

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

      Parameters:
      structureId - the structure ID
      start - the lower bound of the range of ddm structure versions
      end - the upper bound of the range of ddm structure versions (not inclusive)
      Returns:
      the range of matching ddm structure versions
    • findByStructureId

      List<DDMStructureVersion> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
      Returns an ordered range of all the ddm structure versions where structureId = ?.

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

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

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

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

      Parameters:
      structureId - the structure ID
      start - the lower bound of the range of ddm structure versions
      end - the upper bound of the range of ddm structure 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 structure versions
    • findByStructureId_First

      DDMStructureVersion findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
      Returns the first ddm structure version in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddm structure version
      Throws:
      NoSuchStructureVersionException - if a matching ddm structure version could not be found
    • fetchByStructureId_First

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

      DDMStructureVersion findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator) throws NoSuchStructureVersionException
      Returns the last ddm structure version in the ordered set where structureId = ?.
      Parameters:
      structureId - the structure ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching ddm structure version
      Throws:
      NoSuchStructureVersionException - if a matching ddm structure version could not be found
    • fetchByStructureId_Last

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

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

      void removeByStructureId(long structureId)
      Removes all the ddm structure versions where structureId = ? from the database.
      Parameters:
      structureId - the structure ID
    • countByStructureId

      int countByStructureId(long structureId)
      Returns the number of ddm structure versions where structureId = ?.
      Parameters:
      structureId - the structure ID
      Returns:
      the number of matching ddm structure versions
    • findByS_V

      DDMStructureVersion findByS_V(long structureId, String version) throws NoSuchStructureVersionException
      Returns the ddm structure version where structureId = ? and version = ? or throws a NoSuchStructureVersionException if it could not be found.
      Parameters:
      structureId - the structure ID
      version - the version
      Returns:
      the matching ddm structure version
      Throws:
      NoSuchStructureVersionException - if a matching ddm structure version could not be found
    • fetchByS_V

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

      DDMStructureVersion fetchByS_V(long structureId, String version, boolean useFinderCache)
      Returns the ddm structure version where structureId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      structureId - the structure ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddm structure version, or null if a matching ddm structure version could not be found
    • removeByS_V

      DDMStructureVersion removeByS_V(long structureId, String version) throws NoSuchStructureVersionException
      Removes the ddm structure version where structureId = ? and version = ? from the database.
      Parameters:
      structureId - the structure ID
      version - the version
      Returns:
      the ddm structure version that was removed
      Throws:
      NoSuchStructureVersionException
    • countByS_V

      int countByS_V(long structureId, String version)
      Returns the number of ddm structure versions where structureId = ? and version = ?.
      Parameters:
      structureId - the structure ID
      version - the version
      Returns:
      the number of matching ddm structure versions
    • findByS_S

      List<DDMStructureVersion> findByS_S(long structureId, int status)
      Returns all the ddm structure versions where structureId = ? and status = ?.
      Parameters:
      structureId - the structure ID
      status - the status
      Returns:
      the matching ddm structure versions
    • findByS_S

      List<DDMStructureVersion> findByS_S(long structureId, int status, int start, int end)
      Returns a range of all the ddm structure versions where structureId = ? 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 DDMStructureVersionModelImpl.

      Parameters:
      structureId - the structure ID
      status - the status
      start - the lower bound of the range of ddm structure versions
      end - the upper bound of the range of ddm structure versions (not inclusive)
      Returns:
      the range of matching ddm structure versions
    • findByS_S

      List<DDMStructureVersion> findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator)
      Returns an ordered range of all the ddm structure versions where structureId = ? 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 DDMStructureVersionModelImpl.

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

      List<DDMStructureVersion> findByS_S(long structureId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDMStructureVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddm structure versions where structureId = ? 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 DDMStructureVersionModelImpl.

      Parameters:
      structureId - the structure ID
      status - the status
      start - the lower bound of the range of ddm structure versions
      end - the upper bound of the range of ddm structure 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 structure versions
    • findByS_S_First

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

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

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

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

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

      void removeByS_S(long structureId, int status)
      Removes all the ddm structure versions where structureId = ? and status = ? from the database.
      Parameters:
      structureId - the structure ID
      status - the status
    • countByS_S

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

      void cacheResult(DDMStructureVersion ddmStructureVersion)
      Caches the ddm structure version in the entity cache if it is enabled.
      Parameters:
      ddmStructureVersion - the ddm structure version
    • cacheResult

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

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

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

      DDMStructureVersion updateImpl(DDMStructureVersion ddmStructureVersion)
    • findByPrimaryKey

      DDMStructureVersion findByPrimaryKey(long structureVersionId) throws NoSuchStructureVersionException
      Returns the ddm structure version with the primary key or throws a NoSuchStructureVersionException if it could not be found.
      Parameters:
      structureVersionId - the primary key of the ddm structure version
      Returns:
      the ddm structure version
      Throws:
      NoSuchStructureVersionException - if a ddm structure version with the primary key could not be found
    • fetchByPrimaryKey

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

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

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

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

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

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

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

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

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

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