public class KaleoTimerUtil
extends java.lang.Object
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
KaleoTimerPersistence
Constructor and Description |
---|
KaleoTimerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTimer kaleoTimer)
Caches the kaleo timer in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTimer> kaleoTimers)
Caches the kaleo timers in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoTimer kaleoTimer) |
static int |
countAll()
Returns the number of kaleo timers.
|
static int |
countByKCN_KCPK_Blocking(java.lang.String kaleoClassName,
long kaleoClassPK,
boolean blocking)
Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.
|
static int |
countByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoTimer |
create(long kaleoTimerId)
Creates a new kaleo timer with the primary key.
|
static KaleoTimer |
fetchByKCN_KCPK_Blocking_First(java.lang.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 KaleoTimer |
fetchByKCN_KCPK_Blocking_Last(java.lang.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 |
fetchByKCN_KCPK_First(java.lang.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 KaleoTimer |
fetchByKCN_KCPK_Last(java.lang.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 |
fetchByPrimaryKey(long kaleoTimerId)
Returns the kaleo timer with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTimer> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTimer> |
findAll()
Returns all the kaleo timers.
|
static java.util.List<KaleoTimer> |
findAll(int start,
int end)
Returns a range of all the kaleo timers.
|
static java.util.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 java.util.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 KaleoTimer |
findByKCN_KCPK_Blocking_First(java.lang.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 KaleoTimer |
findByKCN_KCPK_Blocking_Last(java.lang.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,
java.lang.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 java.util.List<KaleoTimer> |
findByKCN_KCPK_Blocking(java.lang.String kaleoClassName,
long kaleoClassPK,
boolean blocking)
Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.
|
static java.util.List<KaleoTimer> |
findByKCN_KCPK_Blocking(java.lang.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 java.util.List<KaleoTimer> |
findByKCN_KCPK_Blocking(java.lang.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 java.util.List<KaleoTimer> |
findByKCN_KCPK_Blocking(java.lang.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 KaleoTimer |
findByKCN_KCPK_First(java.lang.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 KaleoTimer |
findByKCN_KCPK_Last(java.lang.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,
java.lang.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 java.util.List<KaleoTimer> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTimer> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end)
Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoTimer> |
findByKCN_KCPK(java.lang.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 java.util.List<KaleoTimer> |
findByKCN_KCPK(java.lang.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 KaleoTimer |
findByPrimaryKey(long kaleoTimerId)
Returns the kaleo timer with the primary key or throws a
NoSuchTimerException if it could not be found. |
static java.util.List<KaleoTimer> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTimer> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoTimer> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) |
static KaleoTimerPersistence |
getPersistence() |
static KaleoTimer |
remove(long kaleoTimerId)
Removes the kaleo timer with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo timers from the database.
|
static void |
removeByKCN_KCPK_Blocking(java.lang.String kaleoClassName,
long kaleoClassPK,
boolean blocking)
Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ? from the database.
|
static void |
removeByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? from the database.
|
static KaleoTimer |
update(KaleoTimer kaleoTimer) |
static KaleoTimer |
update(KaleoTimer kaleoTimer,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTimer |
updateImpl(KaleoTimer kaleoTimer) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTimer kaleoTimer)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KaleoTimer> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTimer> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTimer update(KaleoTimer kaleoTimer)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTimer update(KaleoTimer kaleoTimer, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTimer> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoTimer> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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)public static java.util.List<KaleoTimer> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)public static java.util.List<KaleoTimer> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTimer findByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerException
- if a matching kaleo timer could not be foundpublic static KaleoTimer fetchByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer could not be foundpublic static KaleoTimer findByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerException
- if a matching kaleo timer could not be foundpublic static KaleoTimer fetchByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer could not be foundpublic static KaleoTimer[] findByKCN_KCPK_PrevAndNext(long kaleoTimerId, java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
kaleoTimerId
- the primary key of the current kaleo timerkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerException
- if a kaleo timer with the primary key could not be foundpublic static void removeByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static int countByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoTimer> findByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingpublic static java.util.List<KaleoTimer> findByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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)public static java.util.List<KaleoTimer> findByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)public static java.util.List<KaleoTimer> findByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static KaleoTimer findByKCN_KCPK_Blocking_First(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerException
- if a matching kaleo timer could not be foundpublic static KaleoTimer fetchByKCN_KCPK_Blocking_First(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer could not be foundpublic static KaleoTimer findByKCN_KCPK_Blocking_Last(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTimerException
- if a matching kaleo timer could not be foundpublic static KaleoTimer fetchByKCN_KCPK_Blocking_Last(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo timer could not be foundpublic static KaleoTimer[] findByKCN_KCPK_Blocking_PrevAndNext(long kaleoTimerId, java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) throws NoSuchTimerException
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 (optionally null
)NoSuchTimerException
- if a kaleo timer with the primary key could not be foundpublic static void removeByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingpublic static int countByKCN_KCPK_Blocking(java.lang.String kaleoClassName, long kaleoClassPK, boolean blocking)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkblocking
- the blockingpublic static void cacheResult(KaleoTimer kaleoTimer)
kaleoTimer
- the kaleo timerpublic static void cacheResult(java.util.List<KaleoTimer> kaleoTimers)
kaleoTimers
- the kaleo timerspublic static KaleoTimer create(long kaleoTimerId)
kaleoTimerId
- the primary key for the new kaleo timerpublic static KaleoTimer remove(long kaleoTimerId) throws NoSuchTimerException
kaleoTimerId
- the primary key of the kaleo timerNoSuchTimerException
- if a kaleo timer with the primary key could not be foundpublic static KaleoTimer updateImpl(KaleoTimer kaleoTimer)
public static KaleoTimer findByPrimaryKey(long kaleoTimerId) throws NoSuchTimerException
NoSuchTimerException
if it could not be found.kaleoTimerId
- the primary key of the kaleo timerNoSuchTimerException
- if a kaleo timer with the primary key could not be foundpublic static KaleoTimer fetchByPrimaryKey(long kaleoTimerId)
null
if it could not be found.kaleoTimerId
- the primary key of the kaleo timernull
if a kaleo timer with the primary key could not be foundpublic static java.util.List<KaleoTimer> findAll()
public static java.util.List<KaleoTimer> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
start
- the lower bound of the range of kaleo timersend
- the upper bound of the range of kaleo timers (not inclusive)public static java.util.List<KaleoTimer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)public static java.util.List<KaleoTimer> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoTimerModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoTimerPersistence getPersistence()