Class KaleoTimerInstanceTokenUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(KaleoTimerInstanceToken kaleoTimerInstanceToken) Caches the kaleo timer instance token in the entity cache if it is enabled.static void
cacheResult
(List<KaleoTimerInstanceToken> kaleoTimerInstanceTokens) Caches the kaleo timer instance tokens in the entity cache if it is enabled.static void
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 returnsnull
if it could not be found.static KaleoTimerInstanceToken
fetchByKITI_KTI
(long kaleoInstanceTokenId, long kaleoTimerId, boolean useFinderCache) Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returnsnull
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 returnsnull
if it could not be found.static Map<Serializable,
KaleoTimerInstanceToken> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoTimerInstanceToken>
findAll()
Returns all the kaleo timer instance tokens.static List<KaleoTimerInstanceToken>
findAll
(int start, int end) Returns a range of all the kaleo timer instance tokens.static 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 List<KaleoTimerInstanceToken>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens.static List<KaleoTimerInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId) Returns all the kaleo timer instance tokens where kaleoInstanceId = ?.static List<KaleoTimerInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo timer instance tokens where kaleoInstanceId = ?.static 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 List<KaleoTimerInstanceToken>
findByKaleoInstanceId
(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceId = ?.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 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 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 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 List<KaleoTimerInstanceToken>
findByKITI_B_C
(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.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 List<KaleoTimerInstanceToken>
findByKITI_C
(long kaleoInstanceTokenId, boolean completed) Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.static 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 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 List<KaleoTimerInstanceToken>
findByKITI_C
(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? 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 KaleoTimerInstanceToken
findByKITI_KTI
(long kaleoInstanceTokenId, long kaleoTimerId) Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or throws aNoSuchTimerInstanceTokenException
if it could not be found.static KaleoTimerInstanceToken
findByPrimaryKey
(long kaleoTimerInstanceTokenId) Returns the kaleo timer instance token with the primary key or throws aNoSuchTimerInstanceTokenException
if it could not be found.static List<KaleoTimerInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTimerInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTimerInstanceToken>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) static KaleoTimerInstanceToken
remove
(long kaleoTimerInstanceTokenId) Removes the kaleo timer instance token with the primary key from the database.static void
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 void
setPersistence
(KaleoTimerInstanceTokenPersistence persistence) static KaleoTimerInstanceToken
update
(KaleoTimerInstanceToken kaleoTimerInstanceToken) static KaleoTimerInstanceToken
update
(KaleoTimerInstanceToken kaleoTimerInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTimerInstanceToken
updateImpl
(KaleoTimerInstanceToken kaleoTimerInstanceToken)
-
Constructor Details
-
KaleoTimerInstanceTokenUtil
public KaleoTimerInstanceTokenUtil()
-
-
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,KaleoTimerInstanceToken> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTimerInstanceToken update(KaleoTimerInstanceToken kaleoTimerInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByKaleoInstanceId
Returns all the kaleo timer instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance ID- Returns:
- the matching kaleo timer instance tokens
-
findByKaleoInstanceId
public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end) Returns a range of all the kaleo timer 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo timer instance tokens
-
findByKaleoInstanceId
public static 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 = ?.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKaleoInstanceId
public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKaleoInstanceId_First
public static KaleoTimerInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the first kaleo timer 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 timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKaleoInstanceId_First
public 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 = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKaleoInstanceId_Last
public static KaleoTimerInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the last kaleo timer 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 timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKaleoInstanceId_Last
public 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 = ?.- Parameters:
kaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKaleoInstanceId_PrevAndNext
public static KaleoTimerInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceId = ?.- Parameters:
kaleoTimerInstanceTokenId
- the primary key of the current kaleo timer instance tokenkaleoInstanceId
- the kaleo instance IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundNoSuchTimerInstanceTokenException
-
removeByKaleoInstanceId
public static void removeByKaleoInstanceId(long kaleoInstanceId) Removes all the kaleo timer 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 timer instance tokens where kaleoInstanceId = ?.- Parameters:
kaleoInstanceId
- the kaleo instance ID- Returns:
- the number of matching kaleo timer instance tokens
-
findByKITI_KTI
public static KaleoTimerInstanceToken findByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or throws aNoSuchTimerInstanceTokenException
if it could not be found.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer ID- Returns:
- the matching kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKITI_KTI
Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer ID- Returns:
- the matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
fetchByKITI_KTI
public static KaleoTimerInstanceToken fetchByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId, boolean useFinderCache) Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
removeByKITI_KTI
public static KaleoTimerInstanceToken removeByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException Removes the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? from the database.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer ID- Returns:
- the kaleo timer instance token that was removed
- Throws:
NoSuchTimerInstanceTokenException
-
countByKITI_KTI
public static int countByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and kaleoTimerId = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDkaleoTimerId
- the kaleo timer ID- Returns:
- the number of matching kaleo timer instance tokens
-
findByKITI_C
public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed) Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completed- Returns:
- the matching kaleo timer instance tokens
-
findByKITI_C
public static 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 = ?.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo timer instance tokens
-
findByKITI_C
public static 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 = ?.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKITI_C
public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKITI_C_First
public static KaleoTimerInstanceToken findByKITI_C_First(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKITI_C_First
public 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 = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKITI_C_Last
public static KaleoTimerInstanceToken findByKITI_C_Last(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKITI_C_Last
public 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 = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKITI_C_PrevAndNext
public static KaleoTimerInstanceToken[] findByKITI_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundNoSuchTimerInstanceTokenException
-
removeByKITI_C
public static void removeByKITI_C(long kaleoInstanceTokenId, boolean completed) Removes all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ? from the database.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completed
-
countByKITI_C
public static int countByKITI_C(long kaleoInstanceTokenId, boolean completed) Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDcompleted
- the completed- Returns:
- the number of matching kaleo timer instance tokens
-
findByKITI_B_C
public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed) Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completed- Returns:
- the matching kaleo timer instance tokens
-
findByKITI_B_C
public static 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 = ?.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo timer instance tokens
-
findByKITI_B_C
public static 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 = ?.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKITI_B_C
public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo timer instance tokens
-
findByKITI_B_C_First
public static KaleoTimerInstanceToken findByKITI_B_C_First(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKITI_B_C_First
public 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 = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKITI_B_C_Last
public static KaleoTimerInstanceToken findByKITI_B_C_Last(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a matching kaleo timer instance token could not be foundNoSuchTimerInstanceTokenException
-
fetchByKITI_B_C_Last
public 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 = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo timer instance token, or
null
if a matching kaleo timer instance token could not be found
-
findByKITI_B_C_PrevAndNext
public static KaleoTimerInstanceToken[] findByKITI_B_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException 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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundNoSuchTimerInstanceTokenException
-
removeByKITI_B_C
public 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.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completed
-
countByKITI_B_C
public 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 = ?.- Parameters:
kaleoInstanceTokenId
- the kaleo instance token IDblocking
- the blockingcompleted
- the completed- Returns:
- the number of matching kaleo timer instance tokens
-
cacheResult
Caches the kaleo timer instance token in the entity cache if it is enabled.- Parameters:
kaleoTimerInstanceToken
- the kaleo timer instance token
-
cacheResult
Caches the kaleo timer instance tokens in the entity cache if it is enabled.- Parameters:
kaleoTimerInstanceTokens
- the kaleo timer instance tokens
-
create
Creates a new kaleo timer instance token with the primary key. Does not add the kaleo timer instance token to the database.- Parameters:
kaleoTimerInstanceTokenId
- the primary key for the new kaleo timer instance token- Returns:
- the new kaleo timer instance token
-
remove
public static KaleoTimerInstanceToken remove(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException Removes the kaleo timer instance token with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance token- Returns:
- the kaleo timer instance token that was removed
- Throws:
NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundNoSuchTimerInstanceTokenException
-
updateImpl
-
findByPrimaryKey
public static KaleoTimerInstanceToken findByPrimaryKey(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException Returns the kaleo timer instance token with the primary key or throws aNoSuchTimerInstanceTokenException
if it could not be found.- Parameters:
kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance token- Returns:
- the kaleo timer instance token
- Throws:
NoSuchTimerInstanceTokenException
- if a kaleo timer instance token with the primary key could not be foundNoSuchTimerInstanceTokenException
-
fetchByPrimaryKey
Returns the kaleo timer instance token with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoTimerInstanceTokenId
- the primary key of the kaleo timer instance token- Returns:
- the kaleo timer instance token, or
null
if a kaleo timer instance token with the primary key could not be found
-
findAll
Returns all the kaleo timer instance tokens.- Returns:
- the kaleo timer instance tokens
-
findAll
Returns a range of all the kaleo timer 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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)- Returns:
- the range of kaleo timer instance tokens
-
findAll
public static 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.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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of kaleo timer instance tokens
-
findAll
public static List<KaleoTimerInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timer 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 fromKaleoTimerInstanceTokenModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo timer instance tokens
-
removeAll
public static void removeAll()Removes all the kaleo timer instance tokens from the database. -
countAll
public static int countAll()Returns the number of kaleo timer instance tokens.- Returns:
- the number of kaleo timer instance tokens
-
getPersistence
-
setPersistence
-