Interface KaleoTimerPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTimer>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTimer>

@ProviderType public interface KaleoTimerPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTimer>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTimer>
The persistence interface for the kaleo timer service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    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
    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 returns null if it could not be found.
    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 a NoSuchTimerException 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

      List<KaleoTimer> findByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Returns all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      Returns:
      the matching kaleo timers
    • findByKCN_KCPK

      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 - 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo timers
      end - 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 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo timers
      end - the upper bound of the range of kaleo timers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      start - the lower bound of the range of kaleo timers
      end - 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 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 name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      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 timer
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo timer
      Throws:
      NoSuchTimerException - if a kaleo timer with the primary key could not be found
    • removeByKCN_KCPK

      void removeByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Removes all the kaleo timers where kaleoClassName = ? and kaleoClassPK = ? from the database.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
    • countByKCN_KCPK

      int countByKCN_KCPK(String kaleoClassName, long kaleoClassPK)
      Returns the number of kaleo timers where kaleoClassName = ? and kaleoClassPK = ?.
      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - 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 name
      kaleoClassPK - the kaleo class pk
      blocking - 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 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      start - the lower bound of the range of kaleo timers
      end - 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 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      start - the lower bound of the range of kaleo timers
      end - the upper bound of the range of kaleo timers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      start - the lower bound of the range of kaleo timers
      end - 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 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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      orderByComparator - the comparator to order the set by (optionally null)
      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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      orderByComparator - the comparator to order the set by (optionally null)
      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 timer
      kaleoClassName - the kaleo class name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      orderByComparator - the comparator to order the set by (optionally null)
      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

      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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
    • countByKCN_KCPK_Blocking

      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 name
      kaleoClassPK - the kaleo class pk
      blocking - the blocking
      Returns:
      the number of matching kaleo timers
    • cacheResult

      void cacheResult(KaleoTimer kaleoTimer)
      Caches the kaleo timer in the entity cache if it is enabled.
      Parameters:
      kaleoTimer - the kaleo timer
    • cacheResult

      void cacheResult(List<KaleoTimer> kaleoTimers)
      Caches the kaleo timers in the entity cache if it is enabled.
      Parameters:
      kaleoTimers - the kaleo timers
    • create

      KaleoTimer create(long kaleoTimerId)
      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

      KaleoTimer remove(long kaleoTimerId) throws NoSuchTimerException
      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

      KaleoTimer updateImpl(KaleoTimer kaleoTimer)
    • findByPrimaryKey

      KaleoTimer findByPrimaryKey(long kaleoTimerId) throws NoSuchTimerException
      Returns the kaleo timer with the primary key or throws a NoSuchTimerException 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

      KaleoTimer fetchByPrimaryKey(long kaleoTimerId)
      Returns the kaleo timer with the primary key or returns null 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

      List<KaleoTimer> findAll(int start, int end)
      Returns a range of all the kaleo timers.

      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.

      Parameters:
      start - the lower bound of the range of kaleo timers
      end - 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 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.

      Parameters:
      start - the lower bound of the range of kaleo timers
      end - the upper bound of the range of kaleo timers (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      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 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.

      Parameters:
      start - the lower bound of the range of kaleo timers
      end - 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 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