@ProviderType
public class KaleoTimerInstanceTokenUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTimerInstanceTokenPersistenceImpl
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
KaleoTimerInstanceTokenPersistence
Constructor and Description |
---|
KaleoTimerInstanceTokenUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTimerInstanceToken kaleoTimerInstanceToken)
Caches the kaleo timer instance token in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTimerInstanceToken> kaleoTimerInstanceTokens)
Caches the kaleo timer instance tokens in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTimerInstanceToken kaleoTimerInstanceToken) |
static int |
countAll()
Returns the number of kaleo timer instance tokens.
|
static int |
countByKaleoInstanceId(long kaleoInstanceId)
Returns the number of kaleo timer instance tokens where kaleoInstanceId = ?.
|
static int |
countByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed)
Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static int |
countByKITI_C(long kaleoInstanceTokenId,
boolean completed)
Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
|
static int |
countByKITI_KTI(long kaleoInstanceTokenId,
long kaleoTimerId)
Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and kaleoTimerId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTimerInstanceToken |
create(long kaleoTimerInstanceTokenId)
Creates a new kaleo timer instance token with the primary key.
|
static KaleoTimerInstanceToken |
fetchByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTimerInstanceToken |
fetchByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTimerInstanceToken |
fetchByKITI_B_C_First(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static KaleoTimerInstanceToken |
fetchByKITI_B_C_Last(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static KaleoTimerInstanceToken |
fetchByKITI_C_First(long kaleoInstanceTokenId,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
|
static KaleoTimerInstanceToken |
fetchByKITI_C_Last(long kaleoInstanceTokenId,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
|
static KaleoTimerInstanceToken |
fetchByKITI_KTI(long kaleoInstanceTokenId,
long kaleoTimerId)
Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returns
null if it could not be found. |
static KaleoTimerInstanceToken |
fetchByKITI_KTI(long kaleoInstanceTokenId,
long kaleoTimerId,
boolean retrieveFromCache)
Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoTimerInstanceToken |
fetchByPrimaryKey(long kaleoTimerInstanceTokenId)
Returns the kaleo timer instance token with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTimerInstanceToken> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTimerInstanceToken> |
findAll()
Returns all the kaleo timer instance tokens.
|
static java.util.List<KaleoTimerInstanceToken> |
findAll(int start,
int end)
Returns a range of all the kaleo timer instance tokens.
|
static java.util.List<KaleoTimerInstanceToken> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo timer instance tokens.
|
static java.util.List<KaleoTimerInstanceToken> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo timer instance tokens.
|
static KaleoTimerInstanceToken |
findByKaleoInstanceId_First(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTimerInstanceToken |
findByKaleoInstanceId_Last(long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
|
static KaleoTimerInstanceToken[] |
findByKaleoInstanceId_PrevAndNext(long kaleoTimerInstanceTokenId,
long kaleoInstanceId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId)
Returns all the kaleo timer instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end)
Returns a range of all the kaleo timer instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceId = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKaleoInstanceId(long kaleoInstanceId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceId = ?.
|
static KaleoTimerInstanceToken |
findByKITI_B_C_First(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static KaleoTimerInstanceToken |
findByKITI_B_C_Last(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static KaleoTimerInstanceToken[] |
findByKITI_B_C_PrevAndNext(long kaleoTimerInstanceTokenId,
long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed)
Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
int start,
int end)
Returns a range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
|
static KaleoTimerInstanceToken |
findByKITI_C_First(long kaleoInstanceTokenId,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
|
static KaleoTimerInstanceToken |
findByKITI_C_Last(long kaleoInstanceTokenId,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
|
static KaleoTimerInstanceToken[] |
findByKITI_C_PrevAndNext(long kaleoTimerInstanceTokenId,
long kaleoInstanceTokenId,
boolean completed,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_C(long kaleoInstanceTokenId,
boolean completed)
Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_C(long kaleoInstanceTokenId,
boolean completed,
int start,
int end)
Returns a range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_C(long kaleoInstanceTokenId,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
|
static java.util.List<KaleoTimerInstanceToken> |
findByKITI_C(long kaleoInstanceTokenId,
boolean completed,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
|
static KaleoTimerInstanceToken |
findByKITI_KTI(long kaleoInstanceTokenId,
long kaleoTimerId)
Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or throws a
NoSuchTimerInstanceTokenException if it could not be found. |
static KaleoTimerInstanceToken |
findByPrimaryKey(long kaleoTimerInstanceTokenId)
Returns the kaleo timer instance token with the primary key or throws a
NoSuchTimerInstanceTokenException if it could not be found. |
static java.util.List<KaleoTimerInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTimerInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTimerInstanceToken> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) |
static KaleoTimerInstanceTokenPersistence |
getPersistence() |
static KaleoTimerInstanceToken |
remove(long kaleoTimerInstanceTokenId)
Removes the kaleo timer instance token with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo timer instance tokens from the database.
|
static void |
removeByKaleoInstanceId(long kaleoInstanceId)
Removes all the kaleo timer instance tokens where kaleoInstanceId = ? from the database.
|
static void |
removeByKITI_B_C(long kaleoInstanceTokenId,
boolean blocking,
boolean completed)
Removes all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ? from the database.
|
static void |
removeByKITI_C(long kaleoInstanceTokenId,
boolean completed)
Removes all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ? from the database.
|
static KaleoTimerInstanceToken |
removeByKITI_KTI(long kaleoInstanceTokenId,
long kaleoTimerId)
Removes the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? from the database.
|
static KaleoTimerInstanceToken |
update(KaleoTimerInstanceToken kaleoTimerInstanceToken) |
static KaleoTimerInstanceToken |
update(KaleoTimerInstanceToken kaleoTimerInstanceToken,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTimerInstanceToken |
updateImpl(KaleoTimerInstanceToken kaleoTimerInstanceToken) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTimerInstanceToken kaleoTimerInstanceToken)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KaleoTimerInstanceToken> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTimerInstanceToken update(KaleoTimerInstanceToken kaleoTimerInstanceToken)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTimerInstanceToken update(KaleoTimerInstanceToken kaleoTimerInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static java.util.List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)public static java.util.List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceId
- the kaleo instance IDstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTimerInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoTimerInstanceTokenId
- the primary key of the current kaleo timer instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundpublic static void removeByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static int countByKaleoInstanceId(long kaleoInstanceId)
kaleoInstanceId
- the kaleo instance IDpublic static KaleoTimerInstanceToken findByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException
NoSuchTimerInstanceTokenException
if it could not be found.kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDNoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId)
null
if it could not be found. Uses the finder cache.kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDnull
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken removeByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDNoSuchTimerInstanceTokenException
public static int countByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId)
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDpublic static java.util.List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedpublic static java.util.List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)public static java.util.List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTimerInstanceToken findByKITI_C_First(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_C_First(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken findByKITI_C_Last(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_C_Last(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken[] findByKITI_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoTimerInstanceTokenId
- the primary key of the current kaleo timer instance tokenkaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundpublic static void removeByKITI_C(long kaleoInstanceTokenId, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedpublic static int countByKITI_C(long kaleoInstanceTokenId, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedpublic static java.util.List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedpublic static java.util.List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)public static java.util.List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedstart
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTimerInstanceToken findByKITI_B_C_First(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_B_C_First(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken findByKITI_B_C_Last(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken fetchByKITI_B_C_Last(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer instance token could not be foundpublic static KaleoTimerInstanceToken[] findByKITI_B_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
kaleoTimerInstanceTokenId
- the primary key of the current kaleo timer instance tokenkaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundpublic static void removeByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedpublic static int countByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedpublic static void cacheResult(KaleoTimerInstanceToken kaleoTimerInstanceToken)
kaleoTimerInstanceToken
- the kaleo timer instance tokenpublic static void cacheResult(java.util.List<KaleoTimerInstanceToken> kaleoTimerInstanceTokens)
kaleoTimerInstanceTokens
- the kaleo timer instance tokenspublic static KaleoTimerInstanceToken create(long kaleoTimerInstanceTokenId)
kaleoTimerInstanceTokenId
- the primary key for the new kaleo timer instance tokenpublic static KaleoTimerInstanceToken remove(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException
kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance tokenNoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundpublic static KaleoTimerInstanceToken updateImpl(KaleoTimerInstanceToken kaleoTimerInstanceToken)
public static KaleoTimerInstanceToken findByPrimaryKey(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException
NoSuchTimerInstanceTokenException
if it could not be found.kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance tokenNoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundpublic static KaleoTimerInstanceToken fetchByPrimaryKey(long kaleoTimerInstanceTokenId)
null
if it could not be found.kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance tokennull
if a kaleo timer instance token with the primary key could not be foundpublic static java.util.List<KaleoTimerInstanceToken> findAll()
public static java.util.List<KaleoTimerInstanceToken> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)public static java.util.List<KaleoTimerInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoTimerInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTimerInstanceTokenModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo timer instance tokensend
- the upper bound of the range of kaleo timer instance tokens (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoTimerInstanceTokenPersistence getPersistence()