@ProviderType public interface KaleoTaskInstanceTokenPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTaskInstanceToken>
Caching information and settings can be found in portal.properties
KaleoTaskInstanceTokenUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken)
Caches the kaleo task instance token in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoTaskInstanceToken> kaleoTaskInstanceTokens)
Caches the kaleo task instance tokens in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo task instance tokens.
|
int |
countByCN_CPK(java.lang.String className,
long classPK)
Returns the number of kaleo task instance tokens where className = ? and classPK = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo task instance tokens where companyId = ?.
|
int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
int |
countByKaleoInstanceId(long kaleoInstanceId)
Returns the number of kaleo task instance tokens where kaleoInstanceId = ?.
|
int |
countByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Returns the number of kaleo task instance tokens where kaleoInstanceId = ? and kaleoTaskId = ?.
|
KaleoTaskInstanceToken |
create(long kaleoTaskInstanceTokenId)
Creates a new kaleo task instance token with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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. |
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. |
KaleoTaskInstanceToken |
fetchByPrimaryKey(long kaleoTaskInstanceTokenId)
Returns the kaleo task instance token with the primary key or returns
null if it could not be found. |
java.util.List<KaleoTaskInstanceToken> |
findAll()
Returns all the kaleo task instance tokens.
|
java.util.List<KaleoTaskInstanceToken> |
findAll(int start,
int end)
Returns a range of all the kaleo task instance tokens.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByCN_CPK(java.lang.String className,
long classPK)
Returns all the kaleo task instance tokens where className = ? and classPK = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId)
Returns all the kaleo task instance tokens where companyId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId)
Returns all the kaleo task instance tokens where kaleoInstanceId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where kaleoInstanceId = ?.
|
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 = ?.
|
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 = ?.
|
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. |
KaleoTaskInstanceToken |
findByPrimaryKey(long kaleoTaskInstanceTokenId)
Returns the kaleo task instance token with the primary key or throws a
NoSuchTaskInstanceTokenException if it could not be found. |
KaleoTaskInstanceToken |
remove(long kaleoTaskInstanceTokenId)
Removes the kaleo task instance token with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo task instance tokens from the database.
|
void |
removeByCN_CPK(java.lang.String className,
long classPK)
Removes all the kaleo task instance tokens where className = ? and classPK = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo task instance tokens where companyId = ? from the database.
|
void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.
|
void |
removeByKaleoInstanceId(long kaleoInstanceId)
Removes all the kaleo task instance tokens where kaleoInstanceId = ? from the database.
|
KaleoTaskInstanceToken |
removeByKII_KTI(long kaleoInstanceId,
long kaleoTaskId)
Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.
|
KaleoTaskInstanceToken |
updateImpl(KaleoTaskInstanceToken kaleoTaskInstanceToken) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoTaskInstanceToken> findByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 cacheKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken[] 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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.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)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
)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 cacheKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken[] 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 foundvoid removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDint countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.util.List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDjava.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)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
)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 cacheKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken[] 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 foundvoid removeByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDint countByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken removeByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDNoSuchTaskInstanceTokenException
int countByKII_KTI(long kaleoInstanceId, long kaleoTaskId)
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDjava.util.List<KaleoTaskInstanceToken> findByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkjava.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)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
)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 cacheKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken[] 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 foundvoid removeByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkint countByCN_CPK(java.lang.String className, long classPK)
className
- the class nameclassPK
- the class pkvoid cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken)
kaleoTaskInstanceToken
- the kaleo task instance tokenvoid cacheResult(java.util.List<KaleoTaskInstanceToken> kaleoTaskInstanceTokens)
kaleoTaskInstanceTokens
- the kaleo task instance tokensKaleoTaskInstanceToken create(long kaleoTaskInstanceTokenId)
kaleoTaskInstanceTokenId
- the primary key for the new kaleo task instance tokenKaleoTaskInstanceToken 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 foundKaleoTaskInstanceToken updateImpl(KaleoTaskInstanceToken kaleoTaskInstanceToken)
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 foundKaleoTaskInstanceToken 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 foundjava.util.List<KaleoTaskInstanceToken> findAll()
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)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
)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 cachevoid removeAll()
int countAll()