Class KaleoInstanceTokenUtil

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

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

    • KaleoInstanceTokenUtil

      public KaleoInstanceTokenUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

      public static List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo 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 KaleoInstanceTokenModelImpl.

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

      public static List<KaleoInstanceToken> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo 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 KaleoInstanceTokenModelImpl.

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

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

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

      public static KaleoInstanceToken findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByCompanyId_First

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

      public static KaleoInstanceToken findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the last kaleo 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByCompanyId_Last

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

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

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

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

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

      public static List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo 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 KaleoInstanceTokenModelImpl.

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

      public static List<KaleoInstanceToken> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo 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 KaleoInstanceTokenModelImpl.

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

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

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

      public static KaleoInstanceToken findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByKaleoDefinitionVersionId_First

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

      public static KaleoInstanceToken findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the last kaleo 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByKaleoDefinitionVersionId_Last

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

      public static KaleoInstanceToken[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoInstanceTokenId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoInstanceTokenId - the primary key of the current kaleo 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 instance token
      Throws:
      NoSuchInstanceTokenException - if a kaleo instance token with the primary key could not be found
      NoSuchInstanceTokenException
    • removeByKaleoDefinitionVersionId

      public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Removes all the kaleo 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 instance tokens where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo instance tokens
    • findByKaleoInstanceId

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      Returns:
      the matching kaleo instance tokens
    • findByC_PKITI

      public static List<KaleoInstanceToken> findByC_PKITI(long companyId, long parentKaleoInstanceTokenId, int start, int end)
      Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static void removeByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? from the database.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
    • countByC_PKITI

      public static int countByC_PKITI(long companyId, long parentKaleoInstanceTokenId)
      Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      Returns:
      the number of matching kaleo instance tokens
    • findByC_PKITI_CD

      public static List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Returns all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      Returns:
      the matching kaleo instance tokens
    • findByC_PKITI_CD

      public static List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end)
      Returns a range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.

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

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      Returns:
      the range of matching kaleo instance tokens
    • findByC_PKITI_CD

      public static List<KaleoInstanceToken> findByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns an ordered range of all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.

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

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo instance tokens (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instance tokens
    • findByC_PKITI_CD

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

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

      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      start - the lower bound of the range of kaleo instance tokens
      end - the upper bound of the range of kaleo 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 instance tokens
    • findByC_PKITI_CD_First

      public static KaleoInstanceToken findByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByC_PKITI_CD_First

      public static KaleoInstanceToken fetchByC_PKITI_CD_First(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the first kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance token, or null if a matching kaleo instance token could not be found
    • findByC_PKITI_CD_Last

      public static KaleoInstanceToken findByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a matching kaleo instance token could not be found
      NoSuchInstanceTokenException
    • fetchByC_PKITI_CD_Last

      public static KaleoInstanceToken fetchByC_PKITI_CD_Last(long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator)
      Returns the last kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance token, or null if a matching kaleo instance token could not be found
    • findByC_PKITI_CD_PrevAndNext

      public static KaleoInstanceToken[] findByC_PKITI_CD_PrevAndNext(long kaleoInstanceTokenId, long companyId, long parentKaleoInstanceTokenId, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstanceToken> orderByComparator) throws NoSuchInstanceTokenException
      Returns the kaleo instance tokens before and after the current kaleo instance token in the ordered set where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      kaleoInstanceTokenId - the primary key of the current kaleo instance token
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo instance token
      Throws:
      NoSuchInstanceTokenException - if a kaleo instance token with the primary key could not be found
      NoSuchInstanceTokenException
    • removeByC_PKITI_CD

      public static void removeByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Removes all the kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ? from the database.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
    • countByC_PKITI_CD

      public static int countByC_PKITI_CD(long companyId, long parentKaleoInstanceTokenId, Date completionDate)
      Returns the number of kaleo instance tokens where companyId = ? and parentKaleoInstanceTokenId = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      parentKaleoInstanceTokenId - the parent kaleo instance token ID
      completionDate - the completion date
      Returns:
      the number of matching kaleo instance tokens
    • cacheResult

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

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

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

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

      public static KaleoInstanceToken updateImpl(KaleoInstanceToken kaleoInstanceToken)
    • findByPrimaryKey

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

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

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

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

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

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

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

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

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

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

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

      public static KaleoInstanceTokenPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoInstanceTokenPersistence persistence)