public class KaleoNodeUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNodePersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
KaleoNodePersistence
Constructor and Description |
---|
KaleoNodeUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoNode kaleoNode)
Caches the kaleo node in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoNode> kaleoNodes)
Caches the kaleo nodes in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoNode kaleoNode) |
static int |
countAll()
Returns the number of kaleo nodes.
|
static int |
countByC_KDVI(long companyId,
long kaleoDefinitionVersionId)
Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo nodes where companyId = ?.
|
static int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoNode |
create(long kaleoNodeId)
Creates a new kaleo node with the primary key.
|
static KaleoNode |
fetchByC_KDVI_First(long companyId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
|
static KaleoNode |
fetchByC_KDVI_Last(long companyId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
|
static KaleoNode |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
static KaleoNode |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
static KaleoNode |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoNode |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoNode |
fetchByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoNode> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoNode> |
findAll()
Returns all the kaleo nodes.
|
static java.util.List<KaleoNode> |
findAll(int start,
int end)
Returns a range of all the kaleo nodes.
|
static java.util.List<KaleoNode> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes.
|
static java.util.List<KaleoNode> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo nodes.
|
static KaleoNode |
findByC_KDVI_First(long companyId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
|
static KaleoNode |
findByC_KDVI_Last(long companyId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
|
static KaleoNode[] |
findByC_KDVI_PrevAndNext(long kaleoNodeId,
long companyId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDVI(long companyId,
long kaleoDefinitionVersionId)
Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDVI(long companyId,
long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDVI(long companyId,
long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDVI(long companyId,
long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.
|
static KaleoNode |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
static KaleoNode |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
static KaleoNode[] |
findByCompanyId_PrevAndNext(long kaleoNodeId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ?.
|
static java.util.List<KaleoNode> |
findByCompanyId(long companyId)
Returns all the kaleo nodes where companyId = ?.
|
static java.util.List<KaleoNode> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ?.
|
static java.util.List<KaleoNode> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where companyId = ?.
|
static java.util.List<KaleoNode> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo nodes where companyId = ?.
|
static KaleoNode |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoNode |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
|
static KaleoNode[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId,
long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionVersionId = ?.
|
static KaleoNode |
findByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or throws a
NoSuchNodeException if it could not be found. |
static java.util.List<KaleoNode> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoNode> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoNode> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) |
static KaleoNodePersistence |
getPersistence() |
static KaleoNode |
remove(long kaleoNodeId)
Removes the kaleo node with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo nodes from the database.
|
static void |
removeByC_KDVI(long companyId,
long kaleoDefinitionVersionId)
Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo nodes where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.
|
static KaleoNode |
update(KaleoNode kaleoNode) |
static KaleoNode |
update(KaleoNode kaleoNode,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoNode |
updateImpl(KaleoNode kaleoNode) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoNode kaleoNode)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,KaleoNode> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoNode update(KaleoNode kaleoNode)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoNode update(KaleoNode kaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoNode> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)public static java.util.List<KaleoNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- 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 static java.util.List<KaleoNode> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- 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
)useFinderCache
- whether to use the finder cachepublic static KaleoNode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode[] findByCompanyId_PrevAndNext(long kaleoNodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoNodeId
- the primary key of the current kaleo nodecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a kaleo node with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)public static java.util.List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version 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 static java.util.List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version 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
)useFinderCache
- whether to use the finder cachepublic static KaleoNode findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoNodeId
- the primary key of the current kaleo nodekaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a kaleo node with the primary key could not be foundpublic static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId)
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDpublic static java.util.List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDstart
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)public static java.util.List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version 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 static java.util.List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version 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
)useFinderCache
- whether to use the finder cachepublic static KaleoNode findByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode findByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode[] findByC_KDVI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoNodeId
- the primary key of the current kaleo nodecompanyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a kaleo node with the primary key could not be foundpublic static void removeByC_KDVI(long companyId, long kaleoDefinitionVersionId)
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDpublic static int countByC_KDVI(long companyId, long kaleoDefinitionVersionId)
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDpublic static void cacheResult(KaleoNode kaleoNode)
kaleoNode
- the kaleo nodepublic static void cacheResult(java.util.List<KaleoNode> kaleoNodes)
kaleoNodes
- the kaleo nodespublic static KaleoNode create(long kaleoNodeId)
kaleoNodeId
- the primary key for the new kaleo nodepublic static KaleoNode remove(long kaleoNodeId) throws NoSuchNodeException
kaleoNodeId
- the primary key of the kaleo nodeNoSuchNodeException
- if a kaleo node with the primary key could not be foundpublic static KaleoNode findByPrimaryKey(long kaleoNodeId) throws NoSuchNodeException
NoSuchNodeException
if it could not be found.kaleoNodeId
- the primary key of the kaleo nodeNoSuchNodeException
- if a kaleo node with the primary key could not be foundpublic static KaleoNode fetchByPrimaryKey(long kaleoNodeId)
null
if it could not be found.kaleoNodeId
- the primary key of the kaleo nodenull
if a kaleo node with the primary key could not be foundpublic static java.util.List<KaleoNode> findAll()
public static java.util.List<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
start
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)public static java.util.List<KaleoNode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
start
- 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 static java.util.List<KaleoNode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from KaleoNodeModelImpl
.
start
- 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
)useFinderCache
- whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoNodePersistence getPersistence()