Interface DDLRecordVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordVersion>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDLRecordVersion ddlRecordVersion) Caches the ddl record version in the entity cache if it is enabled.void
cacheResult
(List<DDLRecordVersion> ddlRecordVersions) Caches the ddl record versions in the entity cache if it is enabled.int
countAll()
Returns the number of ddl record versions.int
countByR_R
(long recordSetId, String recordSetVersion) Returns the number of ddl record versions where recordSetId = ? and recordSetVersion = ?.int
countByR_S
(long recordId, int status) Returns the number of ddl record versions where recordId = ? and status = ?.int
countByR_V
(long recordId, String version) Returns the number of ddl record versions where recordId = ? and version = ?.int
countByRecordId
(long recordId) Returns the number of ddl record versions where recordId = ?.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 = ?.create
(long recordVersionId) Creates a new ddl record version with the primary key.fetchByPrimaryKey
(long recordVersionId) Returns the ddl record version with the primary key or returnsnull
if it could not be found.fetchByR_R_First
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.fetchByR_R_Last
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.fetchByR_S_First
(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ? and status = ?.fetchByR_S_Last
(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ? and status = ?.fetchByR_V
(long recordId, String version) Returns the ddl record version where recordId = ? and version = ? or returnsnull
if it could not be found.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.fetchByRecordId_First
(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ?.fetchByRecordId_Last
(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ?.fetchByU_R_R_S_First
(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.fetchByU_R_R_S_Last
(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findAll()
Returns all the ddl record versions.findAll
(int start, int end) Returns a range of all the ddl record versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns an ordered range of all the ddl record versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record versions.findByPrimaryKey
(long recordVersionId) Returns the ddl record version with the primary key or throws aNoSuchRecordVersionException
if it could not be found.Returns all the ddl record versions where recordSetId = ? and recordSetVersion = ?.Returns a range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.findByR_R
(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.findByR_R
(long recordSetId, String recordSetVersion, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record versions where recordSetId = ? and recordSetVersion = ?.findByR_R_First
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_R_Last
(long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_R_PrevAndNext
(long recordVersionId, long recordSetId, String recordSetVersion, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the ddl record versions before and after the current ddl record version in the ordered set where recordSetId = ? and recordSetVersion = ?.findByR_S
(long recordId, int status) Returns all the ddl record versions where recordId = ? and status = ?.findByR_S
(long recordId, int status, int start, int end) Returns a range of all the ddl record versions where recordId = ? and status = ?.findByR_S
(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns an ordered range of all the ddl record versions where recordId = ? and status = ?.findByR_S
(long recordId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record versions where recordId = ? and status = ?.findByR_S_First
(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ? and status = ?.findByR_S_Last
(long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ? and status = ?.findByR_S_PrevAndNext
(long recordVersionId, long recordId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ? and status = ?.Returns the ddl record version where recordId = ? and version = ? or throws aNoSuchRecordVersionException
if it could not be found.findByRecordId
(long recordId) Returns all the ddl record versions where recordId = ?.findByRecordId
(long recordId, int start, int end) Returns a range of all the ddl record versions where recordId = ?.findByRecordId
(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns an ordered range of all the ddl record versions where recordId = ?.findByRecordId
(long recordId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record versions where recordId = ?.findByRecordId_First
(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where recordId = ?.findByRecordId_Last
(long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where recordId = ?.findByRecordId_PrevAndNext
(long recordVersionId, long recordId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the ddl record versions before and after the current ddl record version in the ordered set where recordId = ?.findByU_R_R_S
(long userId, long recordSetId, String recordSetVersion, int status) Returns all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S
(long userId, long recordSetId, String recordSetVersion, int status, int start, int end) Returns a range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S
(long userId, long recordSetId, String recordSetVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S
(long userId, long recordSetId, String recordSetVersion, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record versions where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S_First
(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the first ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S_Last
(long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the last ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.findByU_R_R_S_PrevAndNext
(long recordVersionId, long userId, long recordSetId, String recordSetVersion, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordVersion> orderByComparator) Returns the ddl record versions before and after the current ddl record version in the ordered set where userId = ? and recordSetId = ? and recordSetVersion = ? and status = ?.remove
(long recordVersionId) Removes the ddl record version with the primary key from the database.void
Removes all the ddl record versions from the database.void
removeByR_R
(long recordSetId, String recordSetVersion) Removes all the ddl record versions where recordSetId = ? and recordSetVersion = ? from the database.void
removeByR_S
(long recordId, int status) Removes all the ddl record versions where recordId = ? and status = ? from the database.removeByR_V
(long recordId, String version) Removes the ddl record version where recordId = ? and version = ? from the database.void
removeByRecordId
(long recordId) Removes all the ddl record versions where recordId = ? from the database.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.updateImpl
(DDLRecordVersion ddlRecordVersion) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
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 found
-
fetchByRecordId_First
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
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 found
-
fetchByRecordId_Last
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
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 found
-
removeByRecordId
void removeByRecordId(long recordId) Removes all the ddl record versions where recordId = ? from the database.- Parameters:
recordId
- the record ID
-
countByRecordId
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
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
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
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
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 found
-
fetchByR_R_First
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
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 found
-
fetchByR_R_Last
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
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 found
-
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
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 found
-
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
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
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
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
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 found
-
fetchByR_S_First
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
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 found
-
fetchByR_S_Last
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
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 found
-
removeByR_S
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
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
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
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
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
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
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 found
-
fetchByU_R_R_S_First
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
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 found
-
fetchByU_R_R_S_Last
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
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 found
-
removeByU_R_R_S
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
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<DDLRecordVersion> 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
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
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
void removeAll()Removes all the ddl record versions from the database. -
countAll
int countAll()Returns the number of ddl record versions.- Returns:
- the number of ddl record versions
-