Class KaleoTaskFormInstanceUtil

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

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

    • KaleoTaskFormInstanceUtil

      public KaleoTaskFormInstanceUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static int countByKaleoInstanceId(long kaleoInstanceId)
      Returns the number of kaleo task form instances where kaleoInstanceId = ?.
      Parameters:
      kaleoInstanceId - the kaleo instance ID
      Returns:
      the number of matching kaleo task form instances
    • findByKaleoTaskId

      public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId)
      Returns all the kaleo task form instances where kaleoTaskId = ?.
      Parameters:
      kaleoTaskId - the kaleo task ID
      Returns:
      the matching kaleo task form instances
    • findByKaleoTaskId

      public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end)
      Returns a range of all the kaleo task form instances where kaleoTaskId = ?.

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

      Parameters:
      kaleoTaskId - the kaleo task ID
      start - the lower bound of the range of kaleo task form instances
      end - the upper bound of the range of kaleo task form instances (not inclusive)
      Returns:
      the range of matching kaleo task form instances
    • findByKaleoTaskId

      public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
      Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.

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

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

      public static List<KaleoTaskFormInstance> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task form instances where kaleoTaskId = ?.

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

      Parameters:
      kaleoTaskId - the kaleo task ID
      start - the lower bound of the range of kaleo task form instances
      end - the upper bound of the range of kaleo task form 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 task form instances
    • findByKaleoTaskId_First

      public static KaleoTaskFormInstance findByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
      Returns the first kaleo task form instance in the ordered set where kaleoTaskId = ?.
      Parameters:
      kaleoTaskId - the kaleo task ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching kaleo task form instance
      Throws:
      NoSuchTaskFormInstanceException - if a matching kaleo task form instance could not be found
      NoSuchTaskFormInstanceException
    • fetchByKaleoTaskId_First

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

      public static KaleoTaskFormInstance findByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
      Returns the last kaleo task form instance in the ordered set where kaleoTaskId = ?.
      Parameters:
      kaleoTaskId - the kaleo task ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching kaleo task form instance
      Throws:
      NoSuchTaskFormInstanceException - if a matching kaleo task form instance could not be found
      NoSuchTaskFormInstanceException
    • fetchByKaleoTaskId_Last

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

      public static KaleoTaskFormInstance[] findByKaleoTaskId_PrevAndNext(long kaleoTaskFormInstanceId, long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator) throws NoSuchTaskFormInstanceException
      Returns the kaleo task form instances before and after the current kaleo task form instance in the ordered set where kaleoTaskId = ?.
      Parameters:
      kaleoTaskFormInstanceId - the primary key of the current kaleo task form instance
      kaleoTaskId - the kaleo task ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task form instance
      Throws:
      NoSuchTaskFormInstanceException - if a kaleo task form instance with the primary key could not be found
      NoSuchTaskFormInstanceException
    • removeByKaleoTaskId

      public static void removeByKaleoTaskId(long kaleoTaskId)
      Removes all the kaleo task form instances where kaleoTaskId = ? from the database.
      Parameters:
      kaleoTaskId - the kaleo task ID
    • countByKaleoTaskId

      public static int countByKaleoTaskId(long kaleoTaskId)
      Returns the number of kaleo task form instances where kaleoTaskId = ?.
      Parameters:
      kaleoTaskId - the kaleo task ID
      Returns:
      the number of matching kaleo task form instances
    • findByKaleoTaskInstanceTokenId

      public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
      Returns all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
      Returns:
      the matching kaleo task form instances
    • findByKaleoTaskInstanceTokenId

      public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end)
      Returns a range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.

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

      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
      start - the lower bound of the range of kaleo task form instances
      end - the upper bound of the range of kaleo task form instances (not inclusive)
      Returns:
      the range of matching kaleo task form instances
    • findByKaleoTaskInstanceTokenId

      public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator)
      Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.

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

      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
      start - the lower bound of the range of kaleo task form instances
      end - the upper bound of the range of kaleo task form instances (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task form instances
    • findByKaleoTaskInstanceTokenId

      public static List<KaleoTaskFormInstance> findByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskFormInstance> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task form instances where kaleoTaskInstanceTokenId = ?.

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

      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
      start - the lower bound of the range of kaleo task form instances
      end - the upper bound of the range of kaleo task form 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 task form instances
    • findByKaleoTaskInstanceTokenId_First

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

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

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

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

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

      public static void removeByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
      Removes all the kaleo task form instances where kaleoTaskInstanceTokenId = ? from the database.
      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
    • countByKaleoTaskInstanceTokenId

      public static int countByKaleoTaskInstanceTokenId(long kaleoTaskInstanceTokenId)
      Returns the number of kaleo task form instances where kaleoTaskInstanceTokenId = ?.
      Parameters:
      kaleoTaskInstanceTokenId - the kaleo task instance token ID
      Returns:
      the number of matching kaleo task form instances
    • findByKaleoTaskFormId

      public static KaleoTaskFormInstance findByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException
      Returns the kaleo task form instance where kaleoTaskFormId = ? or throws a NoSuchTaskFormInstanceException if it could not be found.
      Parameters:
      kaleoTaskFormId - the kaleo task form ID
      Returns:
      the matching kaleo task form instance
      Throws:
      NoSuchTaskFormInstanceException - if a matching kaleo task form instance could not be found
      NoSuchTaskFormInstanceException
    • fetchByKaleoTaskFormId

      public static KaleoTaskFormInstance fetchByKaleoTaskFormId(long kaleoTaskFormId)
      Returns the kaleo task form instance where kaleoTaskFormId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoTaskFormId - the kaleo task form ID
      Returns:
      the matching kaleo task form instance, or null if a matching kaleo task form instance could not be found
    • fetchByKaleoTaskFormId

      public static KaleoTaskFormInstance fetchByKaleoTaskFormId(long kaleoTaskFormId, boolean useFinderCache)
      Returns the kaleo task form instance where kaleoTaskFormId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoTaskFormId - the kaleo task form ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo task form instance, or null if a matching kaleo task form instance could not be found
    • removeByKaleoTaskFormId

      public static KaleoTaskFormInstance removeByKaleoTaskFormId(long kaleoTaskFormId) throws NoSuchTaskFormInstanceException
      Removes the kaleo task form instance where kaleoTaskFormId = ? from the database.
      Parameters:
      kaleoTaskFormId - the kaleo task form ID
      Returns:
      the kaleo task form instance that was removed
      Throws:
      NoSuchTaskFormInstanceException
    • countByKaleoTaskFormId

      public static int countByKaleoTaskFormId(long kaleoTaskFormId)
      Returns the number of kaleo task form instances where kaleoTaskFormId = ?.
      Parameters:
      kaleoTaskFormId - the kaleo task form ID
      Returns:
      the number of matching kaleo task form instances
    • cacheResult

      public static void cacheResult(KaleoTaskFormInstance kaleoTaskFormInstance)
      Caches the kaleo task form instance in the entity cache if it is enabled.
      Parameters:
      kaleoTaskFormInstance - the kaleo task form instance
    • cacheResult

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

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

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

      public static KaleoTaskFormInstance updateImpl(KaleoTaskFormInstance kaleoTaskFormInstance)
    • findByPrimaryKey

      public static KaleoTaskFormInstance findByPrimaryKey(long kaleoTaskFormInstanceId) throws NoSuchTaskFormInstanceException
      Returns the kaleo task form instance with the primary key or throws a NoSuchTaskFormInstanceException if it could not be found.
      Parameters:
      kaleoTaskFormInstanceId - the primary key of the kaleo task form instance
      Returns:
      the kaleo task form instance
      Throws:
      NoSuchTaskFormInstanceException - if a kaleo task form instance with the primary key could not be found
      NoSuchTaskFormInstanceException
    • fetchByPrimaryKey

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

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

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

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

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

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

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

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

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

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

      public static KaleoTaskFormInstancePersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoTaskFormInstancePersistence persistence)