Interface DDLRecordSetVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<DDLRecordSetVersion>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<DDLRecordSetVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(DDLRecordSetVersion ddlRecordSetVersion) Caches the ddl record set version in the entity cache if it is enabled.void
cacheResult
(List<DDLRecordSetVersion> ddlRecordSetVersions) Caches the ddl record set versions in the entity cache if it is enabled.int
countAll()
Returns the number of ddl record set versions.int
countByRecordSetId
(long recordSetId) Returns the number of ddl record set versions where recordSetId = ?.int
countByRS_S
(long recordSetId, int status) Returns the number of ddl record set versions where recordSetId = ? and status = ?.int
countByRS_V
(long recordSetId, String version) Returns the number of ddl record set versions where recordSetId = ? and version = ?.create
(long recordSetVersionId) Creates a new ddl record set version with the primary key.fetchByPrimaryKey
(long recordSetVersionId) Returns the ddl record set version with the primary key or returnsnull
if it could not be found.fetchByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ?.fetchByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ?.fetchByRS_S_First
(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.fetchByRS_S_Last
(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.fetchByRS_V
(long recordSetId, String version) Returns the ddl record set version where recordSetId = ? and version = ? or returnsnull
if it could not be found.fetchByRS_V
(long recordSetId, String version, boolean useFinderCache) Returns the ddl record set version where recordSetId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.findAll()
Returns all the ddl record set versions.findAll
(int start, int end) Returns a range of all the ddl record set versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set versions.findByPrimaryKey
(long recordSetVersionId) Returns the ddl record set version with the primary key or throws aNoSuchRecordSetVersionException
if it could not be found.findByRecordSetId
(long recordSetId) Returns all the ddl record set versions where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end) Returns a range of all the ddl record set versions where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set versions where recordSetId = ?.findByRecordSetId
(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set versions where recordSetId = ?.findByRecordSetId_First
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ?.findByRecordSetId_Last
(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ?.findByRecordSetId_PrevAndNext
(long recordSetVersionId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ?.findByRS_S
(long recordSetId, int status) Returns all the ddl record set versions where recordSetId = ? and status = ?.findByRS_S
(long recordSetId, int status, int start, int end) Returns a range of all the ddl record set versions where recordSetId = ? and status = ?.findByRS_S
(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set versions where recordSetId = ? and status = ?.findByRS_S
(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set versions where recordSetId = ? and status = ?.findByRS_S_First
(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.findByRS_S_Last
(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.findByRS_S_PrevAndNext
(long recordSetVersionId, long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ? and status = ?.findByRS_V
(long recordSetId, String version) Returns the ddl record set version where recordSetId = ? and version = ? or throws aNoSuchRecordSetVersionException
if it could not be found.remove
(long recordSetVersionId) Removes the ddl record set version with the primary key from the database.void
Removes all the ddl record set versions from the database.void
removeByRecordSetId
(long recordSetId) Removes all the ddl record set versions where recordSetId = ? from the database.void
removeByRS_S
(long recordSetId, int status) Removes all the ddl record set versions where recordSetId = ? and status = ? from the database.removeByRS_V
(long recordSetId, String version) Removes the ddl record set version where recordSetId = ? and version = ? from the database.updateImpl
(DDLRecordSetVersion ddlRecordSetVersion) 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
-
findByRecordSetId
Returns all the ddl record set versions where recordSetId = ?.- Parameters:
recordSetId
- the record set ID- Returns:
- the matching ddl record set versions
-
findByRecordSetId
Returns a range of all the ddl record set versions where recordSetId = ?.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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)- Returns:
- the range of matching ddl record set versions
-
findByRecordSetId
List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set versions where recordSetId = ?.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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl record set versions
-
findByRecordSetId
List<DDLRecordSetVersion> findByRecordSetId(long recordSetId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set versions where recordSetId = ?.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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set 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 set versions
-
findByRecordSetId_First
DDLRecordSetVersion findByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the first ddl record set version in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a matching ddl record set version could not be found
-
fetchByRecordSetId_First
DDLRecordSetVersion fetchByRecordSetId_First(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
findByRecordSetId_Last
DDLRecordSetVersion findByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the last ddl record set version in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a matching ddl record set version could not be found
-
fetchByRecordSetId_Last
DDLRecordSetVersion fetchByRecordSetId_Last(long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ?.- Parameters:
recordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
findByRecordSetId_PrevAndNext
DDLRecordSetVersion[] findByRecordSetId_PrevAndNext(long recordSetVersionId, long recordSetId, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ?.- Parameters:
recordSetVersionId
- the primary key of the current ddl record set versionrecordSetId
- the record set IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be found
-
removeByRecordSetId
void removeByRecordSetId(long recordSetId) Removes all the ddl record set versions where recordSetId = ? from the database.- Parameters:
recordSetId
- the record set ID
-
countByRecordSetId
int countByRecordSetId(long recordSetId) Returns the number of ddl record set versions where recordSetId = ?.- Parameters:
recordSetId
- the record set ID- Returns:
- the number of matching ddl record set versions
-
findByRS_V
DDLRecordSetVersion findByRS_V(long recordSetId, String version) throws NoSuchRecordSetVersionException Returns the ddl record set version where recordSetId = ? and version = ? or throws aNoSuchRecordSetVersionException
if it could not be found.- Parameters:
recordSetId
- the record set IDversion
- the version- Returns:
- the matching ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a matching ddl record set version could not be found
-
fetchByRS_V
Returns the ddl record set version where recordSetId = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
recordSetId
- the record set IDversion
- the version- Returns:
- the matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
fetchByRS_V
Returns the ddl record set version where recordSetId = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
recordSetId
- the record set IDversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
removeByRS_V
DDLRecordSetVersion removeByRS_V(long recordSetId, String version) throws NoSuchRecordSetVersionException Removes the ddl record set version where recordSetId = ? and version = ? from the database.- Parameters:
recordSetId
- the record set IDversion
- the version- Returns:
- the ddl record set version that was removed
- Throws:
NoSuchRecordSetVersionException
-
countByRS_V
Returns the number of ddl record set versions where recordSetId = ? and version = ?.- Parameters:
recordSetId
- the record set IDversion
- the version- Returns:
- the number of matching ddl record set versions
-
findByRS_S
Returns all the ddl record set versions where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the status- Returns:
- the matching ddl record set versions
-
findByRS_S
Returns a range of all the ddl record set versions where recordSetId = ? 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)- Returns:
- the range of matching ddl record set versions
-
findByRS_S
List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set versions where recordSetId = ? 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching ddl record set versions
-
findByRS_S
List<DDLRecordSetVersion> findByRS_S(long recordSetId, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set versions where recordSetId = ? 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
recordSetId
- the record set IDstatus
- the statusstart
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set 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 set versions
-
findByRS_S_First
DDLRecordSetVersion findByRS_S_First(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a matching ddl record set version could not be found
-
fetchByRS_S_First
DDLRecordSetVersion fetchByRS_S_First(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the first ddl record set version in the ordered set where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
findByRS_S_Last
DDLRecordSetVersion findByRS_S_Last(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a matching ddl record set version could not be found
-
fetchByRS_S_Last
DDLRecordSetVersion fetchByRS_S_Last(long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns the last ddl record set version in the ordered set where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching ddl record set version, or
null
if a matching ddl record set version could not be found
-
findByRS_S_PrevAndNext
DDLRecordSetVersion[] findByRS_S_PrevAndNext(long recordSetVersionId, long recordSetId, int status, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) throws NoSuchRecordSetVersionException Returns the ddl record set versions before and after the current ddl record set version in the ordered set where recordSetId = ? and status = ?.- Parameters:
recordSetVersionId
- the primary key of the current ddl record set versionrecordSetId
- the record set IDstatus
- the statusorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be found
-
removeByRS_S
void removeByRS_S(long recordSetId, int status) Removes all the ddl record set versions where recordSetId = ? and status = ? from the database.- Parameters:
recordSetId
- the record set IDstatus
- the status
-
countByRS_S
int countByRS_S(long recordSetId, int status) Returns the number of ddl record set versions where recordSetId = ? and status = ?.- Parameters:
recordSetId
- the record set IDstatus
- the status- Returns:
- the number of matching ddl record set versions
-
cacheResult
Caches the ddl record set version in the entity cache if it is enabled.- Parameters:
ddlRecordSetVersion
- the ddl record set version
-
cacheResult
Caches the ddl record set versions in the entity cache if it is enabled.- Parameters:
ddlRecordSetVersions
- the ddl record set versions
-
create
Creates a new ddl record set version with the primary key. Does not add the ddl record set version to the database.- Parameters:
recordSetVersionId
- the primary key for the new ddl record set version- Returns:
- the new ddl record set version
-
remove
Removes the ddl record set version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
recordSetVersionId
- the primary key of the ddl record set version- Returns:
- the ddl record set version that was removed
- Throws:
NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
DDLRecordSetVersion findByPrimaryKey(long recordSetVersionId) throws NoSuchRecordSetVersionException Returns the ddl record set version with the primary key or throws aNoSuchRecordSetVersionException
if it could not be found.- Parameters:
recordSetVersionId
- the primary key of the ddl record set version- Returns:
- the ddl record set version
- Throws:
NoSuchRecordSetVersionException
- if a ddl record set version with the primary key could not be found
-
fetchByPrimaryKey
Returns the ddl record set version with the primary key or returnsnull
if it could not be found.- Parameters:
recordSetVersionId
- the primary key of the ddl record set version- Returns:
- the ddl record set version, or
null
if a ddl record set version with the primary key could not be found
-
findAll
List<DDLRecordSetVersion> findAll()Returns all the ddl record set versions.- Returns:
- the ddl record set versions
-
findAll
Returns a range of all the ddl record set 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)- Returns:
- the range of ddl record set versions
-
findAll
List<DDLRecordSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator) Returns an ordered range of all the ddl record set 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of ddl record set versions
-
findAll
List<DDLRecordSetVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<DDLRecordSetVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the ddl record set 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 fromDDLRecordSetVersionModelImpl
.- Parameters:
start
- the lower bound of the range of ddl record set versionsend
- the upper bound of the range of ddl record set 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 set versions
-
removeAll
void removeAll()Removes all the ddl record set versions from the database. -
countAll
int countAll()Returns the number of ddl record set versions.- Returns:
- the number of ddl record set versions
-