Interface KaleoTaskInstanceTokenPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTaskInstanceToken>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTaskInstanceToken>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoTaskInstanceToken kaleoTaskInstanceToken) Caches the kaleo task instance token in the entity cache if it is enabled.void
cacheResult
(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
countByC_U
(long companyId, long userId) Returns the number of kaleo task instance tokens where companyId = ? and userId = ?.int
countByC_U_C
(long companyId, long userId, boolean completed) Returns the number of kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.int
countByCN_CPK
(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 = ?.create
(long kaleoTaskInstanceTokenId) Creates a new kaleo task instance token with the primary key.fetchByC_U_C_First
(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.fetchByC_U_C_Last
(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.fetchByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.fetchByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.fetchByCN_CPK_First
(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 = ?.fetchByCN_CPK_Last
(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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.fetchByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found.fetchByKII_KTI
(long kaleoInstanceId, long kaleoTaskId, boolean useFinderCache) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found, optionally using the finder cache.fetchByPrimaryKey
(long kaleoTaskInstanceTokenId) Returns the kaleo task instance token with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo task instance tokens.findAll
(int start, int end) Returns a range of all the kaleo task instance tokens.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns an ordered range of all the kaleo task instance tokens.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.findByC_U
(long companyId, long userId) Returns all the kaleo task instance tokens where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ?.findByC_U
(long companyId, long userId, 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 = ? and userId = ?.findByC_U
(long companyId, long userId, 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 = ? and userId = ?.findByC_U_C
(long companyId, long userId, boolean completed) Returns all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.findByC_U_C
(long companyId, long userId, boolean completed, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.findByC_U_C
(long companyId, long userId, boolean completed, 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 = ? and userId = ? and completed = ?.findByC_U_C
(long companyId, long userId, boolean completed, 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 = ? and userId = ? and completed = ?.findByC_U_C_First
(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.findByC_U_C_Last
(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.findByC_U_C_PrevAndNext
(long kaleoTaskInstanceTokenId, long companyId, long userId, boolean completed, 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 = ? and userId = ? and completed = ?.findByC_U_First
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.findByC_U_Last
(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.findByC_U_PrevAndNext
(long kaleoTaskInstanceTokenId, long companyId, long userId, 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 = ? and userId = ?.findByCN_CPK
(String className, long classPK) Returns all the kaleo task instance tokens where className = ? and classPK = ?.findByCN_CPK
(String className, long classPK, int start, int end) Returns a range of all the kaleo task instance tokens where className = ? and classPK = ?.findByCN_CPK
(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 = ?.findByCN_CPK
(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 = ?.findByCN_CPK_First
(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 = ?.findByCN_CPK_Last
(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 = ?.findByCN_CPK_PrevAndNext
(long kaleoTaskInstanceTokenId, 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 = ?.findByCompanyId
(long companyId) Returns all the kaleo task instance tokens where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByKaleoInstanceId
(long kaleoInstanceId) Returns all the kaleo task instance tokens where kaleoInstanceId = ?.findByKaleoInstanceId
(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo task instance tokens where kaleoInstanceId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or throws aNoSuchTaskInstanceTokenException
if it could not be found.findByPrimaryKey
(long kaleoTaskInstanceTokenId) Returns the kaleo task instance token with the primary key or throws aNoSuchTaskInstanceTokenException
if it could not be found.remove
(long kaleoTaskInstanceTokenId) Removes the kaleo task instance token with the primary key from the database.void
Removes all the kaleo task instance tokens from the database.void
removeByC_U
(long companyId, long userId) Removes all the kaleo task instance tokens where companyId = ? and userId = ? from the database.void
removeByC_U_C
(long companyId, long userId, boolean completed) Removes all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ? from the database.void
removeByCN_CPK
(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.removeByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.updateImpl
(KaleoTaskInstanceToken kaleoTaskInstanceToken) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCompanyId
Returns all the kaleo task instance tokens where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo task instance tokens
-
findByCompanyId
Returns a range of all the kaleo task instance tokens where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task instance tokens
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByCompanyId_First
KaleoTaskInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByCompanyId_First
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByCompanyId_Last
KaleoTaskInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByCompanyId_Last
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByCompanyId_PrevAndNext
KaleoTaskInstanceToken[] findByCompanyId_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokencompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo task instance tokens where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo task instance tokens where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId
Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId
List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId_First
KaleoTaskInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByKaleoDefinitionVersionId_First
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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByKaleoDefinitionVersionId_Last
KaleoTaskInstanceToken findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByKaleoDefinitionVersionId_Last
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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
KaleoTaskInstanceToken[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo task instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo task instance tokens
-
findByKaleoInstanceId
Returns all the kaleo task instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance ID- Returns:
- the matching kaleo task instance tokens
-
findByKaleoInstanceId
Returns a range of all the kaleo task instance tokens where kaleoInstanceId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task instance tokens
-
findByKaleoInstanceId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByKaleoInstanceId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByKaleoInstanceId_First
KaleoTaskInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByKaleoInstanceId_First
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 = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByKaleoInstanceId_Last
KaleoTaskInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByKaleoInstanceId_Last
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 = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByKaleoInstanceId_PrevAndNext
KaleoTaskInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByKaleoInstanceId
void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo task instance tokens where kaleoInstanceId = ? from the database.- Parameters:
kaleoInstanceId
- the kaleo instance ID
-
countByKaleoInstanceId
int countByKaleoInstanceId(long kaleoInstanceId) Returns the number of kaleo task instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance ID- Returns:
- the number of matching kaleo task instance tokens
-
findByC_U
Returns all the kaleo task instance tokens where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the matching kaleo task instance tokens
-
findByC_U
Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user 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)- Returns:
- the range of matching kaleo task instance tokens
-
findByC_U
List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, 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 = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user 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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByC_U
List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, 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 = ? and userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByC_U_First
KaleoTaskInstanceToken findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByC_U_First
KaleoTaskInstanceToken fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByC_U_Last
KaleoTaskInstanceToken findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByC_U_Last
KaleoTaskInstanceToken fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByC_U_PrevAndNext
KaleoTaskInstanceToken[] findByC_U_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ? and userId = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokencompanyId
- the company IDuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByC_U
void removeByC_U(long companyId, long userId) Removes all the kaleo task instance tokens where companyId = ? and userId = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user ID
-
countByC_U
int countByC_U(long companyId, long userId) Returns the number of kaleo task instance tokens where companyId = ? and userId = ?.- Parameters:
companyId
- the company IDuserId
- the user ID- Returns:
- the number of matching kaleo task instance tokens
-
findByKII_KTI
KaleoTaskInstanceToken findByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or throws aNoSuchTaskInstanceTokenException
if it could not be found.- Parameters:
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task ID- Returns:
- the matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByKII_KTI
Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task ID- Returns:
- the matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
fetchByKII_KTI
KaleoTaskInstanceToken fetchByKII_KTI(long kaleoInstanceId, long kaleoTaskId, boolean useFinderCache) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
removeByKII_KTI
KaleoTaskInstanceToken removeByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.- Parameters:
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task ID- Returns:
- the kaleo task instance token that was removed
- Throws:
NoSuchTaskInstanceTokenException
-
countByKII_KTI
int countByKII_KTI(long kaleoInstanceId, long kaleoTaskId) Returns the number of kaleo task instance tokens where kaleoInstanceId = ? and kaleoTaskId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDkaleoTaskId
- the kaleo task ID- Returns:
- the number of matching kaleo task instance tokens
-
findByCN_CPK
Returns all the kaleo task instance tokens where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the matching kaleo task instance tokens
-
findByCN_CPK
Returns a range of all the kaleo task instance tokens where className = ? and classPK = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo task instance tokens
-
findByCN_CPK
List<KaleoTaskInstanceToken> findByCN_CPK(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByCN_CPK
List<KaleoTaskInstanceToken> findByCN_CPK(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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByCN_CPK_First
KaleoTaskInstanceToken findByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByCN_CPK_First
KaleoTaskInstanceToken fetchByCN_CPK_First(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 = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByCN_CPK_Last
KaleoTaskInstanceToken findByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByCN_CPK_Last
KaleoTaskInstanceToken fetchByCN_CPK_Last(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 = ?.- Parameters:
className
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByCN_CPK_PrevAndNext
KaleoTaskInstanceToken[] findByCN_CPK_PrevAndNext(long kaleoTaskInstanceTokenId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where className = ? and classPK = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokenclassName
- the class nameclassPK
- the class pkorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByCN_CPK
Removes all the kaleo task instance tokens where className = ? and classPK = ? from the database.- Parameters:
className
- the class nameclassPK
- the class pk
-
countByCN_CPK
Returns the number of kaleo task instance tokens where className = ? and classPK = ?.- Parameters:
className
- the class nameclassPK
- the class pk- Returns:
- the number of matching kaleo task instance tokens
-
findByC_U_C
Returns all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completed- Returns:
- the matching kaleo task instance tokens
-
findByC_U_C
List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedstart
- the lower bound of the range of kaleo task instance tokensend
- the upper bound of the range of kaleo task instance tokens (not inclusive)- Returns:
- the range of matching kaleo task instance tokens
-
findByC_U_C
List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, 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 = ? and userId = ? and completed = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedstart
- 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 (optionallynull
)- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByC_U_C
List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, 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 = ? and userId = ? and completed = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedstart
- 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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo task instance tokens
-
findByC_U_C_First
KaleoTaskInstanceToken findByC_U_C_First(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByC_U_C_First
KaleoTaskInstanceToken fetchByC_U_C_First(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByC_U_C_Last
KaleoTaskInstanceToken findByC_U_C_Last(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a matching kaleo task instance token could not be found
-
fetchByC_U_C_Last
KaleoTaskInstanceToken fetchByC_U_C_Last(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task instance token, or
null
if a matching kaleo task instance token could not be found
-
findByC_U_C_PrevAndNext
KaleoTaskInstanceToken[] findByC_U_C_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the current kaleo task instance tokencompanyId
- the company IDuserId
- the user IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
removeByC_U_C
void removeByC_U_C(long companyId, long userId, boolean completed) Removes all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ? from the database.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completed
-
countByC_U_C
int countByC_U_C(long companyId, long userId, boolean completed) Returns the number of kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.- Parameters:
companyId
- the company IDuserId
- the user IDcompleted
- the completed- Returns:
- the number of matching kaleo task instance tokens
-
cacheResult
Caches the kaleo task instance token in the entity cache if it is enabled.- Parameters:
kaleoTaskInstanceToken
- the kaleo task instance token
-
cacheResult
Caches the kaleo task instance tokens in the entity cache if it is enabled.- Parameters:
kaleoTaskInstanceTokens
- the kaleo task instance tokens
-
create
Creates a new kaleo task instance token with the primary key. Does not add the kaleo task instance token to the database.- Parameters:
kaleoTaskInstanceTokenId
- the primary key for the new kaleo task instance token- Returns:
- the new kaleo task instance token
-
remove
KaleoTaskInstanceToken remove(long kaleoTaskInstanceTokenId) throws NoSuchTaskInstanceTokenException Removes the kaleo task instance token with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance token- Returns:
- the kaleo task instance token that was removed
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
KaleoTaskInstanceToken findByPrimaryKey(long kaleoTaskInstanceTokenId) throws NoSuchTaskInstanceTokenException Returns the kaleo task instance token with the primary key or throws aNoSuchTaskInstanceTokenException
if it could not be found.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance token- Returns:
- the kaleo task instance token
- Throws:
NoSuchTaskInstanceTokenException
- if a kaleo task instance token with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo task instance token with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoTaskInstanceTokenId
- the primary key of the kaleo task instance token- Returns:
- the kaleo task instance token, or
null
if a kaleo task instance token with the primary key could not be found
-
findAll
List<KaleoTaskInstanceToken> findAll()Returns all the kaleo task instance tokens.- Returns:
- the kaleo task instance tokens
-
findAll
Returns a range of all the kaleo task instance tokens.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of kaleo task instance tokens
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of kaleo task instance tokens
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo task instance tokens
-
removeAll
void removeAll()Removes all the kaleo task instance tokens from the database. -
countAll
int countAll()Returns the number of kaleo task instance tokens.- Returns:
- the number of kaleo task instance tokens
-