Class DDLRecordVersionUtil
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(DDLRecordVersion ddlRecordVersion) Caches the ddl record version in the entity cache if it is enabled.static voidcacheResult(List<DDLRecordVersion> ddlRecordVersions) Caches the ddl record versions in the entity cache if it is enabled.static voidstatic voidclearCache(DDLRecordVersion ddlRecordVersion) static intcountAll()Returns the number of ddl record versions.static intcountByR_R(long recordSetId, String recordSetVersion) Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.static intcountByR_S(long recordId, int status) Returns the number of ddl record versions where recordId = ? and status = ?.static intcountByR_V(long recordId, String version) Returns the number of ddl record versions where recordId = ? and version = ?.static intcountByRecordId(long recordId) Returns the number of ddl record versions where recordId = ?.static intcountByU_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 longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static DDLRecordVersioncreate(long recordVersionId) Creates a new ddl record version with the primary key.static DDLRecordVersionfetchByPrimaryKey(long recordVersionId) Returns the ddl record version with the primary key or returnsnullif it could not be found.static Map<Serializable, DDLRecordVersion> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static DDLRecordVersionfetchByR_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 = ?.static DDLRecordVersionfetchByR_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 = ?.static DDLRecordVersionfetchByR_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 = ?.static DDLRecordVersionfetchByR_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 = ?.static DDLRecordVersionfetchByR_V(long recordId, String version) Returns the ddl record version where recordId = ? and version = ? or returnsnullif it could not be found.static DDLRecordVersionfetchByR_V(long recordId, String version, boolean useFinderCache) Returns the ddl record version where recordId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.static DDLRecordVersionfetchByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ?.static DDLRecordVersionfetchByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ?.static DDLRecordVersionfetchByU_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 = ?.static DDLRecordVersionfetchByU_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 = ?.static List<DDLRecordVersion> findAll()Returns all the ddl record versions.static List<DDLRecordVersion> findAll(int start, int end) Returns a range of all the ddl record versions.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.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.static DDLRecordVersionfindByPrimaryKey(long recordVersionId) Returns the ddl record version with the primary key or throws aNoSuchRecordVersionExceptionif it could not be found.static List<DDLRecordVersion> Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.static List<DDLRecordVersion> Returns a range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.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 = ?.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 = ?.static DDLRecordVersionfindByR_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 = ?.static DDLRecordVersionfindByR_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 = ?.static DDLRecordVersion[]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 = ?.static List<DDLRecordVersion> findByR_S(long recordId, int status) Returns all the ddl record versions where recordId = ? and status = ?.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 = ?.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 = ?.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 = ?.static DDLRecordVersionfindByR_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 = ?.static DDLRecordVersionfindByR_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 = ?.static DDLRecordVersion[]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 = ?.static DDLRecordVersionReturns the ddl record version where recordId = ? and version = ? or throws aNoSuchRecordVersionExceptionif it could not be found.static List<DDLRecordVersion> findByRecordId(long recordId) Returns all the ddl record versions where recordId = ?.static List<DDLRecordVersion> findByRecordId(long recordId, int start, int end) Returns a range of all the ddl record versions where recordId = ?.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 = ?.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 = ?.static DDLRecordVersionfindByRecordId_First(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ?.static DDLRecordVersionfindByRecordId_Last(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ?.static DDLRecordVersion[]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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.static DDLRecordVersionfindByU_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 = ?.static DDLRecordVersionfindByU_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 = ?.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) 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 = ?.static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) static DDLRecordVersionPersistencestatic DDLRecordVersionremove(long recordVersionId) Removes the ddl record version with the primary key from the database.static voidRemoves all the ddl record versions from the database.static voidremoveByR_R(long recordSetId, String recordSetVersion) Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.static voidremoveByR_S(long recordId, int status) Removes all the ddl record versions where recordId = ? and status = ? from the database.static DDLRecordVersionremoveByR_V(long recordId, String version) Removes the ddl record version where recordId = ? and version = ? from the database.static voidremoveByRecordId(long recordId) Removes all the ddl record versions where recordId = ? from the database.static voidremoveByU_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 voidsetPersistence(DDLRecordVersionPersistence persistence) static DDLRecordVersionupdate(DDLRecordVersion ddlRecordVersion) static DDLRecordVersionupdate(DDLRecordVersion ddlRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDLRecordVersionupdateImpl(DDLRecordVersion ddlRecordVersion)
-
Constructor Details
-
DDLRecordVersionUtil
public DDLRecordVersionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<DDLRecordVersion> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static DDLRecordVersion update(DDLRecordVersion ddlRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByRecordId
Returns all the ddl record versions where recordId = ?.- Parameters:
recordId- the record ID- Returns:
- the matching ddl record versions
-
findByRecordId
Returns a range of all the ddl record versions where recordId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstart- the lower bound of the range of ddl record versionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDorderByComparator- the comparator to order the set by (optionallynull)- 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddl record version, or
nullif 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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version
-
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 IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version, or
nullif 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 versionrecordId- the record IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddl record version
-
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
Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId- the record set IDrecordSetVersion- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordSetId- the record set IDrecordSetVersion- the record set versionstart- the lower bound of the range of ddl record versionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordSetId- the record set IDrecordSetVersion- the record set versionstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordSetId- the record set IDrecordSetVersion- the record set versionstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDrecordSetVersion- the record set versionorderByComparator- the comparator to order the set by (optionallynull)- 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 IDrecordSetVersion- the record set versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddl record version, or
nullif 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 IDrecordSetVersion- the record set versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version
-
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 IDrecordSetVersion- the record set versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version, or
nullif 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 versionrecordSetId- the record set IDrecordSetVersion- the record set versionorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddl record version
-
removeByR_R
Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.- Parameters:
recordSetId- the record set IDrecordSetVersion- the record set version
-
countByR_R
Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.- Parameters:
recordSetId- the record set IDrecordSetVersion- 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 aNoSuchRecordVersionExceptionif it could not be found.- Parameters:
recordId- the record IDversion- the version- Returns:
- the matching ddl record version
-
fetchByR_V
Returns the ddl record version where recordId = ? and version = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
recordId- the record IDversion- the version- Returns:
- the matching ddl record version, or
nullif a matching ddl record version could not be found
-
fetchByR_V
Returns the ddl record version where recordId = ? and version = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
recordId- the record IDversion- the versionuseFinderCache- whether to use the finder cache- Returns:
- the matching ddl record version, or
nullif 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 IDversion- the version- Returns:
- the ddl record version that was removed
- Throws:
NoSuchRecordVersionException
-
countByR_V
Returns the number of ddl record versions where recordId = ? and version = ?.- Parameters:
recordId- the record IDversion- the version- Returns:
- the number of matching ddl record versions
-
findByR_S
Returns all the ddl record versions where recordId = ? and status = ?.- Parameters:
recordId- the record IDstatus- the status- Returns:
- the matching ddl record versions
-
findByR_S
Returns a range of all the ddl record versions where recordId = ? and status = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstatus- the statusstart- the lower bound of the range of ddl record versionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstatus- the statusstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
recordId- the record IDstatus- the statusstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddl record version, or
nullif 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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version
-
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 IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version, or
nullif 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 versionrecordId- the record IDstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddl record version
-
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 IDstatus- 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 IDstatus- 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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
userId- the user IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusstart- the lower bound of the range of ddl record versionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
userId- the user IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
userId- the user IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusstart- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- 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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching ddl record version, or
nullif 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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version
-
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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching ddl record version, or
nullif 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 versionuserId- the user IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next ddl record version
-
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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- 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 IDrecordSetId- the record set IDrecordSetVersion- the record set versionstatus- the status- Returns:
- the number of matching ddl record versions
-
cacheResult
Caches the ddl record version in the entity cache if it is enabled.- Parameters:
ddlRecordVersion- the ddl record version
-
cacheResult
Caches the ddl record versions in the entity cache if it is enabled.- Parameters:
ddlRecordVersions- the ddl record versions
-
create
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
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
-
findByPrimaryKey
public static DDLRecordVersion findByPrimaryKey(long recordVersionId) throws NoSuchRecordVersionException Returns the ddl record version with the primary key or throws aNoSuchRecordVersionExceptionif it could not be found.- Parameters:
recordVersionId- the primary key of the ddl record version- Returns:
- the ddl record version
-
fetchByPrimaryKey
Returns the ddl record version with the primary key or returnsnullif it could not be found.- Parameters:
recordVersionId- the primary key of the ddl record version- Returns:
- the ddl record version, or
nullif a ddl record version with the primary key could not be found
-
findAll
Returns all the ddl record versions.- Returns:
- the ddl record versions
-
findAll
Returns a range of all the ddl record versions.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
start- the lower bound of the range of ddl record versionsend- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
start- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromDDLRecordVersionModelImpl.- Parameters:
start- the lower bound of the range of ddl record versionsend- the upper bound of the range of ddl record versions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)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
-
setPersistence
-