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

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

    • KaleoTaskFormUtil

      public KaleoTaskFormUtil()
  • Method Details

    • clearCache

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId)
      Returns all the kaleo task forms where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo task forms
    • findByKaleoNodeId

      public static List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, int start, int end)
      Returns a range of all the kaleo task forms where kaleoNodeId = ?.

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

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo task forms
      end - the upper bound of the range of kaleo task forms (not inclusive)
      Returns:
      the range of matching kaleo task forms
    • findByKaleoNodeId

      public static List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
      Returns an ordered range of all the kaleo task forms where kaleoNodeId = ?.

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

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo task forms
      end - the upper bound of the range of kaleo task forms (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching kaleo task forms
    • findByKaleoNodeId

      public static List<KaleoTaskForm> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the kaleo task forms where kaleoNodeId = ?.

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

      Parameters:
      kaleoNodeId - the kaleo node ID
      start - the lower bound of the range of kaleo task forms
      end - the upper bound of the range of kaleo task forms (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 forms
    • findByKaleoNodeId_First

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

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

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

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

      public static KaleoTaskForm[] findByKaleoNodeId_PrevAndNext(long kaleoTaskFormId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
      Returns the kaleo task forms before and after the current kaleo task form in the ordered set where kaleoNodeId = ?.
      Parameters:
      kaleoTaskFormId - the primary key of the current kaleo task form
      kaleoNodeId - the kaleo node ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next kaleo task form
      Throws:
      NoSuchTaskFormException - if a kaleo task form with the primary key could not be found
      NoSuchTaskFormException
    • removeByKaleoNodeId

      public static void removeByKaleoNodeId(long kaleoNodeId)
      Removes all the kaleo task forms where kaleoNodeId = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
    • countByKaleoNodeId

      public static int countByKaleoNodeId(long kaleoNodeId)
      Returns the number of kaleo task forms where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the number of matching kaleo task forms
    • findByKaleoTaskId

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

      public static List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId, int start, int end)
      Returns a range of all the kaleo task forms 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 KaleoTaskFormModelImpl.

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

      public static List<KaleoTaskForm> findByKaleoTaskId(long kaleoTaskId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator)
      Returns an ordered range of all the kaleo task forms 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 KaleoTaskFormModelImpl.

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

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

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

      public static KaleoTaskForm findByKaleoTaskId_First(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
      Returns the first kaleo task form 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
      Throws:
      NoSuchTaskFormException - if a matching kaleo task form could not be found
      NoSuchTaskFormException
    • fetchByKaleoTaskId_First

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

      public static KaleoTaskForm findByKaleoTaskId_Last(long kaleoTaskId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTaskForm> orderByComparator) throws NoSuchTaskFormException
      Returns the last kaleo task form 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
      Throws:
      NoSuchTaskFormException - if a matching kaleo task form could not be found
      NoSuchTaskFormException
    • fetchByKaleoTaskId_Last

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

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

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

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

      public static KaleoTaskForm findByFormUuid_KTI(long kaleoTaskId, String formUuid) throws NoSuchTaskFormException
      Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or throws a NoSuchTaskFormException if it could not be found.
      Parameters:
      kaleoTaskId - the kaleo task ID
      formUuid - the form uuid
      Returns:
      the matching kaleo task form
      Throws:
      NoSuchTaskFormException - if a matching kaleo task form could not be found
      NoSuchTaskFormException
    • fetchByFormUuid_KTI

      public static KaleoTaskForm fetchByFormUuid_KTI(long kaleoTaskId, String formUuid)
      Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoTaskId - the kaleo task ID
      formUuid - the form uuid
      Returns:
      the matching kaleo task form, or null if a matching kaleo task form could not be found
    • fetchByFormUuid_KTI

      public static KaleoTaskForm fetchByFormUuid_KTI(long kaleoTaskId, String formUuid, boolean useFinderCache)
      Returns the kaleo task form where kaleoTaskId = ? and formUuid = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoTaskId - the kaleo task ID
      formUuid - the form uuid
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo task form, or null if a matching kaleo task form could not be found
    • removeByFormUuid_KTI

      public static KaleoTaskForm removeByFormUuid_KTI(long kaleoTaskId, String formUuid) throws NoSuchTaskFormException
      Removes the kaleo task form where kaleoTaskId = ? and formUuid = ? from the database.
      Parameters:
      kaleoTaskId - the kaleo task ID
      formUuid - the form uuid
      Returns:
      the kaleo task form that was removed
      Throws:
      NoSuchTaskFormException
    • countByFormUuid_KTI

      public static int countByFormUuid_KTI(long kaleoTaskId, String formUuid)
      Returns the number of kaleo task forms where kaleoTaskId = ? and formUuid = ?.
      Parameters:
      kaleoTaskId - the kaleo task ID
      formUuid - the form uuid
      Returns:
      the number of matching kaleo task forms
    • cacheResult

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

      public static void cacheResult(List<KaleoTaskForm> kaleoTaskForms)
      Caches the kaleo task forms in the entity cache if it is enabled.
      Parameters:
      kaleoTaskForms - the kaleo task forms
    • create

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

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

      public static KaleoTaskForm updateImpl(KaleoTaskForm kaleoTaskForm)
    • findByPrimaryKey

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

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

      public static List<KaleoTaskForm> findAll()
      Returns all the kaleo task forms.
      Returns:
      the kaleo task forms
    • findAll

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

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

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

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

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

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

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

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

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

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

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

      public static KaleoTaskFormPersistence getPersistence()
    • setPersistence

      public static void setPersistence(KaleoTaskFormPersistence persistence)