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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(DDLRecordVersion ddlRecordVersion)
    Caches the ddl record version in the entity cache if it is enabled.
    static void
    cacheResult(List<DDLRecordVersion> ddlRecordVersions)
    Caches the ddl record versions in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(DDLRecordVersion ddlRecordVersion)
     
    static int
    Returns the number of ddl record versions.
    static int
    countByR_R(long recordSetId, String recordSetVersion)
    Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.
    static int
    countByR_S(long recordId, int status)
    Returns the number of ddl record versions where recordId = ? and status = ?.
    static int
    countByR_V(long recordId, String version)
    Returns the number of ddl record versions where recordId = ? and version = ?.
    static int
    countByRecordId(long recordId)
    Returns the number of ddl record versions where recordId = ?.
    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 = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long recordVersionId)
    Creates a new ddl record version with the primary key.
    fetchByPrimaryKey(long recordVersionId)
    Returns the ddl record version with the primary key or returns null if it could not be found.
     
    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 = ?.
    fetchByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
    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 = ?.
    fetchByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordId = ? and status = ?.
    fetchByR_V(long recordId, String version)
    Returns the ddl record version where recordId = ? and version = ? or returns null if it could not be found.
    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.
    fetchByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the first ddl record version in the ordered set where recordId = ?.
    fetchByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordId = ?.
    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 = ?.
    fetchByU_R_R_S_Last(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
    Returns all the ddl record versions.
    findAll(int start, int end)
    Returns a range of all the ddl record versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns an ordered range of all the ddl record versions.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the ddl record versions.
    findByPrimaryKey(long recordVersionId)
    Returns the ddl record version with the primary key or throws a NoSuchRecordVersionException if it could not be found.
    findByR_R(long recordSetId, String recordSetVersion)
    Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
    findByR_R(long recordSetId, String recordSetVersion, int start, int end)
    Returns a range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.
    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 = ?.
    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 = ?.
    findByR_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 = ?.
    findByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
    findByR_R_PrevAndNext(long recordVersionId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the ddl record versions before and after the current ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
    findByR_S(long recordId, int status)
    Returns all the ddl record versions where recordId = ? and status = ?.
    findByR_S(long recordId, int status, int start, int end)
    Returns a range of all the ddl record versions where recordId = ? and status = ?.
    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 = ?.
    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 = ?.
    findByR_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 = ?.
    findByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordId = ? and status = ?.
    findByR_S_PrevAndNext(long recordVersionId, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ? and status = ?.
    findByR_V(long recordId, String version)
    Returns the ddl record version where recordId = ? and version = ? or throws a NoSuchRecordVersionException if it could not be found.
    findByRecordId(long recordId)
    Returns all the ddl record versions where recordId = ?.
    findByRecordId(long recordId, int start, int end)
    Returns a range of all the ddl record versions where recordId = ?.
    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 = ?.
    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 = ?.
    findByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the first ddl record version in the ordered set where recordId = ?.
    findByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where recordId = ?.
    findByRecordId_PrevAndNext(long recordVersionId, long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    findByU_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 = ?.
    findByU_R_R_S_Last(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
    findByU_R_R_S_PrevAndNext(long recordVersionId, long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
    Returns the ddl record versions before and after the current ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
     
     
    remove(long recordVersionId)
    Removes the ddl record version with the primary key from the database.
    static void
    Removes all the ddl record versions from the database.
    static void
    removeByR_R(long recordSetId, String recordSetVersion)
    Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.
    static void
    removeByR_S(long recordId, int status)
    Removes all the ddl record versions where recordId = ? and status = ? from the database.
    removeByR_V(long recordId, String version)
    Removes the ddl record version where recordId = ? and version = ? from the database.
    static void
    removeByRecordId(long recordId)
    Removes all the ddl record versions where recordId = ? from the database.
    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.
    static void
     
    update(DDLRecordVersion ddlRecordVersion)
     
    update(DDLRecordVersion ddlRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(DDLRecordVersion ddlRecordVersion)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DDLRecordVersionUtil

      public DDLRecordVersionUtil()
  • Method Details

    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • 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
    • findByRecordId_Last

      public static DDLRecordVersion findByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the last 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 last matching ddl record version
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • fetchByRecordId_Last

      public static DDLRecordVersion fetchByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the last 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 last matching ddl record version, or null if a matching ddl record version could not be found
    • findByRecordId_PrevAndNext

      public static DDLRecordVersion[] findByRecordId_PrevAndNext(long recordVersionId, long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ?.
      Parameters:
      recordVersionId - the primary key of the current ddl record version
      recordId - the record ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record version
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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)
      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 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 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 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 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_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 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 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
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • 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
    • findByR_R_Last

      public static DDLRecordVersion findByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the last 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 last matching ddl record version
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • fetchByR_R_Last

      public static DDLRecordVersion fetchByR_R_Last(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the last 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 last matching ddl record version, or null if a matching ddl record version could not be found
    • findByR_R_PrevAndNext

      public static DDLRecordVersion[] findByR_R_PrevAndNext(long recordVersionId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the ddl record versions before and after the current ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.
      Parameters:
      recordVersionId - the primary key of the current ddl record version
      recordSetId - the record set ID
      recordSetVersion - the record set version
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record version
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • 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
    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • 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
    • findByR_S_Last

      public static DDLRecordVersion findByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the last 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 last matching ddl record version
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • fetchByR_S_Last

      public static DDLRecordVersion fetchByR_S_Last(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the last 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 last matching ddl record version, or null if a matching ddl record version could not be found
    • findByR_S_PrevAndNext

      public static DDLRecordVersion[] findByR_S_PrevAndNext(long recordVersionId, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ? and status = ?.
      Parameters:
      recordVersionId - the primary key of the current ddl record version
      recordId - the record ID
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next ddl record version
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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)
      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 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 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 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 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
    • 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 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 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
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • 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
    • findByU_R_R_S_Last

      public static DDLRecordVersion findByU_R_R_S_Last(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the last 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 last matching ddl record version
      Throws:
      NoSuchRecordVersionException - if a matching ddl record version could not be found
      NoSuchRecordVersionException
    • fetchByU_R_R_S_Last

      public static DDLRecordVersion fetchByU_R_R_S_Last(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns the last 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 last matching ddl record version, or null if a matching ddl record version could not be found
    • findByU_R_R_S_PrevAndNext

      public static DDLRecordVersion[] findByU_R_R_S_PrevAndNext(long recordVersionId, long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) throws NoSuchRecordVersionException
      Returns the ddl record versions before and after the current ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.
      Parameters:
      recordVersionId - the primary key of the current ddl record version
      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 previous, current, and next ddl record version
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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
    • cacheResult

      public static void cacheResult(DDLRecordVersion ddlRecordVersion)
      Caches the ddl record version in the entity cache if it is enabled.
      Parameters:
      ddlRecordVersion - the ddl record version
    • cacheResult

      public static void cacheResult(List<DDLRecordVersion> ddlRecordVersions)
      Caches the ddl record versions in the entity cache if it is enabled.
      Parameters:
      ddlRecordVersions - the 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
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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
      Throws:
      NoSuchRecordVersionException - if a ddl record version with the primary key could not be found
      NoSuchRecordVersionException
    • 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
    • findAll

      public static List<DDLRecordVersion> findAll()
      Returns all the ddl record versions.
      Returns:
      the ddl record versions
    • findAll

      public static List<DDLRecordVersion> findAll(int start, int end)
      Returns a range of all the ddl record 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 DDLRecordVersionModelImpl.

      Parameters:
      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 ddl record versions
    • findAll

      public static List<DDLRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator)
      Returns an ordered range of all the ddl record 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 DDLRecordVersionModelImpl.

      Parameters:
      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 ddl record versions
    • findAll

      public static List<DDLRecordVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the ddl record 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 DDLRecordVersionModelImpl.

      Parameters:
      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 ddl record versions
    • removeAll

      public static void removeAll()
      Removes all the ddl record versions from the database.
    • countAll

      public static int countAll()
      Returns the number of ddl record versions.
      Returns:
      the number of ddl record versions
    • getPersistence

      public static DDLRecordVersionPersistence getPersistence()
    • setPersistence

      public static void setPersistence(DDLRecordVersionPersistence persistence)