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

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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    cacheResult(KaleoInstance kaleoInstance)
    Caches the kaleo instance in the entity cache if it is enabled.
    static void
    cacheResult(List<KaleoInstance> kaleoInstances)
    Caches the kaleo instances in the entity cache if it is enabled.
    static void
     
    static void
    clearCache(KaleoInstance kaleoInstance)
     
    static int
    Returns the number of kaleo instances.
    static int
    countByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
    Returns the number of kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    static int
    countByC_U(long companyId, long userId)
    Returns the number of kaleo instances where companyId = ? and userId = ?.
    static int
    countByCN_CPK(String className, long classPK)
    Returns the number of kaleo instances where className = ? and classPK = ?.
    static int
    countByCompanyId(long companyId)
    Returns the number of kaleo instances where companyId = ?.
    static int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo instances where kaleoDefinitionVersionId = ?.
    static int
    countByKDI_C(long kaleoDefinitionId, boolean completed)
    Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.
    static int
    countByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
    Returns the number of kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
    static int
    countByKII_C_U(long kaleoInstanceId, long companyId, long userId)
    Returns the number of kaleo instances where kaleoInstanceId = ? and companyId = ? and userId = ?.
    static long
    countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    create(long kaleoInstanceId)
    Creates a new kaleo instance with the primary key.
    fetchByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    fetchByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    fetchByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.
    fetchByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.
    fetchByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.
    fetchByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
    fetchByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
    fetchByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
    fetchByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
    fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId)
    Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns null if it could not be found.
    fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId, boolean useFinderCache)
    Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoInstanceId)
    Returns the kaleo instance with the primary key or returns null if it could not be found.
     
    Returns all the kaleo instances.
    findAll(int start, int end)
    Returns a range of all the kaleo instances.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances.
    findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
    Returns all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end)
    Returns a range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    static KaleoInstance[]
    findByC_KDN_KDV_CD_PrevAndNext(long kaleoInstanceId, long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
    findByC_U(long companyId, long userId)
    Returns all the kaleo instances where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end)
    Returns a range of all the kaleo instances where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.
    findByC_U(long companyId, long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where companyId = ? and userId = ?.
    findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ? and userId = ?.
    findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ? and userId = ?.
    static KaleoInstance[]
    findByC_U_PrevAndNext(long kaleoInstanceId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and userId = ?.
    findByCN_CPK(String className, long classPK)
    Returns all the kaleo instances where className = ? and classPK = ?.
    findByCN_CPK(String className, long classPK, int start, int end)
    Returns a range of all the kaleo instances where className = ? and classPK = ?.
    findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.
    findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where className = ? and classPK = ?.
    findByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where className = ? and classPK = ?.
    findByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where className = ? and classPK = ?.
    static KaleoInstance[]
    findByCN_CPK_PrevAndNext(long kaleoInstanceId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where className = ? and classPK = ?.
    findByCompanyId(long companyId)
    Returns all the kaleo instances where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo instances where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where companyId = ?.
    static KaleoInstance[]
    findByCompanyId_PrevAndNext(long kaleoInstanceId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo instances where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
    static KaleoInstance[]
    findByKaleoDefinitionVersionId_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ?.
    findByKDI_C(long kaleoDefinitionId, boolean completed)
    Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
    findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end)
    Returns a range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
    findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
    findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
    findByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
    findByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
    static KaleoInstance[]
    findByKDI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
    findByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
    Returns all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
    findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end)
    Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
    findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
    findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
    findByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
    findByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
    static KaleoInstance[]
    findByKDVI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
    Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
    findByKII_C_U(long kaleoInstanceId, long companyId, long userId)
    Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or throws a NoSuchInstanceException if it could not be found.
    findByPrimaryKey(long kaleoInstanceId)
    Returns the kaleo instance with the primary key or throws a NoSuchInstanceException if it could not be found.
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
     
    findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
     
     
    remove(long kaleoInstanceId)
    Removes the kaleo instance with the primary key from the database.
    static void
    Removes all the kaleo instances from the database.
    static void
    removeByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
    Removes all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ? from the database.
    static void
    removeByC_U(long companyId, long userId)
    Removes all the kaleo instances where companyId = ? and userId = ? from the database.
    static void
    removeByCN_CPK(String className, long classPK)
    Removes all the kaleo instances where className = ? and classPK = ? from the database.
    static void
    removeByCompanyId(long companyId)
    Removes all the kaleo instances where companyId = ? from the database.
    static void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo instances where kaleoDefinitionVersionId = ? from the database.
    static void
    removeByKDI_C(long kaleoDefinitionId, boolean completed)
    Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.
    static void
    removeByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
    Removes all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ? from the database.
    removeByKII_C_U(long kaleoInstanceId, long companyId, long userId)
    Removes the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? from the database.
    static void
     
    update(KaleoInstance kaleoInstance)
     
    update(KaleoInstance kaleoInstance, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    updateImpl(KaleoInstance kaleoInstance)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KaleoInstanceUtil

      public KaleoInstanceUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static List<KaleoInstance> findByC_U(long companyId, long userId, int start, int end)
      Returns a range of all the kaleo instances 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 KaleoInstanceModelImpl.

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

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

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

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

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

      public static KaleoInstance findByC_U_First(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the first kaleo instance 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 instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByC_U_First

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

      public static KaleoInstance findByC_U_Last(long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the last kaleo instance 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 instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByC_U_Last

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

      public static KaleoInstance[] findByC_U_PrevAndNext(long kaleoInstanceId, long companyId, long userId, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and userId = ?.
      Parameters:
      kaleoInstanceId - the primary key of the current kaleo instance
      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 instance
      Throws:
      NoSuchInstanceException - if a kaleo instance with the primary key could not be found
      NoSuchInstanceException
    • removeByC_U

      public static void removeByC_U(long companyId, long userId)
      Removes all the kaleo instances 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 instances where companyId = ? and userId = ?.
      Parameters:
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching kaleo instances
    • findByKDI_C

      public static List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed)
      Returns all the kaleo instances where kaleoDefinitionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      Returns:
      the matching kaleo instances
    • findByKDI_C

      public static List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end)
      Returns a range of all the kaleo instances where kaleoDefinitionId = ? 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 KaleoInstanceModelImpl.

      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (not inclusive)
      Returns:
      the range of matching kaleo instances
    • findByKDI_C

      public static List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? 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 KaleoInstanceModelImpl.

      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instances
    • findByKDI_C

      public static List<KaleoInstance> findByKDI_C(long kaleoDefinitionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instances where kaleoDefinitionId = ? 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 KaleoInstanceModelImpl.

      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (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 instances
    • findByKDI_C_First

      public static KaleoInstance findByKDI_C_First(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the first kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByKDI_C_First

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

      public static KaleoInstance findByKDI_C_Last(long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the last kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByKDI_C_Last

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

      public static KaleoInstance[] findByKDI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionId = ? and completed = ?.
      Parameters:
      kaleoInstanceId - the primary key of the current kaleo instance
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo instance
      Throws:
      NoSuchInstanceException - if a kaleo instance with the primary key could not be found
      NoSuchInstanceException
    • removeByKDI_C

      public static void removeByKDI_C(long kaleoDefinitionId, boolean completed)
      Removes all the kaleo instances where kaleoDefinitionId = ? and completed = ? from the database.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
    • countByKDI_C

      public static int countByKDI_C(long kaleoDefinitionId, boolean completed)
      Returns the number of kaleo instances where kaleoDefinitionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionId - the kaleo definition ID
      completed - the completed
      Returns:
      the number of matching kaleo instances
    • findByKDVI_C

      public static List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
      Returns all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      Returns:
      the matching kaleo instances
    • findByKDVI_C

      public static List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end)
      Returns a range of all the kaleo instances where kaleoDefinitionVersionId = ? 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 KaleoInstanceModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (not inclusive)
      Returns:
      the range of matching kaleo instances
    • findByKDVI_C

      public static List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? 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 KaleoInstanceModelImpl.

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

      public static List<KaleoInstance> findByKDVI_C(long kaleoDefinitionVersionId, boolean completed, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instances where kaleoDefinitionVersionId = ? 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 KaleoInstanceModelImpl.

      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (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 instances
    • findByKDVI_C_First

      public static KaleoInstance findByKDVI_C_First(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the first kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByKDVI_C_First

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

      public static KaleoInstance findByKDVI_C_Last(long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the last kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByKDVI_C_Last

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

      public static KaleoInstance[] findByKDVI_C_PrevAndNext(long kaleoInstanceId, long kaleoDefinitionVersionId, boolean completed, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the kaleo instances before and after the current kaleo instance in the ordered set where kaleoDefinitionVersionId = ? and completed = ?.
      Parameters:
      kaleoInstanceId - the primary key of the current kaleo instance
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo instance
      Throws:
      NoSuchInstanceException - if a kaleo instance with the primary key could not be found
      NoSuchInstanceException
    • removeByKDVI_C

      public static void removeByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
      Removes all the kaleo instances where kaleoDefinitionVersionId = ? and completed = ? from the database.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
    • countByKDVI_C

      public static int countByKDVI_C(long kaleoDefinitionVersionId, boolean completed)
      Returns the number of kaleo instances where kaleoDefinitionVersionId = ? and completed = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      completed - the completed
      Returns:
      the number of matching kaleo instances
    • findByCN_CPK

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

      public static List<KaleoInstance> findByCN_CPK(String className, long classPK, int start, int end)
      Returns a range of all the kaleo instances 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 KaleoInstanceModelImpl.

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

      public static List<KaleoInstance> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns an ordered range of all the kaleo instances 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 KaleoInstanceModelImpl.

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

      public static List<KaleoInstance> findByCN_CPK(String className, long classPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instances 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 KaleoInstanceModelImpl.

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

      public static KaleoInstance findByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the first kaleo instance 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 instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByCN_CPK_First

      public static KaleoInstance fetchByCN_CPK_First(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns the first kaleo instance 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 instance, or null if a matching kaleo instance could not be found
    • findByCN_CPK_Last

      public static KaleoInstance findByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the last kaleo instance 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 instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByCN_CPK_Last

      public static KaleoInstance fetchByCN_CPK_Last(String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns the last kaleo instance 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 instance, or null if a matching kaleo instance could not be found
    • findByCN_CPK_PrevAndNext

      public static KaleoInstance[] findByCN_CPK_PrevAndNext(long kaleoInstanceId, String className, long classPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the kaleo instances before and after the current kaleo instance in the ordered set where className = ? and classPK = ?.
      Parameters:
      kaleoInstanceId - the primary key of the current kaleo instance
      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 instance
      Throws:
      NoSuchInstanceException - if a kaleo instance with the primary key could not be found
      NoSuchInstanceException
    • removeByCN_CPK

      public static void removeByCN_CPK(String className, long classPK)
      Removes all the kaleo instances 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 instances where className = ? and classPK = ?.
      Parameters:
      className - the class name
      classPK - the class pk
      Returns:
      the number of matching kaleo instances
    • findByKII_C_U

      public static KaleoInstance findByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException
      Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or throws a NoSuchInstanceException if it could not be found.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByKII_C_U

      public static KaleoInstance fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId)
      Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      companyId - the company ID
      userId - the user ID
      Returns:
      the matching kaleo instance, or null if a matching kaleo instance could not be found
    • fetchByKII_C_U

      public static KaleoInstance fetchByKII_C_U(long kaleoInstanceId, long companyId, long userId, boolean useFinderCache)
      Returns the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      companyId - the company ID
      userId - the user ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo instance, or null if a matching kaleo instance could not be found
    • removeByKII_C_U

      public static KaleoInstance removeByKII_C_U(long kaleoInstanceId, long companyId, long userId) throws NoSuchInstanceException
      Removes the kaleo instance where kaleoInstanceId = ? and companyId = ? and userId = ? from the database.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      companyId - the company ID
      userId - the user ID
      Returns:
      the kaleo instance that was removed
      Throws:
      NoSuchInstanceException
    • countByKII_C_U

      public static int countByKII_C_U(long kaleoInstanceId, long companyId, long userId)
      Returns the number of kaleo instances where kaleoInstanceId = ? and companyId = ? and userId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      companyId - the company ID
      userId - the user ID
      Returns:
      the number of matching kaleo instances
    • findByC_KDN_KDV_CD

      public static List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
      Returns all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      Returns:
      the matching kaleo instances
    • findByC_KDN_KDV_CD

      public static List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end)
      Returns a range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? 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 KaleoInstanceModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (not inclusive)
      Returns:
      the range of matching kaleo instances
    • findByC_KDN_KDV_CD

      public static List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? 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 KaleoInstanceModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo instances
    • findByC_KDN_KDV_CD

      public static List<KaleoInstance> findByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? 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 KaleoInstanceModelImpl.

      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      start - the lower bound of the range of kaleo instances
      end - the upper bound of the range of kaleo instances (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 instances
    • findByC_KDN_KDV_CD_First

      public static KaleoInstance findByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByC_KDN_KDV_CD_First

      public static KaleoInstance fetchByC_KDN_KDV_CD_First(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns the first kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo instance, or null if a matching kaleo instance could not be found
    • findByC_KDN_KDV_CD_Last

      public static KaleoInstance findByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance
      Throws:
      NoSuchInstanceException - if a matching kaleo instance could not be found
      NoSuchInstanceException
    • fetchByC_KDN_KDV_CD_Last

      public static KaleoInstance fetchByC_KDN_KDV_CD_Last(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator)
      Returns the last kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo instance, or null if a matching kaleo instance could not be found
    • findByC_KDN_KDV_CD_PrevAndNext

      public static KaleoInstance[] findByC_KDN_KDV_CD_PrevAndNext(long kaleoInstanceId, long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate, com.liferay.portal.kernel.util.OrderByComparator<KaleoInstance> orderByComparator) throws NoSuchInstanceException
      Returns the kaleo instances before and after the current kaleo instance in the ordered set where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      kaleoInstanceId - the primary key of the current kaleo instance
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo instance
      Throws:
      NoSuchInstanceException - if a kaleo instance with the primary key could not be found
      NoSuchInstanceException
    • removeByC_KDN_KDV_CD

      public static void removeByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
      Removes all the kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ? from the database.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
    • countByC_KDN_KDV_CD

      public static int countByC_KDN_KDV_CD(long companyId, String kaleoDefinitionName, int kaleoDefinitionVersion, Date completionDate)
      Returns the number of kaleo instances where companyId = ? and kaleoDefinitionName = ? and kaleoDefinitionVersion = ? and completionDate = ?.
      Parameters:
      companyId - the company ID
      kaleoDefinitionName - the kaleo definition name
      kaleoDefinitionVersion - the kaleo definition version
      completionDate - the completion date
      Returns:
      the number of matching kaleo instances
    • cacheResult

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

      public static void cacheResult(List<KaleoInstance> kaleoInstances)
      Caches the kaleo instances in the entity cache if it is enabled.
      Parameters:
      kaleoInstances - the kaleo instances
    • create

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

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

      public static KaleoInstance updateImpl(KaleoInstance kaleoInstance)
    • findByPrimaryKey

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

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

      public static List<KaleoInstance> findAll()
      Returns all the kaleo instances.
      Returns:
      the kaleo instances
    • findAll

      public static List<KaleoInstance> findAll(int start, int end)
      Returns a range of all the kaleo instances.

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

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

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

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

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

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

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

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

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

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

      public static KaleoInstancePersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoInstancePersistence persistence)