Interface KaleoTimerPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTimer>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTimer>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoTimer kaleoTimer) Caches the kaleo timer in the entity cache if it is enabled.void
cacheResult
(List<KaleoTimer> kaleoTimers) Caches the kaleo timers in the entity cache if it is enabled.int
countAll()
Returns the number of kaleo timers.int
countByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.int
countByKCN_KCPK_Blocking
(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.create
(long kaleoTimerId) Creates a new kaleo timer with the primary key.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 = ?.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 = ?.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 = ?.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 = ?.fetchByPrimaryKey
(long kaleoTimerId) Returns the kaleo timer with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo timers.findAll
(int start, int end) Returns a range of all the kaleo timers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator) Returns an ordered range of all the kaleo timers.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimer> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo timers.findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.findByKCN_KCPK
(String kaleoClassName, long kaleoClassPK, int start, int end) Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.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 = ?.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 = ?.findByKCN_KCPK_Blocking
(String kaleoClassName, long kaleoClassPK, boolean blocking) Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ?.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 = ?.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 = ?.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 = ?.findByKCN_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 = ?.findByKCN_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 = ?.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 = ?.findByKCN_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 = ?.findByKCN_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 = ?.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 = ?.findByPrimaryKey
(long kaleoTimerId) Returns the kaleo timer with the primary key or throws aNoSuchTimerException
if it could not be found.remove
(long kaleoTimerId) Removes the kaleo timer with the primary key from the database.void
Removes all the kaleo timers from the database.void
removeByKCN_KCPK
(String kaleoClassName, long kaleoClassPK) Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? from the database.void
removeByKCN_KCPK_Blocking
(String kaleoClassName, long kaleoClassPK, boolean blocking) Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? and blocking = ? from the database.updateImpl
(KaleoTimer kaleoTimer) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
Returns a range of all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.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 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
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 - 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 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
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 - 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 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
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 found
-
fetchByKCN_KCPK_First
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
null
if a matching kaleo timer could not be found
-
findByKCN_KCPK_Last
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 found
-
fetchByKCN_KCPK_Last
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
null
if a matching kaleo timer could not be found
-
findByKCN_KCPK_PrevAndNext
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 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_KCPK_Blocking
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
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 - 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 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
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 - 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 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
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 - 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 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
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 found
-
fetchByKCN_KCPK_Blocking_First
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
null
if a matching kaleo timer could not be found
-
findByKCN_KCPK_Blocking_Last
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 found
-
fetchByKCN_KCPK_Blocking_Last
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
null
if a matching kaleo timer could not be found
-
findByKCN_KCPK_Blocking_PrevAndNext
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 found
-
removeByKCN_KCPK_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
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 found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo timer with the primary key or throws aNoSuchTimerException
if 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 found
-
fetchByPrimaryKey
Returns the kaleo timer with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoTimerId
- the primary key of the kaleo timer- Returns:
- the kaleo timer, or
null
if a kaleo timer with the primary key could not be found
-
findAll
List<KaleoTimer> 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 - 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 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
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 - 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 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
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 - 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 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
void removeAll()Removes all the kaleo timers from the database. -
countAll
int countAll()Returns the number of kaleo timers.- Returns:
- the number of kaleo timers
-