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 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
countAll()
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) static DDLRecordVersion
create
(long recordVersionId) Creates a new ddl record version with the primary key.static DDLRecordVersion
fetchByPrimaryKey
(long recordVersionId) Returns the ddl record version with the primary key or returnsnull
if it could not be found.static Map<Serializable,
DDLRecordVersion> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) 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 = ?.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 = ?.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 = ?.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 = ?.static DDLRecordVersion
fetchByR_V
(long recordId, String version) Returns the ddl record version where recordId = ? and version = ? or returnsnull
if it could not be found.static DDLRecordVersion
fetchByR_V
(long recordId, String version, boolean useFinderCache) Returns the ddl record version where recordId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.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 = ?.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 = ?.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 = ?.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 = ?.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 DDLRecordVersion
findByPrimaryKey
(long recordVersionId) Returns the ddl record version with the primary key or throws aNoSuchRecordVersionException
if 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 DDLRecordVersion
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 = ?.static DDLRecordVersion
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 = ?.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 DDLRecordVersion
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 = ?.static DDLRecordVersion
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 = ?.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 DDLRecordVersion
Returns the ddl record version where recordId = ? and version = ? or throws aNoSuchRecordVersionException
if 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 DDLRecordVersion
findByRecordId_First
(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ?.static DDLRecordVersion
findByRecordId_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 DDLRecordVersion
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 = ?.static DDLRecordVersion
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 = ?.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 DDLRecordVersionPersistence
static DDLRecordVersion
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.static DDLRecordVersion
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
setPersistence
(DDLRecordVersionPersistence persistence) static DDLRecordVersion
update
(DDLRecordVersion ddlRecordVersion) static DDLRecordVersion
update
(DDLRecordVersion ddlRecordVersion, com.liferay.portal.kernel.service.ServiceContext serviceContext) static DDLRecordVersion
updateImpl
(DDLRecordVersion ddlRecordVersion)
-
Constructor Details
-
DDLRecordVersionUtil
public DDLRecordVersionUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- 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
- 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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record version
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 versionrecordId
- the record IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record version
- Throws:
NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundNoSuchRecordVersionException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 IDrecordSetVersion
- the record set versionorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record version
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 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
- Throws:
NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundNoSuchRecordVersionException
-
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 aNoSuchRecordVersionException
if it could not be found.- Parameters:
recordId
- the record IDversion
- the version- Returns:
- the matching ddl record version
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
fetchByR_V
Returns the ddl record version where recordId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
recordId
- the record IDversion
- the version- Returns:
- the matching ddl record version, or
null
if a matching ddl record version could not be found
-
fetchByR_V
Returns the ddl record version where recordId = ? and version = ? or returnsnull
if 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
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 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record version
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 versionrecordId
- the record IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record version
- Throws:
NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundNoSuchRecordVersionException
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 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
- Throws:
NoSuchRecordVersionException
- if a matching ddl record version could not be foundNoSuchRecordVersionException
-
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
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 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
- Throws:
NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundNoSuchRecordVersionException
-
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
- Throws:
NoSuchRecordVersionException
- if a ddl record version with the primary key could not be foundNoSuchRecordVersionException
-
updateImpl
-
findByPrimaryKey
public static DDLRecordVersion findByPrimaryKey(long recordVersionId) throws NoSuchRecordVersionException Returns the ddl record version with the primary key or throws aNoSuchRecordVersionException
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 foundNoSuchRecordVersionException
-
fetchByPrimaryKey
Returns the ddl record version with the primary key or returnsnull
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is 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
-