Interface KaleoTaskPersistence

All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTask>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>

@ProviderType public interface KaleoTaskPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTask>, com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTask>
The persistence interface for the kaleo task service.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Caches the kaleo task in the entity cache if it is enabled.
    void
    cacheResult(List<KaleoTask> kaleoTasks)
    Caches the kaleo tasks in the entity cache if it is enabled.
    int
    Returns the number of kaleo tasks.
    int
    countByCompanyId(long companyId)
    Returns the number of kaleo tasks where companyId = ?.
    int
    countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns the number of kaleo tasks where kaleoDefinitionVersionId = ?.
    int
    countByKaleoNodeId(long kaleoNodeId)
    Returns the number of kaleo tasks where kaleoNodeId = ?.
    create(long kaleoTaskId)
    Creates a new kaleo task with the primary key.
    fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the first kaleo task in the ordered set where companyId = ?.
    fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the last kaleo task in the ordered set where companyId = ?.
    fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
    fetchByKaleoNodeId(long kaleoNodeId)
    Returns the kaleo task where kaleoNodeId = ? or returns null if it could not be found.
    fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
    Returns the kaleo task where kaleoNodeId = ? or returns null if it could not be found, optionally using the finder cache.
    fetchByPrimaryKey(long kaleoTaskId)
    Returns the kaleo task with the primary key or returns null if it could not be found.
    Returns all the kaleo tasks.
    findAll(int start, int end)
    Returns a range of all the kaleo tasks.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns an ordered range of all the kaleo tasks.
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo tasks.
    findByCompanyId(long companyId)
    Returns all the kaleo tasks where companyId = ?.
    findByCompanyId(long companyId, int start, int end)
    Returns a range of all the kaleo tasks where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns an ordered range of all the kaleo tasks where companyId = ?.
    findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo tasks where companyId = ?.
    findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the first kaleo task in the ordered set where companyId = ?.
    findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the last kaleo task in the ordered set where companyId = ?.
    findByCompanyId_PrevAndNext(long kaleoTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the kaleo tasks before and after the current kaleo task in the ordered set where companyId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Returns all the kaleo tasks where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
    Returns a range of all the kaleo tasks where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns an ordered range of all the kaleo tasks where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the kaleo tasks where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
    Returns the kaleo tasks before and after the current kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
    findByKaleoNodeId(long kaleoNodeId)
    Returns the kaleo task where kaleoNodeId = ? or throws a NoSuchTaskException if it could not be found.
    findByPrimaryKey(long kaleoTaskId)
    Returns the kaleo task with the primary key or throws a NoSuchTaskException if it could not be found.
    remove(long kaleoTaskId)
    Removes the kaleo task with the primary key from the database.
    void
    Removes all the kaleo tasks from the database.
    void
    removeByCompanyId(long companyId)
    Removes all the kaleo tasks where companyId = ? from the database.
    void
    removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
    Removes all the kaleo tasks where kaleoDefinitionVersionId = ? from the database.
    removeByKaleoNodeId(long kaleoNodeId)
    Removes the kaleo task where kaleoNodeId = ? from the database.
    updateImpl(KaleoTask kaleoTask)
     

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence

    getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
  • Method Details

    • findByCompanyId

      List<KaleoTask> findByCompanyId(long companyId)
      Returns all the kaleo tasks where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching kaleo tasks
    • findByCompanyId

      List<KaleoTask> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the kaleo tasks 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 KaleoTaskModelImpl.

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

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

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

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

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

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

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

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

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

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

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

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

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

      List<KaleoTask> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
      Returns a range of all the kaleo tasks 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 KaleoTaskModelImpl.

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

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

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

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

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

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

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

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

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

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

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

      int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
      Returns the number of kaleo tasks where kaleoDefinitionVersionId = ?.
      Parameters:
      kaleoDefinitionVersionId - the kaleo definition version ID
      Returns:
      the number of matching kaleo tasks
    • findByKaleoNodeId

      KaleoTask findByKaleoNodeId(long kaleoNodeId) throws NoSuchTaskException
      Returns the kaleo task where kaleoNodeId = ? or throws a NoSuchTaskException if it could not be found.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo task
      Throws:
      NoSuchTaskException - if a matching kaleo task could not be found
    • fetchByKaleoNodeId

      KaleoTask fetchByKaleoNodeId(long kaleoNodeId)
      Returns the kaleo task where kaleoNodeId = ? or returns null if it could not be found. Uses the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the matching kaleo task, or null if a matching kaleo task could not be found
    • fetchByKaleoNodeId

      KaleoTask fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
      Returns the kaleo task where kaleoNodeId = ? or returns null if it could not be found, optionally using the finder cache.
      Parameters:
      kaleoNodeId - the kaleo node ID
      useFinderCache - whether to use the finder cache
      Returns:
      the matching kaleo task, or null if a matching kaleo task could not be found
    • removeByKaleoNodeId

      KaleoTask removeByKaleoNodeId(long kaleoNodeId) throws NoSuchTaskException
      Removes the kaleo task where kaleoNodeId = ? from the database.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the kaleo task that was removed
      Throws:
      NoSuchTaskException
    • countByKaleoNodeId

      int countByKaleoNodeId(long kaleoNodeId)
      Returns the number of kaleo tasks where kaleoNodeId = ?.
      Parameters:
      kaleoNodeId - the kaleo node ID
      Returns:
      the number of matching kaleo tasks
    • cacheResult

      void cacheResult(KaleoTask kaleoTask)
      Caches the kaleo task in the entity cache if it is enabled.
      Parameters:
      kaleoTask - the kaleo task
    • cacheResult

      void cacheResult(List<KaleoTask> kaleoTasks)
      Caches the kaleo tasks in the entity cache if it is enabled.
      Parameters:
      kaleoTasks - the kaleo tasks
    • create

      KaleoTask create(long kaleoTaskId)
      Creates a new kaleo task with the primary key. Does not add the kaleo task to the database.
      Parameters:
      kaleoTaskId - the primary key for the new kaleo task
      Returns:
      the new kaleo task
    • remove

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

      KaleoTask updateImpl(KaleoTask kaleoTask)
    • findByPrimaryKey

      KaleoTask findByPrimaryKey(long kaleoTaskId) throws NoSuchTaskException
      Returns the kaleo task with the primary key or throws a NoSuchTaskException if it could not be found.
      Parameters:
      kaleoTaskId - the primary key of the kaleo task
      Returns:
      the kaleo task
      Throws:
      NoSuchTaskException - if a kaleo task with the primary key could not be found
    • fetchByPrimaryKey

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

      List<KaleoTask> findAll()
      Returns all the kaleo tasks.
      Returns:
      the kaleo tasks
    • findAll

      List<KaleoTask> findAll(int start, int end)
      Returns a range of all the kaleo tasks.

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

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

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

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

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

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

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

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

      void removeAll()
      Removes all the kaleo tasks from the database.
    • countAll

      int countAll()
      Returns the number of kaleo tasks.
      Returns:
      the number of kaleo tasks