Interface KaleoDefinitionVersionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoDefinitionVersion>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoDefinitionVersion>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoDefinitionVersion kaleoDefinitionVersion) Caches the kaleo definition version in the entity cache if it is enabled.void
cacheResult
(List<KaleoDefinitionVersion> kaleoDefinitionVersions) Caches the kaleo definition versions in the entity cache if it is enabled.int
countAll()
Returns the number of kaleo definition versions.int
countByC_N
(long companyId, String name) Returns the number of kaleo definition versions where companyId = ? and name = ?.int
countByC_N_V
(long companyId, String name, String version) Returns the number of kaleo definition versions where companyId = ? and name = ? and version = ?.int
countByCompanyId
(long companyId) Returns the number of kaleo definition versions where companyId = ?.create
(long kaleoDefinitionVersionId) Creates a new kaleo definition version with the primary key.fetchByC_N_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.fetchByC_N_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.fetchByC_N_V
(long companyId, String name, String version) Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found.fetchByC_N_V
(long companyId, String name, String version, boolean useFinderCache) Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ?.fetchByPrimaryKey
(long kaleoDefinitionVersionId) Returns the kaleo definition version with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo definition versions.findAll
(int start, int end) Returns a range of all the kaleo definition versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition versions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition versions.Returns all the kaleo definition versions where companyId = ? and name = ?.Returns a range of all the kaleo definition versions where companyId = ? and name = ?.findByC_N
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.findByC_N
(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.findByC_N_First
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.findByC_N_Last
(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.findByC_N_PrevAndNext
(long kaleoDefinitionVersionId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ? and name = ?.findByC_N_V
(long companyId, String name, String version) Returns the kaleo definition version where companyId = ? and name = ? and version = ? or throws aNoSuchDefinitionVersionException
if it could not be found.findByCompanyId
(long companyId) Returns all the kaleo definition versions where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo definition versions where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition versions where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition versions where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long kaleoDefinitionVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ?.findByPrimaryKey
(long kaleoDefinitionVersionId) Returns the kaleo definition version with the primary key or throws aNoSuchDefinitionVersionException
if it could not be found.remove
(long kaleoDefinitionVersionId) Removes the kaleo definition version with the primary key from the database.void
Removes all the kaleo definition versions from the database.void
removeByC_N
(long companyId, String name) Removes all the kaleo definition versions where companyId = ? and name = ? from the database.removeByC_N_V
(long companyId, String name, String version) Removes the kaleo definition version where companyId = ? and name = ? and version = ? from the database.void
removeByCompanyId
(long companyId) Removes all the kaleo definition versions where companyId = ? from the database.updateImpl
(KaleoDefinitionVersion kaleoDefinitionVersion) 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
-
findByCompanyId
Returns all the kaleo definition versions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo definition versions
-
findByCompanyId
Returns a range of all the kaleo definition versions where companyId = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)- Returns:
- the range of matching kaleo definition versions
-
findByCompanyId
List<KaleoDefinitionVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition versions where companyId = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo definition versions
-
findByCompanyId
List<KaleoDefinitionVersion> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition versions where companyId = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition 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 kaleo definition versions
-
findByCompanyId_First
KaleoDefinitionVersion findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the first kaleo definition version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be found
-
fetchByCompanyId_First
KaleoDefinitionVersion fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
findByCompanyId_Last
KaleoDefinitionVersion findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the last kaleo definition version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be found
-
fetchByCompanyId_Last
KaleoDefinitionVersion fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
findByCompanyId_PrevAndNext
KaleoDefinitionVersion[] findByCompanyId_PrevAndNext(long kaleoDefinitionVersionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ?.- Parameters:
kaleoDefinitionVersionId
- the primary key of the current kaleo definition versioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo definition versions where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo definition versions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo definition versions
-
findByC_N
Returns all the kaleo definition versions where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the matching kaleo definition versions
-
findByC_N
Returns a range of all the kaleo definition versions where companyId = ? and name = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)- Returns:
- the range of matching kaleo definition versions
-
findByC_N
List<KaleoDefinitionVersion> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo definition versions
-
findByC_N
List<KaleoDefinitionVersion> findByC_N(long companyId, String name, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition versions where companyId = ? and name = ?.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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
companyId
- the company IDname
- the namestart
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition 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 kaleo definition versions
-
findByC_N_First
KaleoDefinitionVersion findByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be found
-
fetchByC_N_First
KaleoDefinitionVersion fetchByC_N_First(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the first kaleo definition version in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
findByC_N_Last
KaleoDefinitionVersion findByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be found
-
fetchByC_N_Last
KaleoDefinitionVersion fetchByC_N_Last(long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns the last kaleo definition version in the ordered set where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
findByC_N_PrevAndNext
KaleoDefinitionVersion[] findByC_N_PrevAndNext(long kaleoDefinitionVersionId, long companyId, String name, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) throws NoSuchDefinitionVersionException Returns the kaleo definition versions before and after the current kaleo definition version in the ordered set where companyId = ? and name = ?.- Parameters:
kaleoDefinitionVersionId
- the primary key of the current kaleo definition versioncompanyId
- the company IDname
- the nameorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be found
-
removeByC_N
Removes all the kaleo definition versions where companyId = ? and name = ? from the database.- Parameters:
companyId
- the company IDname
- the name
-
countByC_N
Returns the number of kaleo definition versions where companyId = ? and name = ?.- Parameters:
companyId
- the company IDname
- the name- Returns:
- the number of matching kaleo definition versions
-
findByC_N_V
KaleoDefinitionVersion findByC_N_V(long companyId, String name, String version) throws NoSuchDefinitionVersionException Returns the kaleo definition version where companyId = ? and name = ? and version = ? or throws aNoSuchDefinitionVersionException
if it could not be found.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the matching kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a matching kaleo definition version could not be found
-
fetchByC_N_V
Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
fetchByC_N_V
KaleoDefinitionVersion fetchByC_N_V(long companyId, String name, String version, boolean useFinderCache) Returns the kaleo definition version where companyId = ? and name = ? and version = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
companyId
- the company IDname
- the nameversion
- the versionuseFinderCache
- whether to use the finder cache- Returns:
- the matching kaleo definition version, or
null
if a matching kaleo definition version could not be found
-
removeByC_N_V
KaleoDefinitionVersion removeByC_N_V(long companyId, String name, String version) throws NoSuchDefinitionVersionException Removes the kaleo definition version where companyId = ? and name = ? and version = ? from the database.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the kaleo definition version that was removed
- Throws:
NoSuchDefinitionVersionException
-
countByC_N_V
Returns the number of kaleo definition versions where companyId = ? and name = ? and version = ?.- Parameters:
companyId
- the company IDname
- the nameversion
- the version- Returns:
- the number of matching kaleo definition versions
-
cacheResult
Caches the kaleo definition version in the entity cache if it is enabled.- Parameters:
kaleoDefinitionVersion
- the kaleo definition version
-
cacheResult
Caches the kaleo definition versions in the entity cache if it is enabled.- Parameters:
kaleoDefinitionVersions
- the kaleo definition versions
-
create
Creates a new kaleo definition version with the primary key. Does not add the kaleo definition version to the database.- Parameters:
kaleoDefinitionVersionId
- the primary key for the new kaleo definition version- Returns:
- the new kaleo definition version
-
remove
KaleoDefinitionVersion remove(long kaleoDefinitionVersionId) throws NoSuchDefinitionVersionException Removes the kaleo definition version with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoDefinitionVersionId
- the primary key of the kaleo definition version- Returns:
- the kaleo definition version that was removed
- Throws:
NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
KaleoDefinitionVersion findByPrimaryKey(long kaleoDefinitionVersionId) throws NoSuchDefinitionVersionException Returns the kaleo definition version with the primary key or throws aNoSuchDefinitionVersionException
if it could not be found.- Parameters:
kaleoDefinitionVersionId
- the primary key of the kaleo definition version- Returns:
- the kaleo definition version
- Throws:
NoSuchDefinitionVersionException
- if a kaleo definition version with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo definition version with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoDefinitionVersionId
- the primary key of the kaleo definition version- Returns:
- the kaleo definition version, or
null
if a kaleo definition version with the primary key could not be found
-
findAll
List<KaleoDefinitionVersion> findAll()Returns all the kaleo definition versions.- Returns:
- the kaleo definition versions
-
findAll
Returns a range of all the kaleo definition 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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)- Returns:
- the range of kaleo definition versions
-
findAll
List<KaleoDefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator) Returns an ordered range of all the kaleo definition 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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kaleo definition versions
-
findAll
List<KaleoDefinitionVersion> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoDefinitionVersion> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo definition 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 fromKaleoDefinitionVersionModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo definition versionsend
- the upper bound of the range of kaleo definition versions (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo definition versions
-
removeAll
void removeAll()Removes all the kaleo definition versions from the database. -
countAll
int countAll()Returns the number of kaleo definition versions.- Returns:
- the number of kaleo definition versions
-