public class KaleoInstanceUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoInstancePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
KaleoInstancePersistence
Constructor and Description |
---|
KaleoInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoInstance kaleoInstance)
Caches the kaleo instance in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoInstance> kaleoInstances)
Caches the kaleo instances in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoInstance kaleoInstance) |
static int |
countAll()
Returns the number of kaleo instances.
|
static 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 = ?.
|
static int |
countByC_U(long companyId,
long userId)
Returns the number of kaleo instances where companyId = ? and userId = ?.
|
static int |
countByCN_CPK(java.lang.String className,
long classPK)
Returns the number of kaleo instances where className = ? and classPK = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo instances where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo instances where kaleoDefinitionVersionId = ?.
|
static int |
countByKDI_C(long kaleoDefinitionId,
boolean completed)
Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
static int |
countByKDVI_C(long kaleoDefinitionVersionId,
boolean completed)
Returns the number of kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
|
static int |
countByKII_C_U(long kaleoInstanceId,
long companyId,
long userId)
Returns the number of kaleo instances where kaleoInstanceId = ? and companyId = ? and userId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoInstance |
create(long kaleoInstanceId)
Creates a new kaleo instance with the primary key.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static KaleoInstance |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where companyId = ?.
|
static KaleoInstance |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where companyId = ?.
|
static KaleoInstance |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoInstance |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static KaleoInstance |
fetchByKII_C_U(long kaleoInstanceId,
long companyId,
long userId)
Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns
null if it could not be found. |
static KaleoInstance |
fetchByKII_C_U(long kaleoInstanceId,
long companyId,
long userId,
boolean useFinderCache)
Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoInstance |
fetchByPrimaryKey(long kaleoInstanceId)
Returns the kaleo instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoInstance> |
findAll()
Returns all the kaleo instances.
|
static java.util.List<KaleoInstance> |
findAll(int start,
int end)
Returns a range of all the kaleo instances.
|
static 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.
|
static java.util.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.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 useFinderCache)
Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<KaleoInstance> |
findByC_U(long companyId,
long userId)
Returns all the kaleo instances where companyId = ? and userId = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<KaleoInstance> |
findByCN_CPK(java.lang.String className,
long classPK)
Returns all the kaleo instances where className = ? and classPK = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 useFinderCache)
Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.
|
static KaleoInstance |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where companyId = ?.
|
static KaleoInstance |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where companyId = ?.
|
static 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 = ?.
|
static java.util.List<KaleoInstance> |
findByCompanyId(long companyId)
Returns all the kaleo instances where companyId = ?.
|
static java.util.List<KaleoInstance> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo instances where companyId = ?.
|
static 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 = ?.
|
static java.util.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 = ?.
|
static KaleoInstance |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoInstance |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoInstance[] |
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 = ?.
|
static java.util.List<KaleoInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo instances where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.List<KaleoInstance> |
findByKDI_C(long kaleoDefinitionId,
boolean completed)
Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static java.util.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 = ?.
|
static KaleoInstance |
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 = ?.
|
static KaleoInstance |
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 = ?.
|
static KaleoInstance[] |
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 = ?.
|
static java.util.List<KaleoInstance> |
findByKDVI_C(long kaleoDefinitionVersionId,
boolean completed)
Returns all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
|
static java.util.List<KaleoInstance> |
findByKDVI_C(long kaleoDefinitionVersionId,
boolean completed,
int start,
int end)
Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
|
static java.util.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 = ?.
|
static java.util.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 = ?.
|
static KaleoInstance |
findByKII_C_U(long kaleoInstanceId,
long companyId,
long userId)
Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or throws a
NoSuchInstanceException if it could not be found. |
static KaleoInstance |
findByPrimaryKey(long kaleoInstanceId)
Returns the kaleo instance with the primary key or throws a
NoSuchInstanceException if it could not be found. |
static java.util.List<KaleoInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) |
static KaleoInstancePersistence |
getPersistence() |
static KaleoInstance |
remove(long kaleoInstanceId)
Removes the kaleo instance with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo instances from the database.
|
static 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.
|
static void |
removeByC_U(long companyId,
long userId)
Removes all the kaleo instances where companyId = ? and userId = ? from the database.
|
static void |
removeByCN_CPK(java.lang.String className,
long classPK)
Removes all the kaleo instances where className = ? and classPK = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo instances where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo instances where kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByKDI_C(long kaleoDefinitionId,
boolean completed)
Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.
|
static void |
removeByKDVI_C(long kaleoDefinitionVersionId,
boolean completed)
Removes all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ? from the database.
|
static KaleoInstance |
removeByKII_C_U(long kaleoInstanceId,
long companyId,
long userId)
Removes the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? from the database.
|
static KaleoInstance |
update(KaleoInstance kaleoInstance) |
static KaleoInstance |
update(KaleoInstance kaleoInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoInstance |
updateImpl(KaleoInstance kaleoInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoInstance kaleoInstance)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KaleoInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoInstance update(KaleoInstance kaleoInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoInstance update(KaleoInstance kaleoInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoInstance> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static java.util.List<KaleoInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance[] 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 foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static java.util.List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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 (optionally null
)public static java.util.List<KaleoInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundpublic static KaleoInstance findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundpublic static KaleoInstance[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundpublic static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoInstance> findByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static java.util.List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance[] 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 foundpublic static void removeByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static int countByC_U(long companyId, long userId)
companyId
- the company IDuserId
- the user IDpublic static java.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedpublic static java.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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static java.util.List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance[] 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 foundpublic static void removeByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedpublic static int countByKDI_C(long kaleoDefinitionId, boolean completed)
kaleoDefinitionId
- the kaleo definition IDcompleted
- the completedpublic static java.util.List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedpublic static java.util.List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static java.util.List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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 (optionally null
)public static java.util.List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance findByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundpublic static KaleoInstance findByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo instance could not be foundpublic static KaleoInstance[] findByKDVI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the current kaleo instancekaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchInstanceException
- if a kaleo instance with the primary key could not be foundpublic static void removeByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedpublic static int countByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
kaleoDefinitionVersionId
- the kaleo definition version IDcompleted
- the completedpublic static java.util.List<KaleoInstance> findByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkpublic static java.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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static 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 useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance 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 foundpublic static KaleoInstance[] 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 foundpublic static void removeByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkpublic static int countByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkpublic static KaleoInstance findByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException
NoSuchInstanceException
if it could not be found.kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDNoSuchInstanceException
- if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId)
null
if it could not be found. Uses the finder cache.kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDnull
if a matching kaleo instance could not be foundpublic static KaleoInstance fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDuseFinderCache
- whether to use the finder cachenull
if a matching kaleo instance could not be foundpublic static KaleoInstance removeByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDNoSuchInstanceException
public static int countByKII_C_U(long kaleoInstanceId, long companyId, long userId)
kaleoInstanceId
- the kaleo instance IDcompanyId
- the company IDuserId
- the user IDpublic static java.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 datepublic static java.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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static 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 useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static 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) 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 foundpublic static 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)
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 foundpublic static 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) 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 foundpublic static 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)
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 foundpublic static 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) 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 foundpublic static void 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 datepublic static int 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 datepublic static void cacheResult(KaleoInstance kaleoInstance)
kaleoInstance
- the kaleo instancepublic static void cacheResult(java.util.List<KaleoInstance> kaleoInstances)
kaleoInstances
- the kaleo instancespublic static KaleoInstance create(long kaleoInstanceId)
kaleoInstanceId
- the primary key for the new kaleo instancepublic static KaleoInstance remove(long kaleoInstanceId) throws NoSuchInstanceException
kaleoInstanceId
- the primary key of the kaleo instanceNoSuchInstanceException
- if a kaleo instance with the primary key could not be foundpublic static KaleoInstance updateImpl(KaleoInstance kaleoInstance)
public static 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 foundpublic static KaleoInstance 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 foundpublic static java.util.List<KaleoInstance> findAll()
public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
start
- the lower bound of the range of kaleo instancesend
- the upper bound of the range of kaleo instances (not inclusive)public static 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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)public static java.util.List<KaleoInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoInstanceModelImpl
.
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
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoInstancePersistence getPersistence()