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) static voidcacheResult(List<KaleoTimer> kaleoTimers) static voidstatic voidclearCache(KaleoTimer kaleoTimer) 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 intcountByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Returns the number of kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.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_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_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.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> 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_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 List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Returns all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, 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 kaleoDefinitionVersionId = ?.static KaleoTimerfindByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.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 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 voidremoveByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId) Removes all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ? 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
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
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:
-
update
- See Also:
-
update
public static KaleoTimer update(KaleoTimer kaleoTimer, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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
-
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
-
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_KDVI
public static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, 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 kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- 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_KDVI_First
public static KaleoTimer findByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer
-
fetchByKCN_KDVI_First
public static KaleoTimer fetchByKCN_KDVI_First(String kaleoClassName, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns the first kaleo timer in the ordered set where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo timer, or
nullif a matching kaleo timer could not be found
-
removeByKCN_KDVI
Removes all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID
-
countByKCN_KDVI
Returns the number of kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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
-
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
-
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
-
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
-
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
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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_KDVI
Returns all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo timers
-
findByKCN_KDVI
public static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- 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_KDVI
public static List<KaleoTimer> findByKCN_KDVI(String kaleoClassName, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers where kaleoClassName = ? and kaleoDefinitionVersionId = ?.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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- Parameters:
kaleoClassName- the kaleo class namekaleoDefinitionVersionId- the kaleo definition version IDstart- 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) 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoTimerModelImpl.- 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
-
getPersistence
-
setPersistence
-