@ProviderType
public class KaleoNodePersistenceImpl
extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>
implements com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistence
Caching information and settings can be found in portal.properties
KaleoNodePersistence,
KaleoNodeUtil| 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_C_KDI |
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_WITH_PAGINATION_FIND_ALL |
static com.liferay.portal.kernel.dao.orm.FinderPath |
FINDER_PATH_WITH_PAGINATION_FIND_BY_C_KDI |
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_C_KDI |
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, nullModel, 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 |
|---|
KaleoNodePersistenceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
Initializes the kaleo node persistence.
|
void |
cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
Caches the kaleo node in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> kaleoNodes)
Caches the kaleo nodes in the entity cache if it is enabled.
|
void |
clearCache()
Clears the cache for all kaleo nodes.
|
void |
clearCache(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
Clears the cache for the kaleo node.
|
void |
clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> kaleoNodes) |
int |
countAll()
Returns the number of kaleo nodes.
|
int |
countByC_KDI(long companyId,
long kaleoDefinitionId)
Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo nodes where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo nodes where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
create(long kaleoNodeId)
Creates a new kaleo node with the primary key.
|
void |
destroy() |
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByC_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or returns
null if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoNode |
fetchByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo node 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.KaleoNode> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findAll()
Returns all the kaleo nodes.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findAll(int start,
int end)
Returns a range of all the kaleo nodes.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByC_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode[] |
findByC_KDI_PrevAndNext(long kaleoNodeId,
long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId)
Returns all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode[] |
findByCompanyId_PrevAndNext(long kaleoNodeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByCompanyId(long companyId)
Returns all the kaleo nodes where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where companyId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes where companyId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoNodeId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo nodes where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo nodes where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionId = ?.
|
java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionId = ?.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or throws a
NoSuchNodeException if it could not be found. |
com.liferay.portal.workflow.kaleo.model.KaleoNode |
findByPrimaryKey(java.io.Serializable primaryKey)
Returns the kaleo node with the primary key or throws a
NoSuchModelException if it could not be found. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
protected com.liferay.portal.workflow.kaleo.model.KaleoNode |
getByC_KDI_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous) |
protected com.liferay.portal.workflow.kaleo.model.KaleoNode |
getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous) |
protected com.liferay.portal.workflow.kaleo.model.KaleoNode |
getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous) |
protected java.util.Map<java.lang.String,java.lang.Integer> |
getTableColumnsMap() |
com.liferay.portal.workflow.kaleo.model.KaleoNode |
remove(long kaleoNodeId)
Removes the kaleo node with the primary key from the database.
|
com.liferay.portal.workflow.kaleo.model.KaleoNode |
remove(java.io.Serializable primaryKey)
Removes the kaleo node with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo nodes from the database.
|
void |
removeByC_KDI(long companyId,
long kaleoDefinitionId)
Removes all the kaleo nodes where companyId = ? and kaleoDefinitionId = ? from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo nodes where companyId = ? from the database.
|
void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo nodes where kaleoDefinitionId = ? from the database.
|
protected com.liferay.portal.workflow.kaleo.model.KaleoNode |
removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) |
protected com.liferay.portal.workflow.kaleo.model.KaleoNode |
toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) |
com.liferay.portal.workflow.kaleo.model.KaleoNode |
updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode) |
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, 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, 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_WITH_PAGINATION_FIND_BY_C_KDI
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_C_KDI
public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_C_KDI
@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.KaleoNode> findByCompanyId(long companyId)
findByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencecompanyId - the company IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencecompanyId - the company IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencecompanyId - the company IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (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.KaleoNode findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByCompanyId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByCompanyId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode[] findByCompanyId_PrevAndNext(long kaleoNodeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByCompanyId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the current kaleo nodecompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoNode getByCompanyId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous)
public void removeByCompanyId(long companyId)
removeByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDpublic int countByCompanyId(long companyId)
countByCompanyId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId)
findByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (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.KaleoNode findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByKaleoDefinitionId_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByKaleoDefinitionId_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode[] findByKaleoDefinitionId_PrevAndNext(long kaleoNodeId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByKaleoDefinitionId_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the current kaleo nodekaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoNode getByKaleoDefinitionId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous)
public void removeByKaleoDefinitionId(long kaleoDefinitionId)
removeByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDpublic int countByKaleoDefinitionId(long kaleoDefinitionId)
countByKaleoDefinitionId in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoDefinitionId - the kaleo definition IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByC_KDI(long companyId,
long kaleoDefinitionId)
findByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDpublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByC_KDI(long companyId,
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 KaleoNodeModelImpl. 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.
findByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.
findByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.
findByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDstart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (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.KaleoNode findByC_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByC_KDI_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByC_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByC_KDI_First in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode findByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByC_KDI_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
fetchByC_KDI_Last in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)null if a matching kaleo node could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode[] findByC_KDI_PrevAndNext(long kaleoNodeId,
long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
findByC_KDI_PrevAndNext in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the current kaleo nodecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDorderByComparator - the comparator to order the set by (optionally null)com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoNode getByC_KDI_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode,
long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> orderByComparator,
boolean previous)
public void removeByC_KDI(long companyId,
long kaleoDefinitionId)
removeByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDpublic int countByC_KDI(long companyId,
long kaleoDefinitionId)
countByC_KDI in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencecompanyId - the company IDkaleoDefinitionId - the kaleo definition IDpublic void cacheResult(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNode - the kaleo nodepublic void cacheResult(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> kaleoNodes)
cacheResult in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodes - the kaleo nodespublic 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.KaleoNode>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>public void clearCache(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
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.KaleoNode>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>public void clearCache(java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> kaleoNodes)
clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoNode>clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>public com.liferay.portal.workflow.kaleo.model.KaleoNode create(long kaleoNodeId)
create in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key for the new kaleo nodepublic com.liferay.portal.workflow.kaleo.model.KaleoNode remove(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
remove in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the kaleo nodecom.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode remove(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoNode>remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>primaryKey - the primary key of the kaleo nodecom.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundprotected com.liferay.portal.workflow.kaleo.model.KaleoNode removeImpl(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>public com.liferay.portal.workflow.kaleo.model.KaleoNode updateImpl(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
updateImpl in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistenceupdateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>protected com.liferay.portal.workflow.kaleo.model.KaleoNode toUnwrappedModel(com.liferay.portal.workflow.kaleo.model.KaleoNode kaleoNode)
public com.liferay.portal.workflow.kaleo.model.KaleoNode findByPrimaryKey(java.io.Serializable primaryKey)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
NoSuchModelException if it could not be found.findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoNode>findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>primaryKey - the primary key of the kaleo nodecom.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode findByPrimaryKey(long kaleoNodeId)
throws com.liferay.portal.workflow.kaleo.exception.NoSuchNodeException
NoSuchNodeException if it could not be found.findByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the kaleo nodecom.liferay.portal.workflow.kaleo.exception.NoSuchNodeException - if a kaleo node with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode 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.KaleoNode>fetchByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>primaryKey - the primary key of the kaleo nodenull if a kaleo node with the primary key could not be foundpublic com.liferay.portal.workflow.kaleo.model.KaleoNode fetchByPrimaryKey(long kaleoNodeId)
null if it could not be found.fetchByPrimaryKey in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencekaleoNodeId - the primary key of the kaleo nodenull if a kaleo node with the primary key could not be foundpublic java.util.Map<java.io.Serializable,com.liferay.portal.workflow.kaleo.model.KaleoNode> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoNode>fetchByPrimaryKeys in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencefetchByPrimaryKeys in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findAll()
findAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencepublic java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencestart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencestart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoNode> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.workflow.kaleo.model.KaleoNode> 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 KaleoNodeModelImpl. 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.KaleoNodePersistencestart - the lower bound of the range of kaleo nodesend - the upper bound of the range of kaleo nodes (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.KaleoNodePersistencepublic int countAll()
countAll in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencepublic java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.workflow.kaleo.model.KaleoNode>getBadColumnNames in interface com.liferay.portal.workflow.kaleo.service.persistence.KaleoNodePersistencegetBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.workflow.kaleo.model.KaleoNode>protected 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.KaleoNode>public void afterPropertiesSet()
public void destroy()