@ProviderType public interface KaleoTaskPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTask>
Caching information and settings can be found in portal.properties
KaleoTaskUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoTask kaleoTask)
Caches the kaleo task in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoTask> kaleoTasks)
Caches the kaleo tasks in the entity cache if it is enabled.
|
int |
countAll()
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 = ?.
|
KaleoTask |
create(long kaleoTaskId)
Creates a new kaleo task with the primary key.
|
KaleoTask |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where companyId = ?.
|
KaleoTask |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where companyId = ?.
|
KaleoTask |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTask |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTask |
fetchByKaleoNodeId(long kaleoNodeId)
Returns the kaleo task where kaleoNodeId = ? or returns
null if it could not be found. |
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. |
KaleoTask |
fetchByPrimaryKey(long kaleoTaskId)
Returns the kaleo task with the primary key or returns
null if it could not be found. |
java.util.List<KaleoTask> |
findAll()
Returns all the kaleo tasks.
|
java.util.List<KaleoTask> |
findAll(int start,
int end)
Returns a range of all the kaleo tasks.
|
java.util.List<KaleoTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns an ordered range of all the kaleo tasks.
|
java.util.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.
|
KaleoTask |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where companyId = ?.
|
KaleoTask |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoTask> |
findByCompanyId(long companyId)
Returns all the kaleo tasks where companyId = ?.
|
java.util.List<KaleoTask> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo tasks where companyId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
KaleoTask |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTask |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where kaleoDefinitionVersionId = ?.
|
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 = ?.
|
java.util.List<KaleoTask> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo tasks where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoTask> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo tasks where kaleoDefinitionVersionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
KaleoTask |
findByKaleoNodeId(long kaleoNodeId)
Returns the kaleo task where kaleoNodeId = ? or throws a
NoSuchTaskException if it could not be found. |
KaleoTask |
findByPrimaryKey(long kaleoTaskId)
Returns the kaleo task with the primary key or throws a
NoSuchTaskException if it could not be found. |
KaleoTask |
remove(long kaleoTaskId)
Removes the kaleo task with the primary key from the database.
|
void |
removeAll()
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.
|
KaleoTask |
removeByKaleoNodeId(long kaleoNodeId)
Removes the kaleo task where kaleoNodeId = ? from the database.
|
KaleoTask |
updateImpl(KaleoTask kaleoTask) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoTask> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoTask> findByCompanyId(long companyId, int start, int end)
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
.
companyId
- the company IDstart
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)java.util.List<KaleoTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
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
.
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 (optionally null
)java.util.List<KaleoTask> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheKaleoTask findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a matching kaleo task could not be foundKaleoTask fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task could not be foundKaleoTask findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a matching kaleo task could not be foundKaleoTask fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task could not be foundKaleoTask[] findByCompanyId_PrevAndNext(long kaleoTaskId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
kaleoTaskId
- the primary key of the current kaleo taskcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a kaleo task with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoTask> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.util.List<KaleoTask> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
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
.
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)java.util.List<KaleoTask> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
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
.
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 (optionally null
)java.util.List<KaleoTask> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheKaleoTask findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a matching kaleo task could not be foundKaleoTask fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task could not be foundKaleoTask findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a matching kaleo task could not be foundKaleoTask fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo task could not be foundKaleoTask[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTaskId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator) throws NoSuchTaskException
kaleoTaskId
- the primary key of the current kaleo taskkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTaskException
- if a kaleo task with the primary key could not be foundvoid removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDint countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDKaleoTask findByKaleoNodeId(long kaleoNodeId) throws NoSuchTaskException
NoSuchTaskException
if it could not be found.kaleoNodeId
- the kaleo node IDNoSuchTaskException
- if a matching kaleo task could not be foundKaleoTask fetchByKaleoNodeId(long kaleoNodeId)
null
if it could not be found. Uses the finder cache.kaleoNodeId
- the kaleo node IDnull
if a matching kaleo task could not be foundKaleoTask fetchByKaleoNodeId(long kaleoNodeId, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDuseFinderCache
- whether to use the finder cachenull
if a matching kaleo task could not be foundKaleoTask removeByKaleoNodeId(long kaleoNodeId) throws NoSuchTaskException
kaleoNodeId
- the kaleo node IDNoSuchTaskException
int countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDvoid cacheResult(KaleoTask kaleoTask)
kaleoTask
- the kaleo taskvoid cacheResult(java.util.List<KaleoTask> kaleoTasks)
kaleoTasks
- the kaleo tasksKaleoTask create(long kaleoTaskId)
kaleoTaskId
- the primary key for the new kaleo taskKaleoTask remove(long kaleoTaskId) throws NoSuchTaskException
kaleoTaskId
- the primary key of the kaleo taskNoSuchTaskException
- if a kaleo task with the primary key could not be foundKaleoTask findByPrimaryKey(long kaleoTaskId) throws NoSuchTaskException
NoSuchTaskException
if it could not be found.kaleoTaskId
- the primary key of the kaleo taskNoSuchTaskException
- if a kaleo task with the primary key could not be foundKaleoTask fetchByPrimaryKey(long kaleoTaskId)
null
if it could not be found.kaleoTaskId
- the primary key of the kaleo tasknull
if a kaleo task with the primary key could not be foundjava.util.List<KaleoTask> findAll()
java.util.List<KaleoTask> findAll(int start, int end)
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
.
start
- the lower bound of the range of kaleo tasksend
- the upper bound of the range of kaleo tasks (not inclusive)java.util.List<KaleoTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator)
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
.
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 (optionally null
)java.util.List<KaleoTask> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTask> orderByComparator, boolean useFinderCache)
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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()