Class KaleoTimerUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTimerPersistenceImpl 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 voidcacheResult(KaleoTimer kaleoTimer) Caches the kaleo timer in the entity cache if it is enabled.static voidcacheResult(List<KaleoTimer> kaleoTimers) Caches the kaleo timers in the entity cache if it is enabled.static voidstatic voidclearCache(KaleoTimer kaleoTimer) static intcountAll()Returns the number of kaleo timers.static intcountByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.static intcountByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTimercreate(long kaleoTimerId) Creates a new kaleo timer with the primary key.static KaleoTimerfetchByKCN_KCPK_Blocking_First(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimerfetchByKCN_KCPK_Blocking_Last(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimerfetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoTimerfetchByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoTimerfetchByPrimaryKey(long kaleoTimerId) Returns the kaleo timer with the primary key or returnsnullif it could not be found.static Map<Serializable,KaleoTimer> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoTimer>findAll()Returns all the kaleo timers.static List<KaleoTimer>findAll(int start, int end) Returns a range of all the kaleo timers.static List<KaleoTimer>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers.static List<KaleoTimer>findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers.static List<KaleoTimer>findByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTimer>findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTimer>findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTimer>findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.static List<KaleoTimer>findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static List<KaleoTimer>findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static List<KaleoTimer>findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static List<KaleoTimer>findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimerfindByKCN_KCPK_Blocking_First(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimerfindByKCN_KCPK_Blocking_Last(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimer[]findByKCN_KCPK_Blocking_PrevAndNext(long kaleoTimerId, String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the kaleo timers before and after the current kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.static KaleoTimerfindByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoTimerfindByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoTimer[]findByKCN_KCPK_PrevAndNext(long kaleoTimerId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the kaleo timers before and after the current kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.static KaleoTimerfindByPrimaryKey(long kaleoTimerId) Returns the kaleo timer with the primary key or throws aNoSuchTimerExceptionif it could not be found.static List<KaleoTimer>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTimer>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTimer>findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) static KaleoTimerPersistencestatic KaleoTimerremove(long kaleoTimerId) Removes the kaleo timer with the primary key from the database.static voidRemoves all the kaleo timers from the database.static voidremoveByKCN_KCPK(String kaleoClassName, long kaleoClassPK) Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? from the database.static voidremoveByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ? from the database.static voidsetPersistence(KaleoTimerPersistence persistence) static KaleoTimerupdate(KaleoTimer kaleoTimer) static KaleoTimerupdate(KaleoTimer kaleoTimer, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTimerupdateImpl(KaleoTimer kaleoTimer)
-
Constructor Details
-
KaleoTimerUtil
public KaleoTimerUtil()
-
-
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
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTimer update(KaleoTimer kaleoTimer, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByKCN_KCPK
Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the matching kaleo timers
-
findByKCN_KCPK
public static List<KaleoTimer> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)- Returns:
- the range of matching kaleo timers
-
findByKCN_KCPK
public static List<KaleoTimer> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo timers
-
findByKCN_KCPK
public static List<KaleoTimer> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (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 timers
-
findByKCN_KCPK_First
public static KaleoTimer findByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer
- Throws:
NoSuchTimerException- if a matching kaleo timer could not be foundNoSuchTimerException
-
fetchByKCN_KCPK_First
public static KaleoTimer fetchByKCN_KCPK_First(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer, or
nullif a matching kaleo timer could not be found
-
findByKCN_KCPK_Last
public static KaleoTimer findByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo timer
- Throws:
NoSuchTimerException- if a matching kaleo timer could not be foundNoSuchTimerException
-
fetchByKCN_KCPK_Last
public static KaleoTimer fetchByKCN_KCPK_Last(String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo timer, or
nullif a matching kaleo timer could not be found
-
findByKCN_KCPK_PrevAndNext
public static KaleoTimer[] findByKCN_KCPK_PrevAndNext(long kaleoTimerId, String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the kaleo timers before and after the current kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoTimerId- the primary key of the current kaleo timerkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo timer
- Throws:
NoSuchTimerException- if a kaleo timer with the primary key could not be foundNoSuchTimerException
-
removeByKCN_KCPK
Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? from the database.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk
-
countByKCN_KCPK
Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pk- Returns:
- the number of matching kaleo timers
-
findByKCN_KCPK_Blocking
public static List<KaleoTimer> findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blocking- Returns:
- the matching kaleo timers
-
findByKCN_KCPK_Blocking
public static List<KaleoTimer> findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)- Returns:
- the range of matching kaleo timers
-
findByKCN_KCPK_Blocking
public static List<KaleoTimer> findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo timers
-
findByKCN_KCPK_Blocking
public static List<KaleoTimer> findByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingstart- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (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 timers
-
findByKCN_KCPK_Blocking_First
public static KaleoTimer findByKCN_KCPK_Blocking_First(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer
- Throws:
NoSuchTimerException- if a matching kaleo timer could not be foundNoSuchTimerException
-
fetchByKCN_KCPK_Blocking_First
public static KaleoTimer fetchByKCN_KCPK_Blocking_First(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer, or
nullif a matching kaleo timer could not be found
-
findByKCN_KCPK_Blocking_Last
public static KaleoTimer findByKCN_KCPK_Blocking_Last(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo timer
- Throws:
NoSuchTimerException- if a matching kaleo timer could not be foundNoSuchTimerException
-
fetchByKCN_KCPK_Blocking_Last
public static KaleoTimer fetchByKCN_KCPK_Blocking_Last(String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the last kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo timer, or
nullif a matching kaleo timer could not be found
-
findByKCN_KCPK_Blocking_PrevAndNext
public static KaleoTimer[] findByKCN_KCPK_Blocking_PrevAndNext(long kaleoTimerId, String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the kaleo timers before and after the current kaleo timer in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoTimerId- the primary key of the current kaleo timerkaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blockingorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next kaleo timer
- Throws:
NoSuchTimerException- if a kaleo timer with the primary key could not be foundNoSuchTimerException
-
removeByKCN_KCPK_Blocking
public static void removeByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ? from the database.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blocking
-
countByKCN_KCPK_Blocking
public static int countByKCN_KCPK_Blocking(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoClassPK- the kaleo class pkblocking- the blocking- Returns:
- the number of matching kaleo timers
-
cacheResult
Caches the kaleo timer in the entity cache if it is enabled.- Parameters:
kaleoTimer- the kaleo timer
-
cacheResult
Caches the kaleo timers in the entity cache if it is enabled.- Parameters:
kaleoTimers- the kaleo timers
-
create
Creates a new kaleo timer with the primary key. Does not add the kaleo timer to the database.- Parameters:
kaleoTimerId- the primary key for the new kaleo timer- Returns:
- the new kaleo timer
-
remove
Removes the kaleo timer with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTimerId- the primary key of the kaleo timer- Returns:
- the kaleo timer that was removed
- Throws:
NoSuchTimerException- if a kaleo timer with the primary key could not be foundNoSuchTimerException
-
updateImpl
-
findByPrimaryKey
Returns the kaleo timer with the primary key or throws aNoSuchTimerExceptionif it could not be found.- Parameters:
kaleoTimerId- the primary key of the kaleo timer- Returns:
- the kaleo timer
- Throws:
NoSuchTimerException- if a kaleo timer with the primary key could not be foundNoSuchTimerException
-
fetchByPrimaryKey
Returns the kaleo timer with the primary key or returnsnullif it could not be found.- Parameters:
kaleoTimerId- the primary key of the kaleo timer- Returns:
- the kaleo timer, or
nullif a kaleo timer with the primary key could not be found
-
findAll
Returns all the kaleo timers.- Returns:
- the kaleo timers
-
findAll
Returns a range of all the kaleo timers.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
start- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)- Returns:
- the range of kaleo timers
-
findAll
public static List<KaleoTimer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
start- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of kaleo timers
-
findAll
public static List<KaleoTimer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromKaleoTimerModelImpl.- Parameters:
start- the lower bound of the range of kaleo timersend- the upper bound of the range of kaleo timers (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of kaleo timers
-
removeAll
public static void removeAll()Removes all the kaleo timers from the database. -
countAll
public static int countAll()Returns the number of kaleo timers.- Returns:
- the number of kaleo timers
-
getPersistence
-
setPersistence
-