Class DDLRecordVersionUtil

java.lang.Object
com.liferay.dynamic.data.lists.service.persistence.DDLRecordVersionUtil

public class DDLRecordVersionUtil extends Object
The persistence utility for the ddl record version service. This utility wraps com.liferay.dynamic.data.lists.service.persistence.impl.DDLRecordVersionPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • DDLRecordVersionUtil

      public DDLRecordVersionUtil()
  • Method Details

    • cacheResult

      public static void cacheResult(List<DDLRecordVersion> ddlRecordVersions)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(DDLRecordVersion ddlRecordVersion)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(DDLRecordVersion ddlRecordVersion)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,DDLRecordVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static DDLRecordVersion update(DDLRecordVersion ddlRecordVersion)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static DDLRecordVersion update(DDLRecordVersion ddlRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByRecordId

      public static List<DDLRecordVersion> findByRecordId(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl record versions where recordId = ?.

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

      Parameters:
      recordId - the record ID
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record 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 ddl record versions
    • findByRecordId_First

      public static DDLRecordVersion findByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the first ddl record version in the ordered set where recordId = ?.
      Parameters:
      recordId - the record ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version
    • fetchByRecordId_First

      public static DDLRecordVersion fetchByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the first ddl record version in the ordered set where recordId = ?.
      Parameters:
      recordId - the record ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version, or null if a matching ddl record version could not be found
    • removeByRecordId

      public static void removeByRecordId(long recordId)
      Removes all the ddl record versions where recordId = ? from the database.
      Parameters:
      recordId - the record ID
    • countByRecordId

      public static int countByRecordId(long recordId)
      Returns the number of ddl record versions where recordId = ?.
      Parameters:
      recordId - the record ID
      Returns:
      the number of matching ddl record versions
    • findByR_R

      public static List<DDLRecordVersion> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.

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

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record 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 ddl record versions
    • findByR_R_First

      public static DDLRecordVersion findByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version
    • fetchByR_R_First

      public static DDLRecordVersion fetchByR_R_First(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version, or null if a matching ddl record version could not be found
    • removeByR_R

      public static void removeByR_R(long recordSetId, String recordSetVersion)
      Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
    • countByR_R

      public static int countByR_R(long recordSetId, String recordSetVersion)
      Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      Returns:
      the number of matching ddl record versions
    • findByR_V

      public static DDLRecordVersion findByR_V(long recordId, String version) throws NoSuchRecordVersionException
      Returns the ddl record version where recordId = ? and version = ? or throws a NoSuchRecordVersionException if it could not be found.
      Parameters:
      recordId - the record ID
      version - the version
      Returns:
      the matching ddl record version
    • fetchByR_V

      public static DDLRecordVersion fetchByR_V(long recordId, String version, boolean useFinderCache)
      Returns the ddl record version where recordId = ? and version = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      recordId - the record ID
      version - the version
      useFinderCache - whether to use the finder cache
      Returns:
      the matching ddl record version, or null if a matching ddl record version could not be found
    • removeByR_V

      public static DDLRecordVersion removeByR_V(long recordId, String version) throws NoSuchRecordVersionException
      Removes the ddl record version where recordId = ? and version = ? from the database.
      Parameters:
      recordId - the record ID
      version - the version
      Returns:
      the ddl record version that was removed
      Throws:
      NoSuchRecordVersionException
    • countByR_V

      public static int countByR_V(long recordId, String version)
      Returns the number of ddl record versions where recordId = ? and version = ?.
      Parameters:
      recordId - the record ID
      version - the version
      Returns:
      the number of matching ddl record versions
    • findByR_S

      public static List<DDLRecordVersion> findByR_S(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl record versions where recordId = ? and status = ?.

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

      Parameters:
      recordId - the record ID
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record 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 ddl record versions
    • findByR_S_First

      public static DDLRecordVersion findByR_S_First(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the first ddl record version in the ordered set where recordId = ? and status = ?.
      Parameters:
      recordId - the record ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version
    • fetchByR_S_First

      public static DDLRecordVersion fetchByR_S_First(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the first ddl record version in the ordered set where recordId = ? and status = ?.
      Parameters:
      recordId - the record ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version, or null if a matching ddl record version could not be found
    • removeByR_S

      public static void removeByR_S(long recordId, int status)
      Removes all the ddl record versions where recordId = ? and status = ? from the database.
      Parameters:
      recordId - the record ID
      status - the status
    • countByR_S

      public static int countByR_S(long recordId, int status)
      Returns the number of ddl record versions where recordId = ? and status = ?.
      Parameters:
      recordId - the record ID
      status - the status
      Returns:
      the number of matching ddl record versions
    • findByU_R_R_S

      public static List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.

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

      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record 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 ddl record versions
    • findByU_R_R_S_First

      public static DDLRecordVersion findByU_R_R_S_First(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version
    • fetchByU_R_R_S_First

      public static DDLRecordVersion fetchByU_R_R_S_First(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching ddl record version, or null if a matching ddl record version could not be found
    • removeByU_R_R_S

      public static void removeByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status)
      Removes all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ? from the database.
      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
    • countByU_R_R_S

      public static int countByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status)
      Returns the number of ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      Returns:
      the number of matching ddl record versions
    • create

      public static DDLRecordVersion create(long recordVersionId)
      Creates a new ddl record version with the primary key. Does not add the ddl record version to the database.
      Parameters:
      recordVersionId - the primary key for the new ddl record version
      Returns:
      the new ddl record version
    • remove

      public static DDLRecordVersion remove(long recordVersionId) throws NoSuchRecordVersionException
      Removes the ddl record version with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      recordVersionId - the primary key of the ddl record version
      Returns:
      the ddl record version that was removed
    • updateImpl

      public static DDLRecordVersion updateImpl(DDLRecordVersion ddlRecordVersion)
    • findByPrimaryKey

      public static DDLRecordVersion findByPrimaryKey(long recordVersionId) throws NoSuchRecordVersionException
      Returns the ddl record version with the primary key or throws a NoSuchRecordVersionException if it could not be found.
      Parameters:
      recordVersionId - the primary key of the ddl record version
      Returns:
      the ddl record version
    • fetchByPrimaryKey

      public static DDLRecordVersion fetchByPrimaryKey(long recordVersionId)
      Returns the ddl record version with the primary key or returns null if it could not be found.
      Parameters:
      recordVersionId - the primary key of the ddl record version
      Returns:
      the ddl record version, or null if a ddl record version with the primary key could not be found
    • fetchByR_V

      public static DDLRecordVersion fetchByR_V(long recordId, String version)
      Returns the ddl record version where recordId = ? and version = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      recordId - the record ID
      version - the version
      Returns:
      the matching ddl record version, or null if a matching ddl record version could not be found
    • findByRecordId

      public static List<DDLRecordVersion> findByRecordId(long recordId)
      Returns all the ddl record versions where recordId = ?.
      Parameters:
      recordId - the record ID
      Returns:
      the matching ddl record versions
    • findByRecordId

      public static List<DDLRecordVersion> findByRecordId(long recordId, int start, int end)
      Returns a range of all the ddl record versions where recordId = ?.

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

      Parameters:
      recordId - the record ID
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      Returns:
      the range of matching ddl record versions
    • findByRecordId

      public static List<DDLRecordVersion> findByRecordId(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns an ordered range of all the ddl record versions where recordId = ?.

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

      Parameters:
      recordId - the record ID
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl record versions
    • findByR_R

      public static List<DDLRecordVersion> findByR_R(long recordSetId, String recordSetVersion)
      Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      Returns:
      the matching ddl record versions
    • findByR_R

      public static List<DDLRecordVersion> findByR_R(long recordSetId, String recordSetVersion, int start, int end)
      Returns a range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.

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

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      Returns:
      the range of matching ddl record versions
    • findByR_R

      public static List<DDLRecordVersion> findByR_R(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.

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

      Parameters:
      recordSetId - the record set ID
      recordSetVersion - the record set version
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl record versions
    • findByR_S

      public static List<DDLRecordVersion> findByR_S(long recordId, int status)
      Returns all the ddl record versions where recordId = ? and status = ?.
      Parameters:
      recordId - the record ID
      status - the status
      Returns:
      the matching ddl record versions
    • findByR_S

      public static List<DDLRecordVersion> findByR_S(long recordId, int status, int start, int end)
      Returns a range of all the ddl record versions where recordId = ? and status = ?.

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

      Parameters:
      recordId - the record ID
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      Returns:
      the range of matching ddl record versions
    • findByR_S

      public static List<DDLRecordVersion> findByR_S(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns an ordered range of all the ddl record versions where recordId = ? and status = ?.

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

      Parameters:
      recordId - the record ID
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl record versions
    • findByU_R_R_S

      public static List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status)
      Returns all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      Returns:
      the matching ddl record versions
    • findByU_R_R_S

      public static List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status, int start, int end)
      Returns a range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.

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

      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      Returns:
      the range of matching ddl record versions
    • findByU_R_R_S

      public static List<DDLRecordVersion> findByU_R_R_S(long userId, long recordSetId, String recordSetVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.

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

      Parameters:
      userId - the user ID
      recordSetId - the record set ID
      recordSetVersion - the record set version
      status - the status
      start - the lower bound of the range of ddl record versions
      end - the upper bound of the range of ddl record versions (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching ddl record versions
    • getPersistence

      public static DDLRecordVersionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDLRecordVersionPersistence persistence)