Interface KaleoInstancePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoInstance>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoInstance>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoInstance kaleoInstance) Caches the kaleo instance in the entity cache if it is enabled.void
cacheResult
(List<KaleoInstance> kaleoInstances) Caches the kaleo instances in the entity cache if it is enabled.int
countAll()
Returns the number of kaleo instances.int
countByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Returns the number of kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.int
countByC_U
(long companyId, long userId) Returns the number of kaleo instances where companyId = ? and userId = ?.int
countByCN_CPK
(String className, long classPK) Returns the number of kaleo instances where className = ? and classPK = ?.int
countByCompanyId
(long companyId) Returns the number of kaleo instances where companyId = ?.int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo instances where kaleoDefinitionVersionId = ?.int
countByKDI_C
(long kaleoDefinitionId, boolean completed) Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.int
countByKDVI_C
(long kaleoDefinitionVersionId, boolean completed) Returns the number of kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.int
countByKII_C_U
(long kaleoInstanceId, long companyId, long userId) Returns the number of kaleo instances where kaleoInstanceId = ? and companyId = ? and userId = ?.create
(long kaleoInstanceId) Creates a new kaleo instance with the primary key.fetchByC_KDN_KDV_CD_First
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.fetchByC_KDN_KDV_CD_Last
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.fetchByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.fetchByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.fetchByCN_CPK_First
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.fetchByCN_CPK_Last
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.fetchByKDI_C_First
(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.fetchByKDI_C_Last
(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.fetchByKDVI_C_First
(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.fetchByKDVI_C_Last
(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.fetchByKII_C_U
(long kaleoInstanceId, long companyId, long userId) Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returnsnull
if it could not be found.fetchByKII_C_U
(long kaleoInstanceId, long companyId, long userId, boolean useFinderCache) Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long kaleoInstanceId) Returns the kaleo instance with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo instances.findAll
(int start, int end) Returns a range of all the kaleo instances.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances.findByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Returns all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end) Returns a range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD_First
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD_Last
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_KDN_KDV_CD_PrevAndNext
(long kaleoInstanceId, long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.findByC_U
(long companyId, long userId) Returns all the kaleo instances where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end) Returns a range of all the kaleo instances where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.findByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.findByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.findByC_U_PrevAndNext
(long kaleoInstanceId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and userId = ?.findByCN_CPK
(String className, long classPK) Returns all the kaleo instances where className = ? and classPK = ?.findByCN_CPK
(String className, long classPK, int start, int end) Returns a range of all the kaleo instances where className = ? and classPK = ?.findByCN_CPK
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.findByCN_CPK
(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.findByCN_CPK_First
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.findByCN_CPK_Last
(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.findByCN_CPK_PrevAndNext
(long kaleoInstanceId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where className = ? and classPK = ?.findByCompanyId
(long companyId) Returns all the kaleo instances where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo instances where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ?.findByCompanyId_PrevAndNext
(long kaleoInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo instances where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.findByKDI_C
(long kaleoDefinitionId, boolean completed) Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.findByKDI_C
(long kaleoDefinitionId, boolean completed, int start, int end) Returns a range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.findByKDI_C
(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.findByKDI_C
(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.findByKDI_C_First
(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.findByKDI_C_Last
(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.findByKDI_C_PrevAndNext
(long kaleoInstanceId, long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.findByKDVI_C
(long kaleoDefinitionVersionId, boolean completed) Returns all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C
(long kaleoDefinitionVersionId, boolean completed, int start, int end) Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C
(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C
(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C_First
(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C_Last
(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.findByKDVI_C_PrevAndNext
(long kaleoInstanceId, long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.findByKII_C_U
(long kaleoInstanceId, long companyId, long userId) Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or throws aNoSuchInstanceException
if it could not be found.findByPrimaryKey
(long kaleoInstanceId) Returns the kaleo instance with the primary key or throws aNoSuchInstanceException
if it could not be found.remove
(long kaleoInstanceId) Removes the kaleo instance with the primary key from the database.void
Removes all the kaleo instances from the database.void
removeByC_KDN_KDV_CD
(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Removes all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ? from the database.void
removeByC_U
(long companyId, long userId) Removes all the kaleo instances where companyId = ? and userId = ? from the database.void
removeByCN_CPK
(String className, long classPK) Removes all the kaleo instances where className = ? and classPK = ? from the database.void
removeByCompanyId
(long companyId) Removes all the kaleo instances where companyId = ? from the database.void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo instances where kaleoDefinitionVersionId = ? from the database.void
removeByKDI_C
(long kaleoDefinitionId, boolean completed) Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.void
removeByKDVI_C
(long kaleoDefinitionVersionId, boolean completed) Removes all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ? from the database.removeByKII_C_U
(long kaleoInstanceId, long companyId, long userId) Removes the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? from the database.updateImpl
(KaleoInstance kaleoInstance) 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 instances where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo instances
-
findByCompanyId
Returns a range of all the kaleo instances 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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByCompanyId
List<KaleoInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances 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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByCompanyId
List<KaleoInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances 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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByCompanyId_First
KaleoInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByCompanyId_First
KaleoInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByCompanyId_Last
KaleoInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByCompanyId_Last
KaleoInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByCompanyId_PrevAndNext
KaleoInstance[] findByCompanyId_PrevAndNext(long kaleoInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo instances where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo instances where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo instances
-
findByKaleoDefinitionVersionId
Returns all the kaleo instances where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo instances
-
findByKaleoDefinitionVersionId
List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByKaleoDefinitionVersionId
List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByKaleoDefinitionVersionId
List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByKaleoDefinitionVersionId_First
KaleoInstance findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoInstance fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKaleoDefinitionVersionId_Last
KaleoInstance findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKaleoDefinitionVersionId_Last
KaleoInstance fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
KaleoInstance[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo instances where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo instances where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo instances
-
findByC_U
Returns all the kaleo instances where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching kaleo instances
-
findByC_U
Returns a range of all the kaleo instances where companyId = ? and userId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByC_U
List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByC_U
List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByC_U_First
KaleoInstance findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByC_U_First
KaleoInstance fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByC_U_Last
KaleoInstance findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByC_U_Last
KaleoInstance fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByC_U_PrevAndNext
KaleoInstance[] findByC_U_PrevAndNext(long kaleoInstanceId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and userId = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancecompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the kaleo instances where companyId = ? and userId = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of kaleo instances where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching kaleo instances
-
findByKDI_C
Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completed- Returns:
- the matching kaleo instances
-
findByKDI_C
Returns a range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByKDI_C
List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByKDI_C
List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByKDI_C_First
KaleoInstance findByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKDI_C_First
KaleoInstance fetchByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKDI_C_Last
KaleoInstance findByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKDI_C_Last
KaleoInstance fetchByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKDI_C_PrevAndNext
KaleoInstance[] findByKDI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByKDI_C
void removeByKDI_C(long kaleoDefinitionId, boolean completed) Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completed
-
countByKDI_C
int countByKDI_C(long kaleoDefinitionId, boolean completed) Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.- Parameters:
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completed- Returns:
- the number of matching kaleo instances
-
findByKDVI_C
Returns all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completed- Returns:
- the matching kaleo instances
-
findByKDVI_C
List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end) Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByKDVI_C
List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByKDVI_C
List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByKDVI_C_First
KaleoInstance findByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKDVI_C_First
KaleoInstance fetchByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKDVI_C_Last
KaleoInstance findByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKDVI_C_Last
KaleoInstance fetchByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByKDVI_C_PrevAndNext
KaleoInstance[] findByKDVI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByKDVI_C
void removeByKDVI_C(long kaleoDefinitionVersionId, boolean completed) Removes all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completed
-
countByKDVI_C
int countByKDVI_C(long kaleoDefinitionVersionId, boolean completed) Returns the number of kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completed- Returns:
- the number of matching kaleo instances
-
findByCN_CPK
Returns all the kaleo instances where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the matching kaleo instances
-
findByCN_CPK
Returns a range of all the kaleo instances where className = ? and classPK = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByCN_CPK
List<KaleoInstance> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByCN_CPK
List<KaleoInstance> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByCN_CPK_First
KaleoInstance findByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByCN_CPK_First
KaleoInstance fetchByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByCN_CPK_Last
KaleoInstance findByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByCN_CPK_Last
KaleoInstance fetchByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByCN_CPK_PrevAndNext
KaleoInstance[] findByCN_CPK_PrevAndNext(long kaleoInstanceId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where className = ? and classPK = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instanceclassName
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByCN_CPK
Removes all the kaleo instances where className = ? and classPK = ? from the database.- Parameters:
className
- the class nameclassPK
- the class pk
-
countByCN_CPK
Returns the number of kaleo instances where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the number of matching kaleo instances
-
findByKII_C_U
KaleoInstance findByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or throws aNoSuchInstanceException
if it could not be found.- Parameters:
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user ID- Returns:
- the matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByKII_C_U
Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user ID- Returns:
- the matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
fetchByKII_C_U
KaleoInstance fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId, boolean useFinderCache) Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
removeByKII_C_U
KaleoInstance removeByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException Removes the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? from the database.- Parameters:
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user ID- Returns:
- the kaleo instance that was removed
- Throws:
NoSuchInstanceException
-
countByKII_C_U
int countByKII_C_U(long kaleoInstanceId, long companyId, long userId) Returns the number of kaleo instances where kaleoInstanceId = ? and companyId = ? and userId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user ID- Returns:
- the number of matching kaleo instances
-
findByC_KDN_KDV_CD
List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Returns all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion date- Returns:
- the matching kaleo instances
-
findByC_KDN_KDV_CD
List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end) Returns a range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion datestart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of matching kaleo instances
-
findByC_KDN_KDV_CD
List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion datestart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo instances
-
findByC_KDN_KDV_CD
List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.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 fromKaleoInstanceModelImpl
.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion datestart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (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 instances
-
findByC_KDN_KDV_CD_First
KaleoInstance findByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByC_KDN_KDV_CD_First
KaleoInstance fetchByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByC_KDN_KDV_CD_Last
KaleoInstance findByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance
- Throws:
NoSuchInstanceException
- if a matching kaleo instance could not be found
-
fetchByC_KDN_KDV_CD_Last
KaleoInstance fetchByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo instance, or
null
if a matching kaleo instance could not be found
-
findByC_KDN_KDV_CD_PrevAndNext
KaleoInstance[] findByC_KDN_KDV_CD_PrevAndNext(long kaleoInstanceId, long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
kaleoInstanceId
- the primary key of the current kaleo instancecompanyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
removeByC_KDN_KDV_CD
void removeByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Removes all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ? from the database.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion date
-
countByC_KDN_KDV_CD
int countByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate) Returns the number of kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.- Parameters:
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion date- Returns:
- the number of matching kaleo instances
-
cacheResult
Caches the kaleo instance in the entity cache if it is enabled.- Parameters:
kaleoInstance
- the kaleo instance
-
cacheResult
Caches the kaleo instances in the entity cache if it is enabled.- Parameters:
kaleoInstances
- the kaleo instances
-
create
Creates a new kaleo instance with the primary key. Does not add the kaleo instance to the database.- Parameters:
kaleoInstanceId
- the primary key for the new kaleo instance- Returns:
- the new kaleo instance
-
remove
Removes the kaleo instance with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoInstanceId
- the primary key of the kaleo instance- Returns:
- the kaleo instance that was removed
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo instance with the primary key or throws aNoSuchInstanceException
if it could not be found.- Parameters:
kaleoInstanceId
- the primary key of the kaleo instance- Returns:
- the kaleo instance
- Throws:
NoSuchInstanceException
- if a kaleo instance with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo instance with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoInstanceId
- the primary key of the kaleo instance- Returns:
- the kaleo instance, or
null
if a kaleo instance with the primary key could not be found
-
findAll
List<KaleoInstance> findAll()Returns all the kaleo instances.- Returns:
- the kaleo instances
-
findAll
Returns a range of all the kaleo instances.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 fromKaleoInstanceModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)- Returns:
- the range of kaleo instances
-
findAll
List<KaleoInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) Returns an ordered range of all the kaleo instances.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 fromKaleoInstanceModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kaleo instances
-
findAll
List<KaleoInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo instances.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 fromKaleoInstanceModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo instances
-
removeAll
void removeAll()Removes all the kaleo instances from the database. -
countAll
int countAll()Returns the number of kaleo instances.- Returns:
- the number of kaleo instances
-