@ProviderType public interface KaleoTaskInstanceTokenPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTaskInstanceToken>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskInstanceTokenPersistenceImpl
,
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 |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo task instance tokens where kaleoDefinitionId = ?.
|
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 |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoDefinitionId = ?.
|
KaleoTaskInstanceToken |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoDefinitionId = ?.
|
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 retrieveFromCache)
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.Map<java.io.Serializable,KaleoTaskInstanceToken> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
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 retrieveFromCache)
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 retrieveFromCache)
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 retrieveFromCache)
Returns an ordered range of all the kaleo task instance tokens where companyId = ?.
|
KaleoTaskInstanceToken |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the first kaleo task instance token in the ordered set where kaleoDefinitionId = ?.
|
KaleoTaskInstanceToken |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns the last kaleo task instance token in the ordered set where kaleoDefinitionId = ?.
|
KaleoTaskInstanceToken[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoTaskInstanceTokenId,
long kaleoDefinitionId,
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 kaleoDefinitionId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo task instance tokens where kaleoDefinitionId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo task instance tokens where kaleoDefinitionId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionId = ?.
|
java.util.List<KaleoTaskInstanceToken> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionId = ?.
|
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 retrieveFromCache)
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 |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo task instance tokens where kaleoDefinitionId = ? 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, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo 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
)retrieveFromCache
- whether to retrieve from 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> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoTaskInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)java.util.List<KaleoTaskInstanceToken> findByKaleoDefinitionId(long kaleoDefinitionId, 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo 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> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo 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
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoTaskInstanceToken findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundKaleoTaskInstanceToken fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundKaleoTaskInstanceToken findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be foundKaleoTaskInstanceToken fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task instance token could not be foundKaleoTaskInstanceToken[] findByKaleoDefinitionId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenkaleoDefinitionId
- the kaleo definition 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 removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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
)retrieveFromCache
- whether to retrieve from 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 retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDretrieveFromCache
- whether to retrieve from 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
className
- the class nameclassPK
- the class pkstart
- the lower bound of the range of kaleo 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
)retrieveFromCache
- whether to retrieve from 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.Map<java.io.Serializable,KaleoTaskInstanceToken> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTaskInstanceToken>
java.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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo 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 and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo 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 retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTaskInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo 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
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()