Class KaleoTaskInstanceTokenUtil

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

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

    • KaleoTaskInstanceTokenUtil

      public KaleoTaskInstanceTokenUtil()
  • Method Details

    • clearCache

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

      public static void clearCache(KaleoTaskInstanceToken kaleoTaskInstanceToken)
      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,KaleoTaskInstanceToken> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

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

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

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

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

      public static KaleoTaskInstanceToken update(KaleoTaskInstanceToken kaleoTaskInstanceToken, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<KaleoTaskInstanceToken> findByCompanyId(long companyId)
      Returns all the kaleo task instance tokens where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo task instance tokens
    • findByCompanyId

      public static List<KaleoTaskInstanceToken> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo task instance tokens where companyId = ?.

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      Returns:
      the range of matching kaleo task instance tokens
    • findByCompanyId

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

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

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

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

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

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task 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 task instance tokens
    • findByCompanyId_First

      public static KaleoTaskInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task instance token in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByCompanyId_First

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

      public static KaleoTaskInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task instance token in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByCompanyId_Last

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

      public static KaleoTaskInstanceToken[] findByCompanyId_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the current kaleo task instance token
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the kaleo task instance tokens where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of kaleo task instance tokens where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching kaleo task instance tokens
    • findByKaleoDefinitionVersionId

      public static List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the matching kaleo task instance tokens
    • findByKaleoDefinitionVersionId

      public static List<KaleoTaskInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo task instance tokens where kaleoDefinitionVersionId = ?.

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      Returns:
      the range of matching kaleo task instance tokens
    • findByKaleoDefinitionVersionId

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

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task instance tokens
    • findByKaleoDefinitionVersionId

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

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

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task 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 task instance tokens
    • findByKaleoDefinitionVersionId_First

      public static KaleoTaskInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByKaleoDefinitionVersionId_First

      public static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the first kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByKaleoDefinitionVersionId_Last

      public static KaleoTaskInstanceToken findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByKaleoDefinitionVersionId_Last

      public static KaleoTaskInstanceToken fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the last kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByKaleoDefinitionVersionId_PrevAndNext

      public static KaleoTaskInstanceToken[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the current kaleo task instance token
      kaleoDefinitionVersionId - the kaleo definition version ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • removeByKaleoDefinitionVersionId

      public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo task instance tokens where kaleoDefinitionVersionId = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
    • countByKaleoDefinitionVersionId

      public static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo task instance tokens where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo task instance tokens
    • findByKaleoInstanceId

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

      public static List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end)
      Returns a range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

      public static List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

      public static List<KaleoTaskInstanceToken> findByKaleoInstanceId(long kaleoInstanceId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

      public static KaleoTaskInstanceToken findByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task 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 task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByKaleoInstanceId_First

      public static KaleoTaskInstanceToken fetchByKaleoInstanceId_First(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the first kaleo task 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 task instance token, or null if a matching kaleo task instance token could not be found
    • findByKaleoInstanceId_Last

      public static KaleoTaskInstanceToken findByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task 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 task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByKaleoInstanceId_Last

      public static KaleoTaskInstanceToken fetchByKaleoInstanceId_Last(long kaleoInstanceId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the last kaleo task 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 task instance token, or null if a matching kaleo task instance token could not be found
    • findByKaleoInstanceId_PrevAndNext

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

      public static void removeByKaleoInstanceId(long kaleoInstanceId)
      Removes all the kaleo task 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 task instance tokens where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the number of matching kaleo task instance tokens
    • findByC_U

      public static List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId)
      Returns all the kaleo task instance tokens where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching kaleo task instance tokens
    • findByC_U

      public static List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      Returns:
      the range of matching kaleo task instance tokens
    • findByC_U

      public static List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo task instance tokens where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task instance tokens
    • findByC_U

      public static List<KaleoTaskInstanceToken> findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task instance tokens where companyId = ? and userId = ?.

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

      Parameters:
      companyId - the company ID
      userId - the user ID
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task 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 task instance tokens
    • findByC_U_First

      public static KaleoTaskInstanceToken findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByC_U_First

      public static KaleoTaskInstanceToken fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByC_U_Last

      public static KaleoTaskInstanceToken findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByC_U_Last

      public static KaleoTaskInstanceToken fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByC_U_PrevAndNext

      public static KaleoTaskInstanceToken[] findByC_U_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ? and userId = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the current kaleo task instance token
      companyId - the company ID
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • removeByC_U

      public static void removeByC_U(long companyId, long userId)
      Removes all the kaleo task instance tokens where companyId = ? and userId = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
    • countByC_U

      public static int countByC_U(long companyId, long userId)
      Returns the number of kaleo task instance tokens where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching kaleo task instance tokens
    • findByKII_KTI

      public static KaleoTaskInstanceToken findByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or throws a NoSuchTaskInstanceTokenException if it could not be found.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      kaleoTaskId - the kaleo task ID
      Returns:
      the matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByKII_KTI

      public static KaleoTaskInstanceToken fetchByKII_KTI(long kaleoInstanceId, long kaleoTaskId)
      Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      kaleoTaskId - the kaleo task ID
      Returns:
      the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • fetchByKII_KTI

      public static KaleoTaskInstanceToken fetchByKII_KTI(long kaleoInstanceId, long kaleoTaskId, boolean useFinderCache)
      Returns the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      kaleoTaskId - the kaleo task ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • removeByKII_KTI

      public static KaleoTaskInstanceToken removeByKII_KTI(long kaleoInstanceId, long kaleoTaskId) throws NoSuchTaskInstanceTokenException
      Removes the kaleo task instance token where kaleoInstanceId = ? and kaleoTaskId = ? from the database.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      kaleoTaskId - the kaleo task ID
      Returns:
      the kaleo task instance token that was removed
      Throws:
      NoSuchTaskInstanceTokenException
    • countByKII_KTI

      public static int countByKII_KTI(long kaleoInstanceId, long kaleoTaskId)
      Returns the number of kaleo task instance tokens where kaleoInstanceId = ? and kaleoTaskId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      kaleoTaskId - the kaleo task ID
      Returns:
      the number of matching kaleo task instance tokens
    • findByCN_CPK

      public static List<KaleoTaskInstanceToken> findByCN_CPK(String className, long classPK)
      Returns all the kaleo task instance tokens where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      Returns:
      the matching kaleo task instance tokens
    • findByCN_CPK

      public static List<KaleoTaskInstanceToken> findByCN_CPK(String className, long classPK, int start, int end)
      Returns a range of all the kaleo task instance tokens where className = ? and classPK = ?.

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

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      Returns:
      the range of matching kaleo task instance tokens
    • findByCN_CPK

      public static List<KaleoTaskInstanceToken> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo task instance tokens where className = ? and classPK = ?.

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

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task instance tokens
    • findByCN_CPK

      public static List<KaleoTaskInstanceToken> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task instance tokens where className = ? and classPK = ?.

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

      Parameters:
      className - the class name
      classPK - the class pk
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task 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 task instance tokens
    • findByCN_CPK_First

      public static KaleoTaskInstanceToken findByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task instance token in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByCN_CPK_First

      public static KaleoTaskInstanceToken fetchByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the first kaleo task instance token in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByCN_CPK_Last

      public static KaleoTaskInstanceToken findByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task instance token in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByCN_CPK_Last

      public static KaleoTaskInstanceToken fetchByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the last kaleo task instance token in the ordered set where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByCN_CPK_PrevAndNext

      public static KaleoTaskInstanceToken[] findByCN_CPK_PrevAndNext(long kaleoTaskInstanceTokenId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where className = ? and classPK = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the current kaleo task instance token
      className - the class name
      classPK - the class pk
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • removeByCN_CPK

      public static void removeByCN_CPK(String className, long classPK)
      Removes all the kaleo task instance tokens where className = ? and classPK = ? from the database.
      Parameters:
      className - the class name
      classPK - the class pk
    • countByCN_CPK

      public static int countByCN_CPK(String className, long classPK)
      Returns the number of kaleo task instance tokens where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      Returns:
      the number of matching kaleo task instance tokens
    • findByC_U_C

      public static List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed)
      Returns all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      Returns:
      the matching kaleo task instance tokens
    • findByC_U_C

      public static List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, int start, int end)
      Returns a range of all the kaleo task instance tokens where companyId = ? and userId = ? 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 KaleoTaskInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      Returns:
      the range of matching kaleo task instance tokens
    • findByC_U_C

      public static List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo task instance tokens where companyId = ? and userId = ? 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 KaleoTaskInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task instance tokens
    • findByC_U_C

      public static List<KaleoTaskInstanceToken> findByC_U_C(long companyId, long userId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task instance tokens where companyId = ? and userId = ? 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 KaleoTaskInstanceTokenModelImpl.

      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      start - the lower bound of the range of kaleo task instance tokens
      end - the upper bound of the range of kaleo task 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 task instance tokens
    • findByC_U_C_First

      public static KaleoTaskInstanceToken findByC_U_C_First(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByC_U_C_First

      public static KaleoTaskInstanceToken fetchByC_U_C_First(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the first kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByC_U_C_Last

      public static KaleoTaskInstanceToken findByC_U_C_Last(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a matching kaleo task instance token could not be found
      NoSuchTaskInstanceTokenException
    • fetchByC_U_C_Last

      public static KaleoTaskInstanceToken fetchByC_U_C_Last(long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns the last kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task instance token, or null if a matching kaleo task instance token could not be found
    • findByC_U_C_PrevAndNext

      public static KaleoTaskInstanceToken[] findByC_U_C_PrevAndNext(long kaleoTaskInstanceTokenId, long companyId, long userId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance tokens before and after the current kaleo task instance token in the ordered set where companyId = ? and userId = ? and completed = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the current kaleo task instance token
      companyId - the company ID
      userId - the user ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • removeByC_U_C

      public static void removeByC_U_C(long companyId, long userId, boolean completed)
      Removes all the kaleo task instance tokens where companyId = ? and userId = ? and completed = ? from the database.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
    • countByC_U_C

      public static int countByC_U_C(long companyId, long userId, boolean completed)
      Returns the number of kaleo task instance tokens where companyId = ? and userId = ? and completed = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      completed - the completed
      Returns:
      the number of matching kaleo task instance tokens
    • cacheResult

      public static void cacheResult(KaleoTaskInstanceToken kaleoTaskInstanceToken)
      Caches the kaleo task instance token in the entity cache if it is enabled.
      Parameters:
      kaleoTaskInstanceToken - the kaleo task instance token
    • cacheResult

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

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

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

      public static KaleoTaskInstanceToken updateImpl(KaleoTaskInstanceToken kaleoTaskInstanceToken)
    • findByPrimaryKey

      public static KaleoTaskInstanceToken findByPrimaryKey(long kaleoTaskInstanceTokenId) throws NoSuchTaskInstanceTokenException
      Returns the kaleo task instance token with the primary key or throws a NoSuchTaskInstanceTokenException if it could not be found.
      Parameters:
      kaleoTaskInstanceTokenId - the primary key of the kaleo task instance token
      Returns:
      the kaleo task instance token
      Throws:
      NoSuchTaskInstanceTokenException - if a kaleo task instance token with the primary key could not be found
      NoSuchTaskInstanceTokenException
    • fetchByPrimaryKey

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

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

      public static List<KaleoTaskInstanceToken> findAll(int start, int end)
      Returns a range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

      public static List<KaleoTaskInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

      public static List<KaleoTaskInstanceToken> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskInstanceToken> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task 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 KaleoTaskInstanceTokenModelImpl.

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

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

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

      public static KaleoTaskInstanceTokenPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoTaskInstanceTokenPersistence persistence)