Class KaleoTimerInstanceTokenUtil

java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.KaleoTimerInstanceTokenUtil

public class KaleoTimerInstanceTokenUtil extends Object
The persistence utility for the kaleo timer instance token service. This utility wraps com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTimerInstanceTokenPersistenceImpl 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 Details

    • KaleoTimerInstanceTokenUtil

      public KaleoTimerInstanceTokenUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(KaleoTimerInstanceToken kaleoTimerInstanceToken)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,KaleoTimerInstanceToken> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<KaleoTimerInstanceToken> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static KaleoTimerInstanceToken update(KaleoTimerInstanceToken kaleoTimerInstanceToken)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static KaleoTimerInstanceToken update(KaleoTimerInstanceToken kaleoTimerInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByKaleoInstanceId

      public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId)
      Returns all the kaleo timer instance tokens where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the matching kaleo timer instance tokens
    • findByKaleoInstanceId

      public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
      Returns a range of all the kaleo timer instance tokens where kaleoInstanceId = ?.

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

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      Returns:
      the range of matching kaleo timer instance tokens
    • findByKaleoInstanceId

      public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceId = ?.

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

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo timer instance tokens
    • findByKaleoInstanceId

      public static List<KaleoTimerInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceId = ?.

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

      Parameters:
      kaleoInstanceId - the kaleo instance ID
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (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 timer instance tokens
    • findByKaleoInstanceId_First

      public static KaleoTimerInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKaleoInstanceId_First

      public static KaleoTimerInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKaleoInstanceId_Last

      public static KaleoTimerInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKaleoInstanceId_Last

      public static KaleoTimerInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKaleoInstanceId_PrevAndNext

      public static KaleoTimerInstanceToken[] findByKaleoInstanceId_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceId = ?.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the current kaleo timer instance token
      kaleoInstanceId - the kaleo instance ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a kaleo timer instance token with the primary key could not be found
      NoSuchTimerInstanceTokenException
    • removeByKaleoInstanceId

      public static void removeByKaleoInstanceId(long kaleoInstanceId)
      Removes all the kaleo timer instance tokens where kaleoInstanceId = ? from the database.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
    • countByKaleoInstanceId

      public static int countByKaleoInstanceId(long kaleoInstanceId)
      Returns the number of kaleo timer instance tokens where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the number of matching kaleo timer instance tokens
    • findByKITI_KTI

      public static KaleoTimerInstanceToken findByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException
      Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or throws a NoSuchTimerInstanceTokenException if it could not be found.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      kaleoTimerId - the kaleo timer ID
      Returns:
      the matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKITI_KTI

      public static KaleoTimerInstanceToken fetchByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId)
      Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      kaleoTimerId - the kaleo timer ID
      Returns:
      the matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • fetchByKITI_KTI

      public static KaleoTimerInstanceToken fetchByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId, boolean useFinderCache)
      Returns the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      kaleoTimerId - the kaleo timer ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • removeByKITI_KTI

      public static KaleoTimerInstanceToken removeByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId) throws NoSuchTimerInstanceTokenException
      Removes the kaleo timer instance token where kaleoInstanceTokenId = ? and kaleoTimerId = ? from the database.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      kaleoTimerId - the kaleo timer ID
      Returns:
      the kaleo timer instance token that was removed
      Throws:
      NoSuchTimerInstanceTokenException
    • countByKITI_KTI

      public static int countByKITI_KTI(long kaleoInstanceTokenId, long kaleoTimerId)
      Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and kaleoTimerId = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      kaleoTimerId - the kaleo timer ID
      Returns:
      the number of matching kaleo timer instance tokens
    • findByKITI_C

      public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed)
      Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      Returns:
      the matching kaleo timer instance tokens
    • findByKITI_C

      public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end)
      Returns a range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      Returns:
      the range of matching kaleo timer instance tokens
    • findByKITI_C

      public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo timer instance tokens
    • findByKITI_C

      public static List<KaleoTimerInstanceToken> findByKITI_C(long kaleoInstanceTokenId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (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 timer instance tokens
    • findByKITI_C_First

      public static KaleoTimerInstanceToken findByKITI_C_First(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKITI_C_First

      public static KaleoTimerInstanceToken fetchByKITI_C_First(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKITI_C_Last

      public static KaleoTimerInstanceToken findByKITI_C_Last(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKITI_C_Last

      public static KaleoTimerInstanceToken fetchByKITI_C_Last(long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKITI_C_PrevAndNext

      public static KaleoTimerInstanceToken[] findByKITI_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the current kaleo timer instance token
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a kaleo timer instance token with the primary key could not be found
      NoSuchTimerInstanceTokenException
    • removeByKITI_C

      public static void removeByKITI_C(long kaleoInstanceTokenId, boolean completed)
      Removes all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ? from the database.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
    • countByKITI_C

      public static int countByKITI_C(long kaleoInstanceTokenId, boolean completed)
      Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      completed - the completed
      Returns:
      the number of matching kaleo timer instance tokens
    • findByKITI_B_C

      public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
      Returns all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      Returns:
      the matching kaleo timer instance tokens
    • findByKITI_B_C

      public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end)
      Returns a range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      Returns:
      the range of matching kaleo timer instance tokens
    • findByKITI_B_C

      public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo timer instance tokens
    • findByKITI_B_C

      public static List<KaleoTimerInstanceToken> findByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.

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

      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (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 timer instance tokens
    • findByKITI_B_C_First

      public static KaleoTimerInstanceToken findByKITI_B_C_First(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKITI_B_C_First

      public static KaleoTimerInstanceToken fetchByKITI_B_C_First(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the first kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKITI_B_C_Last

      public static KaleoTimerInstanceToken findByKITI_B_C_Last(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a matching kaleo timer instance token could not be found
      NoSuchTimerInstanceTokenException
    • fetchByKITI_B_C_Last

      public static KaleoTimerInstanceToken fetchByKITI_B_C_Last(long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns the last kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo timer instance token, or null if a matching kaleo timer instance token could not be found
    • findByKITI_B_C_PrevAndNext

      public static KaleoTimerInstanceToken[] findByKITI_B_C_PrevAndNext(long kaleoTimerInstanceTokenId, long kaleoInstanceTokenId, boolean blocking, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator) throws NoSuchTimerInstanceTokenException
      Returns the kaleo timer instance tokens before and after the current kaleo timer instance token in the ordered set where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the current kaleo timer instance token
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a kaleo timer instance token with the primary key could not be found
      NoSuchTimerInstanceTokenException
    • removeByKITI_B_C

      public static void removeByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
      Removes all the kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ? from the database.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
    • countByKITI_B_C

      public static int countByKITI_B_C(long kaleoInstanceTokenId, boolean blocking, boolean completed)
      Returns the number of kaleo timer instance tokens where kaleoInstanceTokenId = ? and blocking = ? and completed = ?.
      Parameters:
      kaleoInstanceTokenId - the kaleo instance token ID
      blocking - the blocking
      completed - the completed
      Returns:
      the number of matching kaleo timer instance tokens
    • cacheResult

      public static void cacheResult(KaleoTimerInstanceToken kaleoTimerInstanceToken)
      Caches the kaleo timer instance token in the entity cache if it is enabled.
      Parameters:
      kaleoTimerInstanceToken - the kaleo timer instance token
    • cacheResult

      public static void cacheResult(List<KaleoTimerInstanceToken> kaleoTimerInstanceTokens)
      Caches the kaleo timer instance tokens in the entity cache if it is enabled.
      Parameters:
      kaleoTimerInstanceTokens - the kaleo timer instance tokens
    • create

      public static KaleoTimerInstanceToken create(long kaleoTimerInstanceTokenId)
      Creates a new kaleo timer instance token with the primary key. Does not add the kaleo timer instance token to the database.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key for the new kaleo timer instance token
      Returns:
      the new kaleo timer instance token
    • remove

      public static KaleoTimerInstanceToken remove(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException
      Removes the kaleo timer instance token with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the kaleo timer instance token
      Returns:
      the kaleo timer instance token that was removed
      Throws:
      NoSuchTimerInstanceTokenException - if a kaleo timer instance token with the primary key could not be found
      NoSuchTimerInstanceTokenException
    • updateImpl

      public static KaleoTimerInstanceToken updateImpl(KaleoTimerInstanceToken kaleoTimerInstanceToken)
    • findByPrimaryKey

      public static KaleoTimerInstanceToken findByPrimaryKey(long kaleoTimerInstanceTokenId) throws NoSuchTimerInstanceTokenException
      Returns the kaleo timer instance token with the primary key or throws a NoSuchTimerInstanceTokenException if it could not be found.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the kaleo timer instance token
      Returns:
      the kaleo timer instance token
      Throws:
      NoSuchTimerInstanceTokenException - if a kaleo timer instance token with the primary key could not be found
      NoSuchTimerInstanceTokenException
    • fetchByPrimaryKey

      public static KaleoTimerInstanceToken fetchByPrimaryKey(long kaleoTimerInstanceTokenId)
      Returns the kaleo timer instance token with the primary key or returns null if it could not be found.
      Parameters:
      kaleoTimerInstanceTokenId - the primary key of the kaleo timer instance token
      Returns:
      the kaleo timer instance token, or null if a kaleo timer instance token with the primary key could not be found
    • findAll

      public static List<KaleoTimerInstanceToken> findAll()
      Returns all the kaleo timer instance tokens.
      Returns:
      the kaleo timer instance tokens
    • findAll

      public static List<KaleoTimerInstanceToken> findAll(int start, int end)
      Returns a range of all the kaleo timer instance tokens.

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

      Parameters:
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      Returns:
      the range of kaleo timer instance tokens
    • findAll

      public static List<KaleoTimerInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo timer instance tokens.

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

      Parameters:
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of kaleo timer instance tokens
    • findAll

      public static List<KaleoTimerInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTimerInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo timer instance tokens.

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

      Parameters:
      start - the lower bound of the range of kaleo timer instance tokens
      end - the upper bound of the range of kaleo timer instance tokens (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 timer instance tokens
    • removeAll

      public static void removeAll()
      Removes all the kaleo timer instance tokens from the database.
    • countAll

      public static int countAll()
      Returns the number of kaleo timer instance tokens.
      Returns:
      the number of kaleo timer instance tokens
    • getPersistence

      public static KaleoTimerInstanceTokenPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoTimerInstanceTokenPersistence persistence)