Class KaleoTaskInstanceTokenUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskInstanceTokenPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(KaleoTaskInstanceToken kaleoTaskInstanceToken) Caches the kaleo task instance token in the entity cache if it is enabled.static void
cacheResult
(List<KaleoTaskInstanceToken> kaleoTaskInstanceTokens) Caches the kaleo task instance tokens in the entity cache if it is enabled.static void
static void
clearCache
(KaleoTaskInstanceToken kaleoTaskInstanceToken) static int
countAll()
Returns the number of kaleo task instance tokens.static int
countByC_U
(long companyId, long userId) Returns the number of kaleo task instance tokens where companyId = ? and userId = ?.static int
countByC_U_C
(long companyId, long userId, boolean completed) Returns the number of kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.static int
countByCN_CPK
(String className, long classPK) Returns the number of kaleo task instance tokens where className = ? and classPK = ?.static int
countByCompanyId
(long companyId) Returns the number of kaleo task instance tokens where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo task instance tokens where kaleoDefinitionVersionId = ?.static int
countByKaleoInstanceId
(long kaleoInstanceId) Returns the number of kaleo task instance tokens where kaleoInstanceId = ?.static int
countByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Returns the number of kaleo task instance tokens where kaleoInstanceId = ? and kaleoTaskId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTaskInstanceToken
create
(long kaleoTaskInstanceTokenId) Creates a new kaleo task instance token with the primary key.static KaleoTaskInstanceToken
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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static KaleoTaskInstanceToken
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ?.static KaleoTaskInstanceToken
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ?.static KaleoTaskInstanceToken
fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskInstanceToken
fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskInstanceToken
fetchByKaleoInstanceId_First
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.static KaleoTaskInstanceToken
fetchByKaleoInstanceId_Last
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.static KaleoTaskInstanceToken
fetchByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found.static KaleoTaskInstanceToken
fetchByKII_KTI
(long kaleoInstanceId, long kaleoTaskId, boolean useFinderCache) Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoTaskInstanceToken
fetchByPrimaryKey
(long kaleoTaskInstanceTokenId) Returns the kaleo task instance token with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoTaskInstanceToken> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoTaskInstanceToken>
findAll()
Returns all the kaleo task instance tokens.static List<KaleoTaskInstanceToken>
findAll
(int start, int end) Returns a range of all the kaleo task instance tokens.static List<KaleoTaskInstanceToken>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns an ordered range of all the kaleo task instance tokens.static List<KaleoTaskInstanceToken>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task instance tokens.static List<KaleoTaskInstanceToken>
findByC_U
(long companyId, long userId) Returns all the kaleo task instance tokens where companyId = ? and userId = ?.static List<KaleoTaskInstanceToken>
findByC_U
(long companyId, long userId, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ?.static 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 = ?.static 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 = ?.static List<KaleoTaskInstanceToken>
findByC_U_C
(long companyId, long userId, boolean completed) Returns all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.static 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 = ?.static 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 = ?.static 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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken[]
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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken[]
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 = ?.static List<KaleoTaskInstanceToken>
findByCN_CPK
(String className, long classPK) Returns all the kaleo task instance tokens where className = ? and classPK = ?.static List<KaleoTaskInstanceToken>
findByCN_CPK
(String className, long classPK, int start, int end) Returns a range of all the kaleo task instance tokens where className = ? and classPK = ?.static 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 = ?.static 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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken
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 = ?.static KaleoTaskInstanceToken[]
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 = ?.static List<KaleoTaskInstanceToken>
findByCompanyId
(long companyId) Returns all the kaleo task instance tokens where companyId = ?.static List<KaleoTaskInstanceToken>
findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo task instance tokens where companyId = ?.static List<KaleoTaskInstanceToken>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns an ordered range of all the kaleo task instance tokens where companyId = ?.static List<KaleoTaskInstanceToken>
findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task instance tokens where companyId = ?.static KaleoTaskInstanceToken
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ?.static KaleoTaskInstanceToken
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ?.static KaleoTaskInstanceToken[]
findByCompanyId_PrevAndNext
(long kaleoTaskInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ?.static List<KaleoTaskInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.static List<KaleoTaskInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.static List<KaleoTaskInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.static List<KaleoTaskInstanceToken>
findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.static KaleoTaskInstanceToken
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskInstanceToken
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTaskInstanceToken[]
findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoTaskInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoTaskInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId) Returns all the kaleo task instance tokens where kaleoInstanceId = ?.static List<KaleoTaskInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo task instance tokens where kaleoInstanceId = ?.static List<KaleoTaskInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns an ordered range of all the kaleo task instance tokens where kaleoInstanceId = ?.static List<KaleoTaskInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo task instance tokens where kaleoInstanceId = ?.static KaleoTaskInstanceToken
findByKaleoInstanceId_First
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.static KaleoTaskInstanceToken
findByKaleoInstanceId_Last
(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.static KaleoTaskInstanceToken[]
findByKaleoInstanceId_PrevAndNext
(long kaleoTaskInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoInstanceId = ?.static KaleoTaskInstanceToken
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.static KaleoTaskInstanceToken
findByPrimaryKey
(long kaleoTaskInstanceTokenId) Returns the kaleo task instance token with the primary key or throws aNoSuchTaskInstanceTokenException
if it could not be found.static List<KaleoTaskInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTaskInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTaskInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) static KaleoTaskInstanceToken
remove
(long kaleoTaskInstanceTokenId) Removes the kaleo task instance token with the primary key from the database.static void
Removes all the kaleo task instance tokens from the database.static void
removeByC_U
(long companyId, long userId) Removes all the kaleo task instance tokens where companyId = ? and userId = ? from the database.static 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.static void
removeByCN_CPK
(String className, long classPK) Removes all the kaleo task instance tokens where className = ? and classPK = ? from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo task instance tokens where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.static void
removeByKaleoInstanceId
(long kaleoInstanceId) Removes all the kaleo task instance tokens where kaleoInstanceId = ? from the database.static KaleoTaskInstanceToken
removeByKII_KTI
(long kaleoInstanceId, long kaleoTaskId) Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.static void
setPersistence
(KaleoTaskInstanceTokenPersistence persistence) static KaleoTaskInstanceToken
update
(KaleoTaskInstanceToken kaleoTaskInstanceToken) static KaleoTaskInstanceToken
update
(KaleoTaskInstanceToken kaleoTaskInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTaskInstanceToken
updateImpl
(KaleoTaskInstanceToken kaleoTaskInstanceToken)
-
Constructor Details
-
KaleoTaskInstanceTokenUtil
public KaleoTaskInstanceTokenUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,KaleoTaskInstanceToken> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTaskInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTaskInstanceToken update(KaleoTaskInstanceToken kaleoTaskInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByCompanyId_First
public static KaleoTaskInstanceToken fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where companyId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByCompanyId_Last
public static KaleoTaskInstanceToken fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where companyId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo task instance tokens where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static 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
public static List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo task instance tokens
-
findByKaleoDefinitionVersionId
public static 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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByKaleoDefinitionVersionId_First
public static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static 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
public static List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByKaleoInstanceId_First
public static KaleoTaskInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the first kaleo task instance token in the ordered set where kaleoInstanceId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByKaleoInstanceId_Last
public static KaleoTaskInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) Returns the last kaleo task instance token in the ordered set where kaleoInstanceId = ?.- 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
public static 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 foundNoSuchTaskInstanceTokenException
-
removeByKaleoInstanceId
public static void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo task instance tokens where kaleoInstanceId = ? from the database.- Parameters:
kaleoInstanceId
- the kaleo instance ID
-
countByKaleoInstanceId
public static 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
public static List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByC_U_First
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByC_U_Last
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
removeByC_U
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
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
public static 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
public static 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
public static 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
public static List<KaleoTaskInstanceToken> findByCN_CPK(String className, long classPK, int start, int end) 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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByCN_CPK_First
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByCN_CPK_Last
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
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
public static List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed) 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
public static 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
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByC_U_C_First
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
fetchByC_U_C_Last
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
removeByC_U_C
public static 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
public static 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
public static 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 foundNoSuchTaskInstanceTokenException
-
updateImpl
-
findByPrimaryKey
public static 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 foundNoSuchTaskInstanceTokenException
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the kaleo task instance tokens from the database. -
countAll
public static int countAll()Returns the number of kaleo task instance tokens.- Returns:
- the number of kaleo task instance tokens
-
getPersistence
-
setPersistence
-