@ProviderType
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
,
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNodePersistenceImpl
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_KDI(long companyId,
long kaleoDefinitionId)
Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo nodes where companyId = ?.
|
static int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo nodes where kaleoDefinitionId = ?.
|
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_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
static KaleoNode |
fetchByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
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 |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNode |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the kaleo nodes.
|
static KaleoNode |
findByC_KDI_First(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
static KaleoNode |
findByC_KDI_Last(long companyId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionId = ?.
|
static KaleoNode[] |
findByC_KDI_PrevAndNext(long kaleoNodeId,
long companyId,
long kaleoDefinitionId,
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 kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId)
Returns all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
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 retrieveFromCache)
Returns an ordered range of all the kaleo nodes where companyId = ?.
|
static KaleoNode |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNode |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNode[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoNodeId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo nodes where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo nodes where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo nodes where kaleoDefinitionId = ?.
|
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 java.util.Set<java.lang.String> |
getBadColumnNames() |
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_KDI(long companyId,
long kaleoDefinitionId)
Removes all the kaleo nodes where companyId = ? and kaleoDefinitionId = ? from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo nodes where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo nodes where kaleoDefinitionId = ? 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.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 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.
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 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.
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 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.
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
)retrieveFromCache
- whether to retrieve from 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> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<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.
kaleoDefinitionId
- 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 static java.util.List<KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId, 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 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.
kaleoDefinitionId
- 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 static java.util.List<KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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.
kaleoDefinitionId
- 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 static KaleoNode findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo node could not be foundpublic static KaleoNode[] findByKaleoDefinitionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoNodeId
- the primary key of the current kaleo nodekaleoDefinitionId
- the kaleo definition 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 removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static int countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoNode> findByC_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<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.
companyId
- 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 static java.util.List<KaleoNode> findByC_KDI(long companyId, long kaleoDefinitionId, 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 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.
companyId
- 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 static java.util.List<KaleoNode> findByC_KDI(long companyId, long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<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.
companyId
- 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 static KaleoNode findByC_KDI_First(long companyId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByC_KDI_First(long companyId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- 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 static KaleoNode findByC_KDI_Last(long companyId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNodeException
- if a matching kaleo node could not be foundpublic static KaleoNode fetchByC_KDI_Last(long companyId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
companyId
- 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 static KaleoNode[] findByC_KDI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException
kaleoNodeId
- the primary key of the current kaleo nodecompanyId
- the company IDkaleoDefinitionId
- the kaleo definition 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_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDpublic static int countByC_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition 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.Map<java.io.Serializable,KaleoNode> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public 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 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.
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 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.
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 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.
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
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static java.util.Set<java.lang.String> getBadColumnNames()
public static KaleoNodePersistence getPersistence()