@ProviderType public interface KaleoInstancePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoInstance>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoInstancePersistenceImpl
,
KaleoInstanceUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoInstance kaleoInstance)
Caches the kaleo instance in the entity cache if it is enabled.
|
void |
cacheResult(java.util.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,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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(java.lang.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 |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo instances where kaleoDefinitionId = ?.
|
int |
countByKDI_C(long kaleoDefinitionId,
boolean completed)
Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
KaleoInstance |
create(long kaleoInstanceId)
Creates a new kaleo instance with the primary key.
|
KaleoInstance |
fetchByC_KDN_KDV_CD_First(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
KaleoInstance |
fetchByC_KDN_KDV_CD_Last(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
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 = ?.
|
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 = ?.
|
KaleoInstance |
fetchByCN_CPK_First(java.lang.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 = ?.
|
KaleoInstance |
fetchByCN_CPK_Last(java.lang.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 = ?.
|
KaleoInstance |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where companyId = ?.
|
KaleoInstance |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where companyId = ?.
|
KaleoInstance |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ?.
|
KaleoInstance |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
KaleoInstance |
fetchByPrimaryKey(long kaleoInstanceId)
Returns the kaleo instance with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoInstance> |
findAll()
Returns all the kaleo instances.
|
java.util.List<KaleoInstance> |
findAll(int start,
int end)
Returns a range of all the kaleo instances.
|
java.util.List<KaleoInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns an ordered range of all the kaleo instances.
|
java.util.List<KaleoInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances.
|
KaleoInstance |
findByC_KDN_KDV_CD_First(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
KaleoInstance |
findByC_KDN_KDV_CD_Last(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
KaleoInstance[] |
findByC_KDN_KDV_CD_PrevAndNext(long kaleoInstanceId,
long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
java.util.List<KaleoInstance> |
findByC_KDN_KDV_CD(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.Date completionDate)
Returns all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
|
java.util.List<KaleoInstance> |
findByC_KDN_KDV_CD(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.Date completionDate,
int start,
int end)
Returns a range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
|
java.util.List<KaleoInstance> |
findByC_KDN_KDV_CD(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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 = ?.
|
java.util.List<KaleoInstance> |
findByC_KDN_KDV_CD(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.Date completionDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
|
KaleoInstance |
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 = ?.
|
KaleoInstance |
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 = ?.
|
KaleoInstance[] |
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 = ?.
|
java.util.List<KaleoInstance> |
findByC_U(long companyId,
long userId)
Returns all the kaleo instances where companyId = ? and userId = ?.
|
java.util.List<KaleoInstance> |
findByC_U(long companyId,
long userId,
int start,
int end)
Returns a range of all the kaleo instances where companyId = ? and userId = ?.
|
java.util.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 = ?.
|
java.util.List<KaleoInstance> |
findByC_U(long companyId,
long userId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.
|
KaleoInstance |
findByCN_CPK_First(java.lang.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 = ?.
|
KaleoInstance |
findByCN_CPK_Last(java.lang.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 = ?.
|
KaleoInstance[] |
findByCN_CPK_PrevAndNext(long kaleoInstanceId,
java.lang.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 = ?.
|
java.util.List<KaleoInstance> |
findByCN_CPK(java.lang.String className,
long classPK)
Returns all the kaleo instances where className = ? and classPK = ?.
|
java.util.List<KaleoInstance> |
findByCN_CPK(java.lang.String className,
long classPK,
int start,
int end)
Returns a range of all the kaleo instances where className = ? and classPK = ?.
|
java.util.List<KaleoInstance> |
findByCN_CPK(java.lang.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 = ?.
|
java.util.List<KaleoInstance> |
findByCN_CPK(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.
|
KaleoInstance |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where companyId = ?.
|
KaleoInstance |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where companyId = ?.
|
KaleoInstance[] |
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 = ?.
|
java.util.List<KaleoInstance> |
findByCompanyId(long companyId)
Returns all the kaleo instances where companyId = ?.
|
java.util.List<KaleoInstance> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo instances where companyId = ?.
|
java.util.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 = ?.
|
java.util.List<KaleoInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where companyId = ?.
|
KaleoInstance |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ?.
|
KaleoInstance |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ?.
|
KaleoInstance[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoInstanceId,
long kaleoDefinitionId,
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 = ?.
|
java.util.List<KaleoInstance> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo instances where kaleoDefinitionId = ?.
|
java.util.List<KaleoInstance> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo instances where kaleoDefinitionId = ?.
|
java.util.List<KaleoInstance> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ?.
|
java.util.List<KaleoInstance> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ?.
|
KaleoInstance |
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 = ?.
|
KaleoInstance |
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 = ?.
|
KaleoInstance[] |
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 = ?.
|
java.util.List<KaleoInstance> |
findByKDI_C(long kaleoDefinitionId,
boolean completed)
Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
java.util.List<KaleoInstance> |
findByKDI_C(long kaleoDefinitionId,
boolean completed,
int start,
int end)
Returns a range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
java.util.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 = ?.
|
java.util.List<KaleoInstance> |
findByKDI_C(long kaleoDefinitionId,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
KaleoInstance |
findByPrimaryKey(long kaleoInstanceId)
Returns the kaleo instance with the primary key or throws a
NoSuchInstanceException if it could not be found. |
KaleoInstance |
remove(long kaleoInstanceId)
Removes the kaleo instance with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo instances from the database.
|
void |
removeByC_KDN_KDV_CD(long companyId,
java.lang.String kaleoDefinitionName,
int kaleoDefinitionVersion,
java.util.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(java.lang.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 |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo instances where kaleoDefinitionId = ? from the database.
|
void |
removeByKDI_C(long kaleoDefinitionId,
boolean completed)
Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.
|
KaleoInstance |
updateImpl(KaleoInstance kaleoInstance) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoInstance> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoInstance> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)java.util.List<KaleoInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByCompanyId_PrevAndNext(long kaleoInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoInstance> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoInstance> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)java.util.List<KaleoInstance> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)java.util.List<KaleoInstance> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByKaleoDefinitionId_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoInstance> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByC_U_PrevAndNext(long kaleoInstanceId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancecompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDint countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDjava.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedjava.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByKDI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionId
- the kaleo definition IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedint countByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedjava.util.List<KaleoInstance> findByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkjava.util.List<KaleoInstance> findByCN_CPK(java.lang.String className, long classPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoInstance> findByCN_CPK(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findByCN_CPK(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByCN_CPK_First(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByCN_CPK_First(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByCN_CPK_Last(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByCN_CPK_Last(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByCN_CPK_PrevAndNext(long kaleoInstanceId, java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instanceclassName
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkint countByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkjava.util.List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate)
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion datejava.util.List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)java.util.List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoInstance findByC_KDN_KDV_CD_First(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByC_KDN_KDV_CD_First(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance findByC_KDN_KDV_CD_Last(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundKaleoInstance fetchByC_KDN_KDV_CD_Last(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundKaleoInstance[] findByC_KDN_KDV_CD_PrevAndNext(long kaleoInstanceId, long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
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 (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundvoid removeByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate)
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion dateint countByC_KDN_KDV_CD(long companyId, java.lang.String kaleoDefinitionName, int kaleoDefinitionVersion, java.util.Date completionDate)
companyId
- the company IDkaleoDefinitionName
- the kaleo definition namekaleoDefinitionVersion
- the kaleo definition versioncompletionDate
- the completion datevoid cacheResult(KaleoInstance kaleoInstance)
kaleoInstance
- the kaleo instancevoid cacheResult(java.util.List<KaleoInstance> kaleoInstances)
kaleoInstances
- the kaleo instancesKaleoInstance create(long kaleoInstanceId)
kaleoInstanceId
- the primary key for the new kaleo instanceKaleoInstance remove(long kaleoInstanceId) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the kaleo instanceNoSuchInstanceException
- if a kaleo instance with the primary key could not be foundKaleoInstance updateImpl(KaleoInstance kaleoInstance)
KaleoInstance findByPrimaryKey(long kaleoInstanceId) throws NoSuchInstanceException
NoSuchInstanceException
if it could not be found.kaleoInstanceId
- the primary key of the kaleo instanceNoSuchInstanceException
- if a kaleo instance with the primary key could not be foundKaleoInstance fetchByPrimaryKey(long kaleoInstanceId)
null
if it could not be found.kaleoInstanceId
- the primary key of the kaleo instancenull
if a kaleo instance with the primary key could not be foundjava.util.Map<java.io.Serializable,KaleoInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoInstance>
java.util.List<KaleoInstance> findAll()
java.util.List<KaleoInstance> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)java.util.List<KaleoInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)java.util.List<KaleoInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()