@ProviderType
public class KaleoTaskPersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>
implements com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistence
Caching information and settings can be found in portal.properties
KaleoTaskPersistence,
KaleoTaskUtil| Modifier and Type | Field and Description |
|---|---|
protected com.liferay.portal.kernel.service.persistence.CompanyProvider |
companyProvider |
protected com.liferay.portal.kernel.dao.orm.EntityCache |
entityCache |
static java.lang.String |
FINDER_CLASS_NAME_ENTITY |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITH_PAGINATION |
static java.lang.String |
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_KALEODEFINITIONID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_COUNT_BY_KALEONODEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_FETCH_BY_KALEONODEID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID |
protected com.liferay.portal.kernel.dao.orm.FinderCache |
finderCache |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR| Constructor and Description |
|---|
KaleoTaskPersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the kaleo task persistence.
|
void |
cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
Caches the kaleo task in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> kaleoTasks)
Caches the kaleo tasks in the entity cache if it is enabled.
|
protected void |
cacheUniqueFindersCache(KaleoTaskModelImpl kaleoTaskModelImpl,
boolean isNew) |
void |
clearCache()
Clears the cache for all kaleo tasks.
|
void |
clearCache(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
Clears the cache for the kaleo task.
|
void |
clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> kaleoTasks) |
protected void |
clearUniqueFindersCache(KaleoTaskModelImpl kaleoTaskModelImpl) |
int |
countAll()
Returns the number of kaleo tasks.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo tasks where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo tasks where kaleoDefinitionId = ?.
|
int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo tasks where kaleoNodeId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
create(long kaleoTaskId)
Creates a new kaleo task with the primary key.
|
void |
destroy() |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByKaleoNodeId(long kaleoNodeId)
Returns the kaleo task where kaleoNodeId = ? or returns
null if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByKaleoNodeId(long kaleoNodeId,
boolean retrieveFromCache)
Returns the kaleo task where kaleoNodeId = ? or returns
null if it could not be found, optionally using the finder cache. |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByPrimaryKey(long kaleoTaskId)
Returns the kaleo task with the primary key or returns
null if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo task with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,com.liferay.portal.workflow.kaleo.model.KaleoTask> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findAll()
Returns all the kaleo tasks.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findAll(int start,
int end)
Returns a range of all the kaleo tasks.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns an ordered range of all the kaleo tasks.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo tasks.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask[] |
findByCompanyId_PrevAndNext(long kaleoTaskId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the kaleo tasks before and after the current kaleo task in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByCompanyId(long companyId)
Returns all the kaleo tasks where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo tasks where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns an ordered range of all the kaleo tasks where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo tasks where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the first kaleo task in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the last kaleo task in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoTaskId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns the kaleo tasks before and after the current kaleo task in the ordered set where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo tasks where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo tasks where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
Returns an ordered range of all the kaleo tasks where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo tasks where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByKaleoNodeId(long kaleoNodeId)
Returns the kaleo task where kaleoNodeId = ? or throws a
NoSuchTaskException if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByPrimaryKey(long kaleoTaskId)
Returns the kaleo task with the primary key or throws a
NoSuchTaskException if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo task with the primary key or throws a
NoSuchModelException if it could not be found. |
protected com.liferay.portal.workflow.kaleo.model.KaleoTask |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean previous) |
protected com.liferay.portal.workflow.kaleo.model.KaleoTask |
getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
remove(long kaleoTaskId)
Removes the kaleo task with the primary key from the database.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
remove(java.io.Serializable primaryKey)
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 |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo tasks where kaleoDefinitionId = ? from the database.
|
com.liferay.portal.workflow.kaleo.model.KaleoTask |
removeByKaleoNodeId(long kaleoNodeId)
Removes the kaleo task where kaleoNodeId = ? from the database.
|
protected com.liferay.portal.workflow.kaleo.model.KaleoTask |
removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask) |
protected com.liferay.portal.workflow.kaleo.model.KaleoTask |
toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask) |
com.liferay.portal.workflow.kaleo.model.KaleoTask |
updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, updatepublic static final java.lang.String FINDER_CLASS_NAME_ENTITY
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_COMPANYID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_KALEODEFINITIONID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_KALEONODEID
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_KALEONODEID
@ServiceReference(type=com.liferay.portal.kernel.service.persistence.CompanyProviderWrapper.class) protected com.liferay.portal.kernel.service.persistence.CompanyProvider companyProvider
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.EntityCache.class) protected com.liferay.portal.kernel.dao.orm.EntityCache entityCache
@ServiceReference(type=com.liferay.portal.kernel.dao.orm.FinderCache.class) protected com.liferay.portal.kernel.dao.orm.FinderCache finderCache
public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDstart - the lower bound of the range of kaleo tasksend - the upper bound of the range of kaleo tasks (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - 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)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - 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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask[] findByCompanyId_PrevAndNext(long kaleoTaskId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByCompanyId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key of the current kaleo taskcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoTask getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByKaleoDefinitionId(long kaleoDefinitionId)
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByKaleoDefinitionId(long kaleoDefinitionId,
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo tasksend - the upper bound of the range of kaleo tasks (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition 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)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition 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)retrieveFromCache - whether to retrieve from the finder cachepublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
fetchByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
fetchByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask[] findByKaleoDefinitionId_PrevAndNext(long kaleoTaskId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
findByKaleoDefinitionId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key of the current kaleo taskkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoTask getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean previous)
public void removeByKaleoDefinitionId(long kaleoDefinitionId)
removeByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDpublic int countByKaleoDefinitionId(long kaleoDefinitionId)
countByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoDefinitionId - the kaleo definition IDpublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByKaleoNodeId(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
NoSuchTaskException if it could not be found.findByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoNodeId - the kaleo node IDcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByKaleoNodeId(long kaleoNodeId)
null if it could not be found. Uses the finder cache.fetchByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoNodeId - the kaleo node IDnull if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByKaleoNodeId(long kaleoNodeId,
boolean retrieveFromCache)
null if it could not be found, optionally using the finder cache.fetchByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoNodeId - the kaleo node IDretrieveFromCache - whether to retrieve from the finder cachenull if a matching kaleo task could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask removeByKaleoNodeId(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
removeByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoNodeId - the kaleo node IDcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskExceptionpublic int countByKaleoNodeId(long kaleoNodeId)
countByKaleoNodeId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoNodeId - the kaleo node IDpublic void cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTask - the kaleo taskpublic void cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> kaleoTasks)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTasks - the kaleo taskspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>public void clearCache(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>public void clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> kaleoTasks)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>protected void cacheUniqueFindersCache(KaleoTaskModelImpl kaleoTaskModelImpl, boolean isNew)
protected void clearUniqueFindersCache(KaleoTaskModelImpl kaleoTaskModelImpl)
public com.liferay.portal.workflow.kaleo.model.KaleoTask create(long kaleoTaskId)
create in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key for the new kaleo taskpublic com.liferay.portal.workflow.kaleo.model.KaleoTask remove(long kaleoTaskId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
remove in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key of the kaleo taskcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask remove(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>primaryKey - the primary key of the kaleo taskcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoTask removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>public com.liferay.portal.workflow.kaleo.model.KaleoTask updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
updateImpl in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>protected com.liferay.portal.workflow.kaleo.model.KaleoTask toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoTask kaleoTask)
public com.liferay.portal.workflow.kaleo.model.KaleoTask findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>primaryKey - the primary key of the kaleo taskcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask findByPrimaryKey(long kaleoTaskId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchTaskException
NoSuchTaskException if it could not be found.findByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key of the kaleo taskcom.liferay.portal.workflow.kaleo.exception.NoSuchTaskException - if a kaleo task with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByPrimaryKey(java.io.Serializable primaryKey)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>primaryKey - the primary key of the kaleo tasknull if a kaleo task with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoTask fetchByPrimaryKey(long kaleoTaskId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencekaleoTaskId - the primary key of the kaleo tasknull if a kaleo task with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portal.workflow.kaleo.model.KaleoTask> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoTask>fetchByPrimaryKeys in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findAll()
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencepublic java.util.List<com.liferay.portal.workflow.kaleo.model.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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencestart - the lower bound of the range of kaleo tasksend - the upper bound of the range of kaleo tasks (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencestart - 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)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoTask> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoTask> orderByComparator,
boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from KaleoTaskModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencestart - 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)retrieveFromCache - whether to retrieve from the finder cachepublic void removeAll()
removeAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistencepublic int countAll()
countAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoTaskPersistenceprotected java.util.Map<java.lang.String,java.lang.Integer> getTableColumnsMap()
getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoTask>public void afterPropertiesSet()
public void destroy()