Class KaleoTaskUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTaskPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(KaleoTask kaleoTask) Caches the kaleo task in the entity cache if it is enabled.static void
cacheResult
(List<KaleoTask> kaleoTasks) Caches the kaleo tasks in the entity cache if it is enabled.static void
static void
clearCache
(KaleoTask kaleoTask) static int
countAll()
Returns the number of kaleo tasks.static int
countByCompanyId
(long companyId) Returns the number of kaleo tasks where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo tasks where kaleoDefinitionVersionId = ?.static int
countByKaleoNodeId
(long kaleoNodeId) Returns the number of kaleo tasks where kaleoNodeId = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTask
create
(long kaleoTaskId) Creates a new kaleo task with the primary key.static KaleoTask
fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the first kaleo task in the ordered set where companyId = ?.static KaleoTask
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the last kaleo task in the ordered set where companyId = ?.static KaleoTask
fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTask
fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTask
fetchByKaleoNodeId
(long kaleoNodeId) Returns the kaleo task where kaleoNodeId = ? or returnsnull
if it could not be found.static KaleoTask
fetchByKaleoNodeId
(long kaleoNodeId, boolean useFinderCache) Returns the kaleo task where kaleoNodeId = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoTask
fetchByPrimaryKey
(long kaleoTaskId) Returns the kaleo task with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoTask> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) findAll()
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 = ?.static KaleoTask
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the first kaleo task in the ordered set where companyId = ?.static KaleoTask
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the last kaleo task in the ordered set where companyId = ?.static KaleoTask[]
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 = ?.static KaleoTask
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTask
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTask[]
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 = ?.static KaleoTask
findByKaleoNodeId
(long kaleoNodeId) Returns the kaleo task where kaleoNodeId = ? or throws aNoSuchTaskException
if it could not be found.static KaleoTask
findByPrimaryKey
(long kaleoTaskId) Returns the kaleo task with the primary key or throws aNoSuchTaskException
if it could not be found.findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) static KaleoTaskPersistence
static KaleoTask
remove
(long kaleoTaskId) Removes the kaleo task with the primary key from the database.static void
Removes all the kaleo tasks from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo tasks where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo tasks where kaleoDefinitionVersionId = ? from the database.static KaleoTask
removeByKaleoNodeId
(long kaleoNodeId) Removes the kaleo task where kaleoNodeId = ? from the database.static void
setPersistence
(KaleoTaskPersistence persistence) static KaleoTask
static KaleoTask
static KaleoTask
updateImpl
(KaleoTask kaleoTask)
-
Constructor Details
-
KaleoTaskUtil
public KaleoTaskUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- 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
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoTask> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTask update(KaleoTask kaleoTask, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByCompanyId
Returns all the kaleo tasks where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo tasks
-
findByCompanyId
Returns a range of all the kaleo tasks where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)- Returns:
- the range of matching kaleo tasks
-
findByCompanyId
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo tasks
-
findByCompanyId
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo tasks
-
findByCompanyId_First
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task
- Throws:
NoSuchTaskException
- if a matching kaleo task could not be foundNoSuchTaskException
-
fetchByCompanyId_First
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task, or
null
if a matching kaleo task could not be found
-
findByCompanyId_Last
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task
- Throws:
NoSuchTaskException
- if a matching kaleo task could not be foundNoSuchTaskException
-
fetchByCompanyId_Last
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task, or
null
if a matching kaleo task could not be found
-
findByCompanyId_PrevAndNext
public static 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 taskcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task
- Throws:
NoSuchTaskException
- if a kaleo task with the primary key could not be foundNoSuchTaskException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo tasks where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
public static 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
Returns all the kaleo tasks where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo tasks
-
findByKaleoDefinitionVersionId
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)- Returns:
- the range of matching kaleo tasks
-
findByKaleoDefinitionVersionId
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching kaleo tasks
-
findByKaleoDefinitionVersionId
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo tasks
-
findByKaleoDefinitionVersionId_First
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task
- Throws:
NoSuchTaskException
- if a matching kaleo task could not be foundNoSuchTaskException
-
fetchByKaleoDefinitionVersionId_First
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo task, or
null
if a matching kaleo task could not be found
-
findByKaleoDefinitionVersionId_Last
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task
- Throws:
NoSuchTaskException
- if a matching kaleo task could not be foundNoSuchTaskException
-
fetchByKaleoDefinitionVersionId_Last
public static 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 IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo task, or
null
if a matching kaleo task could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static 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 taskkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo task
- Throws:
NoSuchTaskException
- if a kaleo task with the primary key could not be foundNoSuchTaskException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo tasks where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static 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
Returns the kaleo task where kaleoNodeId = ? or throws aNoSuchTaskException
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 foundNoSuchTaskException
-
fetchByKaleoNodeId
Returns the kaleo task where kaleoNodeId = ? or returnsnull
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
Returns the kaleo task where kaleoNodeId = ? or returnsnull
if it could not be found, optionally using the finder cache.- Parameters:
kaleoNodeId
- the kaleo node IDuseFinderCache
- whether to use the finder cache- Returns:
- the matching kaleo task, or
null
if a matching kaleo task could not be found
-
removeByKaleoNodeId
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
public static 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
Caches the kaleo task in the entity cache if it is enabled.- Parameters:
kaleoTask
- the kaleo task
-
cacheResult
Caches the kaleo tasks in the entity cache if it is enabled.- Parameters:
kaleoTasks
- the kaleo tasks
-
create
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
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 foundNoSuchTaskException
-
updateImpl
-
findByPrimaryKey
Returns the kaleo task with the primary key or throws aNoSuchTaskException
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 foundNoSuchTaskException
-
fetchByPrimaryKey
Returns the kaleo task with the primary key or returnsnull
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
Returns all the kaleo tasks.- Returns:
- the kaleo tasks
-
findAll
Returns a range of all the kaleo tasks.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)- Returns:
- the range of kaleo tasks
-
findAll
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of kaleo tasks
-
findAll
public static 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
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTaskModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo tasks
-
removeAll
public static void removeAll()Removes all the kaleo tasks from the database. -
countAll
public static int countAll()Returns the number of kaleo tasks.- Returns:
- the number of kaleo tasks
-
getPersistence
-
setPersistence
-