public class KaleoTaskFormInstanceUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskFormInstancePersistenceImpl
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
KaleoTaskFormInstancePersistence
Constructor and Description |
---|
KaleoTaskFormInstanceUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTaskFormInstance kaleoTaskFormInstance)
Caches the kaleo task form instance in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTaskFormInstance> kaleoTaskFormInstances)
Caches the kaleo task form instances in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTaskFormInstance kaleoTaskFormInstance) |
static int |
countAll()
Returns the number of kaleo task form instances.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo task form instances where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo task form instances where kaleoDefinitionVersionId = ?.
|
static int |
countByKaleoInstanceId(long kaleoInstanceId)
Returns the number of kaleo task form instances where kaleoInstanceId = ?.
|
static int |
countByKaleoTaskFormId(long kaleoTaskFormId)
Returns the number of kaleo task form instances where kaleoTaskFormId = ?.
|
static int |
countByKaleoTaskId(long kaleoTaskId)
Returns the number of kaleo task form instances where kaleoTaskId = ?.
|
static int |
countByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
Returns the number of kaleo task form instances where kaleoTaskInstanceTokenId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTaskFormInstance |
create(long kaleoTaskFormInstanceId)
Creates a new kaleo task form instance with the primary key.
|
static KaleoTaskFormInstance |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where companyId = ?.
|
static KaleoTaskFormInstance |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where companyId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoTaskFormId(long kaleoTaskFormId)
Returns the kaleo task form instance where kaleoTaskFormId = ? or returns
null if it could not be found. |
static KaleoTaskFormInstance |
fetchByKaleoTaskFormId(long kaleoTaskFormId,
boolean useFinderCache)
Returns the kaleo task form instance where kaleoTaskFormId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoTaskFormInstance |
fetchByKaleoTaskId_First(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoTaskId_Last(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.
|
static KaleoTaskFormInstance |
fetchByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.
|
static KaleoTaskFormInstance |
fetchByPrimaryKey(long kaleoTaskFormInstanceId)
Returns the kaleo task form instance with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTaskFormInstance> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTaskFormInstance> |
findAll()
Returns all the kaleo task form instances.
|
static java.util.List<KaleoTaskFormInstance> |
findAll(int start,
int end)
Returns a range of all the kaleo task form instances.
|
static java.util.List<KaleoTaskFormInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances.
|
static java.util.List<KaleoTaskFormInstance> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances.
|
static KaleoTaskFormInstance |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where companyId = ?.
|
static KaleoTaskFormInstance |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where companyId = ?.
|
static KaleoTaskFormInstance[] |
findByCompanyId_PrevAndNext(long kaleoTaskFormInstanceId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where companyId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByCompanyId(long companyId)
Returns all the kaleo task form instances where companyId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo task form instances where companyId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances where companyId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances where companyId = ?.
|
static KaleoTaskFormInstance |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskFormInstance |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskFormInstance[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormInstanceId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo task form instances where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances where kaleoDefinitionVersionId = ?.
|
static KaleoTaskFormInstance |
findByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskFormInstance |
findByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskFormInstance[] |
findByKaleoInstanceId_PrevAndNext(long kaleoTaskFormInstanceId,
long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoInstanceId(long kaleoInstanceId)
Returns all the kaleo task form instances where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end)
Returns a range of all the kaleo task form instances where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances where kaleoInstanceId = ?.
|
static KaleoTaskFormInstance |
findByKaleoTaskFormId(long kaleoTaskFormId)
Returns the kaleo task form instance where kaleoTaskFormId = ? or throws a
NoSuchTaskFormInstanceException if it could not be found. |
static KaleoTaskFormInstance |
findByKaleoTaskId_First(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskFormInstance |
findByKaleoTaskId_Last(long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.
|
static KaleoTaskFormInstance[] |
findByKaleoTaskId_PrevAndNext(long kaleoTaskFormInstanceId,
long kaleoTaskId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskId(long kaleoTaskId)
Returns all the kaleo task form instances where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end)
Returns a range of all the kaleo task form instances where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskId(long kaleoTaskId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.
|
static KaleoTaskFormInstance |
findByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the first kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.
|
static KaleoTaskFormInstance |
findByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the last kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.
|
static KaleoTaskFormInstance[] |
findByKaleoTaskInstanceTokenId_PrevAndNext(long kaleoTaskFormInstanceId,
long kaleoTaskInstanceTokenId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskInstanceTokenId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
Returns all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId,
int start,
int end)
Returns a range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.
|
static java.util.List<KaleoTaskFormInstance> |
findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.
|
static KaleoTaskFormInstance |
findByPrimaryKey(long kaleoTaskFormInstanceId)
Returns the kaleo task form instance with the primary key or throws a
NoSuchTaskFormInstanceException if it could not be found. |
static java.util.List<KaleoTaskFormInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTaskFormInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTaskFormInstance> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) |
static KaleoTaskFormInstancePersistence |
getPersistence() |
static KaleoTaskFormInstance |
remove(long kaleoTaskFormInstanceId)
Removes the kaleo task form instance with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo task form instances from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo task form instances where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo task form instances where kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByKaleoInstanceId(long kaleoInstanceId)
Removes all the kaleo task form instances where kaleoInstanceId = ? from the database.
|
static KaleoTaskFormInstance |
removeByKaleoTaskFormId(long kaleoTaskFormId)
Removes the kaleo task form instance where kaleoTaskFormId = ? from the database.
|
static void |
removeByKaleoTaskId(long kaleoTaskId)
Removes all the kaleo task form instances where kaleoTaskId = ? from the database.
|
static void |
removeByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
Removes all the kaleo task form instances where kaleoTaskInstanceTokenId = ? from the database.
|
static KaleoTaskFormInstance |
update(KaleoTaskFormInstance kaleoTaskFormInstance) |
static KaleoTaskFormInstance |
update(KaleoTaskFormInstance kaleoTaskFormInstance,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTaskFormInstance |
updateImpl(KaleoTaskFormInstance kaleoTaskFormInstance) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTaskFormInstance kaleoTaskFormInstance)
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,KaleoTaskFormInstance> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTaskFormInstance> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTaskFormInstance update(KaleoTaskFormInstance kaleoTaskFormInstance)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTaskFormInstance update(KaleoTaskFormInstance kaleoTaskFormInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTaskFormInstance> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskFormInstance findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance[] findByCompanyId_PrevAndNext(long kaleoTaskFormInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the current kaleo task form instancecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a kaleo task form 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<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskFormInstance findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the current kaleo task form instancekaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a kaleo task form 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<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, 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 KaleoTaskFormInstanceModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskFormInstance findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance[] findByKaleoInstanceId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the current kaleo task form instancekaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a kaleo task form instance with the primary key could not be foundpublic static void removeByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static int countByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static java.util.List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskId
- the kaleo task IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskFormInstance findByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance findByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance[] findByKaleoTaskId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the current kaleo task form instancekaleoTaskId
- the kaleo task IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a kaleo task form instance with the primary key could not be foundpublic static void removeByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static int countByKaleoTaskId(long kaleoTaskId)
kaleoTaskId
- the kaleo task IDpublic static java.util.List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
kaleoTaskInstanceTokenId
- the kaleo task instance token IDpublic static java.util.List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskInstanceTokenId
- the kaleo task instance token IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskInstanceTokenId
- the kaleo task instance token IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
kaleoTaskInstanceTokenId
- the kaleo task instance token IDstart
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskFormInstance findByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskInstanceTokenId
- the kaleo task instance token IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskInstanceTokenId_First(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoTaskInstanceTokenId
- the kaleo task instance token IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance findByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskInstanceTokenId
- the kaleo task instance token IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskInstanceTokenId_Last(long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
kaleoTaskInstanceTokenId
- the kaleo task instance token IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance[] findByKaleoTaskInstanceTokenId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskInstanceTokenId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the current kaleo task form instancekaleoTaskInstanceTokenId
- the kaleo task instance token IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskFormInstanceException
- if a kaleo task form instance with the primary key could not be foundpublic static void removeByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
kaleoTaskInstanceTokenId
- the kaleo task instance token IDpublic static int countByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
kaleoTaskInstanceTokenId
- the kaleo task instance token IDpublic static KaleoTaskFormInstance findByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException
NoSuchTaskFormInstanceException
if it could not be found.kaleoTaskFormId
- the kaleo task form IDNoSuchTaskFormInstanceException
- if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskFormId(long kaleoTaskFormId)
null
if it could not be found. Uses the finder cache.kaleoTaskFormId
- the kaleo task form IDnull
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance fetchByKaleoTaskFormId(long kaleoTaskFormId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoTaskFormId
- the kaleo task form IDuseFinderCache
- whether to use the finder cachenull
if a matching kaleo task form instance could not be foundpublic static KaleoTaskFormInstance removeByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException
kaleoTaskFormId
- the kaleo task form IDNoSuchTaskFormInstanceException
public static int countByKaleoTaskFormId(long kaleoTaskFormId)
kaleoTaskFormId
- the kaleo task form IDpublic static void cacheResult(KaleoTaskFormInstance kaleoTaskFormInstance)
kaleoTaskFormInstance
- the kaleo task form instancepublic static void cacheResult(java.util.List<KaleoTaskFormInstance> kaleoTaskFormInstances)
kaleoTaskFormInstances
- the kaleo task form instancespublic static KaleoTaskFormInstance create(long kaleoTaskFormInstanceId)
kaleoTaskFormInstanceId
- the primary key for the new kaleo task form instancepublic static KaleoTaskFormInstance remove(long kaleoTaskFormInstanceId) throws NoSuchTaskFormInstanceException
kaleoTaskFormInstanceId
- the primary key of the kaleo task form instanceNoSuchTaskFormInstanceException
- if a kaleo task form instance with the primary key could not be foundpublic static KaleoTaskFormInstance updateImpl(KaleoTaskFormInstance kaleoTaskFormInstance)
public static KaleoTaskFormInstance findByPrimaryKey(long kaleoTaskFormInstanceId) throws NoSuchTaskFormInstanceException
NoSuchTaskFormInstanceException
if it could not be found.kaleoTaskFormInstanceId
- the primary key of the kaleo task form instanceNoSuchTaskFormInstanceException
- if a kaleo task form instance with the primary key could not be foundpublic static KaleoTaskFormInstance fetchByPrimaryKey(long kaleoTaskFormInstanceId)
null
if it could not be found.kaleoTaskFormInstanceId
- the primary key of the kaleo task form instancenull
if a kaleo task form instance with the primary key could not be foundpublic static java.util.List<KaleoTaskFormInstance> findAll()
public static java.util.List<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
start
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)public static java.util.List<KaleoTaskFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
start
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form instances (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskFormInstance> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> 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 KaleoTaskFormInstanceModelImpl
.
start
- the lower bound of the range of kaleo task form instancesend
- the upper bound of the range of kaleo task form 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 KaleoTaskFormInstancePersistence getPersistence()