public class KaleoTaskInstanceTokenUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskInstanceTokenPersistenceImpl
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
KaleoTaskInstanceTokenPersistence
Constructor and Description |
---|
KaleoTaskInstanceTokenUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken)
Caches the kaleo task instance token in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTaskInstanceToken> kaleoTaskInstanceTokens)
Caches the kaleo task instance tokens in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTaskInstanceToken kaleoTaskInstanceToken) |
static int |
countAll()
Returns the number of kaleo task instance tokens.
|
static int |
countByCN_CPK(java.lang.String className,
long classPK)
Returns the number of kaleo task instance tokens where className = ? and classPK = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo task instance tokens where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
static int |
countByKaleoInstanceId(long kaleoInstanceId)
Returns the number of kaleo task instance tokens where kaleoInstanceId = ?.
|
static int |
countByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Returns the number of kaleo task instance tokens where kaleoInstanceId = ? and kaleoTaskId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTaskInstanceToken |
create(long kaleoTaskInstanceTokenId)
Creates a new kaleo task instance token with the primary key.
|
static KaleoTaskInstanceToken |
fetchByCN_CPK_First(java.lang.String className,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where className = ? and classPK = ?.
|
static KaleoTaskInstanceToken |
fetchByCN_CPK_Last(java.lang.String className,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where className = ? and classPK = ?.
|
static KaleoTaskInstanceToken |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where companyId = ?.
|
static KaleoTaskInstanceToken |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where companyId = ?.
|
static KaleoTaskInstanceToken |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskInstanceToken |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskInstanceToken |
fetchByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskInstanceToken |
fetchByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskInstanceToken |
fetchByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returns
null if it could not be found. |
static KaleoTaskInstanceToken |
fetchByKII_KTI(long kaleoInstanceId,
long kaleoTaskId,
boolean useFinderCache)
Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoTaskInstanceToken |
fetchByPrimaryKey(long kaleoTaskInstanceTokenId)
Returns the kaleo task instance token with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTaskInstanceToken> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTaskInstanceToken> |
findAll()
Returns all the kaleo task instance tokens.
|
static java.util.List<KaleoTaskInstanceToken> |
findAll(int start,
int end)
Returns a range of all the kaleo task instance tokens.
|
static java.util.List<KaleoTaskInstanceToken> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens.
|
static java.util.List<KaleoTaskInstanceToken> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task instance tokens.
|
static KaleoTaskInstanceToken |
findByCN_CPK_First(java.lang.String className,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where className = ? and classPK = ?.
|
static KaleoTaskInstanceToken |
findByCN_CPK_Last(java.lang.String className,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where className = ? and classPK = ?.
|
static KaleoTaskInstanceToken[] |
findByCN_CPK_PrevAndNext(long kaleoTaskInstanceTokenId,
java.lang.String className,
long classPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where className = ? and classPK = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCN_CPK(java.lang.String className,
long classPK)
Returns all the kaleo task instance tokens where className = ? and classPK = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCN_CPK(java.lang.String className,
long classPK,
int start,
int end)
Returns a range of all the kaleo task instance tokens where className = ? and classPK = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCN_CPK(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens where className = ? and classPK = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCN_CPK(java.lang.String className,
long classPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task instance tokens where className = ? and classPK = ?.
|
static KaleoTaskInstanceToken |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where companyId = ?.
|
static KaleoTaskInstanceToken |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where companyId = ?.
|
static KaleoTaskInstanceToken[] |
findByCompanyId_PrevAndNext(long kaleoTaskInstanceTokenId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId)
Returns all the kaleo task instance tokens where companyId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where companyId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens where companyId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task instance tokens where companyId = ?.
|
static KaleoTaskInstanceToken |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskInstanceToken |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoTaskInstanceToken[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskInstanceTokenId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
static KaleoTaskInstanceToken |
findByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskInstanceToken |
findByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTaskInstanceToken[] |
findByKaleoInstanceId_PrevAndNext(long kaleoTaskInstanceTokenId,
long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId)
Returns all the kaleo task instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo task instance tokens where kaleoInstanceId = ?.
|
static KaleoTaskInstanceToken |
findByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or throws a
NoSuchTaskInstanceTokenException if it could not be found. |
static KaleoTaskInstanceToken |
findByPrimaryKey(long kaleoTaskInstanceTokenId)
Returns the kaleo task instance token with the primary key or throws a
NoSuchTaskInstanceTokenException if it could not be found. |
static java.util.List<KaleoTaskInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTaskInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTaskInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) |
static KaleoTaskInstanceTokenPersistence |
getPersistence() |
static KaleoTaskInstanceToken |
remove(long kaleoTaskInstanceTokenId)
Removes the kaleo task instance token with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo task instance tokens from the database.
|
static void |
removeByCN_CPK(java.lang.String className,
long classPK)
Removes all the kaleo task instance tokens where className = ? and classPK = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo task instance tokens where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByKaleoInstanceId(long kaleoInstanceId)
Removes all the kaleo task instance tokens where kaleoInstanceId = ? from the database.
|
static KaleoTaskInstanceToken |
removeByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.
|
static KaleoTaskInstanceToken |
update(KaleoTaskInstanceToken kaleoTaskInstanceToken) |
static KaleoTaskInstanceToken |
update(KaleoTaskInstanceToken kaleoTaskInstanceToken,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTaskInstanceToken |
updateImpl(KaleoTaskInstanceToken kaleoTaskInstanceToken) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTaskInstanceToken kaleoTaskInstanceToken)
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,KaleoTaskInstanceToken> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTaskInstanceToken update(KaleoTaskInstanceToken kaleoTaskInstanceToken)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTaskInstanceToken update(KaleoTaskInstanceToken kaleoTaskInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTaskInstanceToken> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)public static java.util.List<KaleoTaskInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken[] findByCompanyId_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokencompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a kaleo task instance token 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<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)public static java.util.List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a kaleo task instance token 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<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)public static java.util.List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a kaleo task instance token 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 KaleoTaskInstanceToken findByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException
NoSuchTaskInstanceTokenException
if it could not be found.kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDNoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKII_KTI(long kaleoInstanceId, long kaleoTaskId)
null
if it could not be found. Uses the finder cache.kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDnull
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByKII_KTI(long kaleoInstanceId, long kaleoTaskId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDuseFinderCache
- whether to use the finder cachenull
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken removeByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDNoSuchTaskInstanceTokenException
public static int countByKII_KTI(long kaleoInstanceId, long kaleoTaskId)
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDpublic static java.util.List<KaleoTaskInstanceToken> findByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkpublic static java.util.List<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)public static java.util.List<KaleoTaskInstanceToken> findByCN_CPK(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskInstanceToken> findByCN_CPK(java.lang.String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTaskInstanceToken findByCN_CPK_First(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByCN_CPK_First(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken findByCN_CPK_Last(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken fetchByCN_CPK_Last(java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundpublic static KaleoTaskInstanceToken[] findByCN_CPK_PrevAndNext(long kaleoTaskInstanceTokenId, java.lang.String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenclassName
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a kaleo task instance token 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 void cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken)
kaleoTaskInstanceToken
- the kaleo task instance tokenpublic static void cacheResult(java.util.List<KaleoTaskInstanceToken> kaleoTaskInstanceTokens)
kaleoTaskInstanceTokens
- the kaleo task instance tokenspublic static KaleoTaskInstanceToken create(long kaleoTaskInstanceTokenId)
kaleoTaskInstanceTokenId
- the primary key for the new kaleo task instance tokenpublic static KaleoTaskInstanceToken remove(long kaleoTaskInstanceTokenId) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance tokenNoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be foundpublic static KaleoTaskInstanceToken updateImpl(KaleoTaskInstanceToken kaleoTaskInstanceToken)
public static KaleoTaskInstanceToken findByPrimaryKey(long kaleoTaskInstanceTokenId) throws NoSuchTaskInstanceTokenException
NoSuchTaskInstanceTokenException
if it could not be found.kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance tokenNoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be foundpublic static KaleoTaskInstanceToken fetchByPrimaryKey(long kaleoTaskInstanceTokenId)
null
if it could not be found.kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance tokennull
if a kaleo task instance token with the primary key could not be foundpublic static java.util.List<KaleoTaskInstanceToken> findAll()
public static java.util.List<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
start
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)public static java.util.List<KaleoTaskInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
start
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTaskInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> 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 KaleoTaskInstanceTokenModelImpl
.
start
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (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 KaleoTaskInstanceTokenPersistence getPersistence()