@ProviderType public interface KaleoNodePersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNode>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNodePersistenceImpl
,
KaleoNodeUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoNode kaleoNode)
Caches the kaleo node in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoNode> kaleoNodes)
Caches the kaleo nodes in the entity cache if it is enabled.
|
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 = ?.
|
KaleoNode |
create(long kaleoNodeId)
Creates a new kaleo node with the primary key.
|
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 = ?.
|
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 = ?.
|
KaleoNode |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
KaleoNode |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
KaleoNode |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
KaleoNode |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
KaleoNode |
fetchByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoNode> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoNode> |
findAll()
Returns all the kaleo nodes.
|
java.util.List<KaleoNode> |
findAll(int start,
int end)
Returns a range of all the kaleo nodes.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoNode> |
findByC_KDI(long companyId,
long kaleoDefinitionId)
Returns all the kaleo nodes where companyId = ? and kaleoDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
KaleoNode |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where companyId = ?.
|
KaleoNode |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoNode> |
findByCompanyId(long companyId)
Returns all the kaleo nodes where companyId = ?.
|
java.util.List<KaleoNode> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo nodes where companyId = ?.
|
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 = ?.
|
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 = ?.
|
KaleoNode |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the first kaleo node in the ordered set where kaleoDefinitionId = ?.
|
KaleoNode |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator)
Returns the last kaleo node in the ordered set where kaleoDefinitionId = ?.
|
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 = ?.
|
java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo nodes where kaleoDefinitionId = ?.
|
java.util.List<KaleoNode> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo nodes where kaleoDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
KaleoNode |
findByPrimaryKey(long kaleoNodeId)
Returns the kaleo node with the primary key or throws a
NoSuchNodeException if it could not be found. |
java.util.Set<java.lang.String> |
getBadColumnNames() |
KaleoNode |
remove(long kaleoNodeId)
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.
|
KaleoNode |
updateImpl(KaleoNode kaleoNode) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoNode> findByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 cacheKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode[] 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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoNode> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.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)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
)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 cacheKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode[] 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 foundvoid removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoNode> findByC_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDjava.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)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
)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 cacheKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode 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 foundKaleoNode[] 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 foundvoid removeByC_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDint countByC_KDI(long companyId, long kaleoDefinitionId)
companyId
- the company IDkaleoDefinitionId
- the kaleo definition IDvoid cacheResult(KaleoNode kaleoNode)
kaleoNode
- the kaleo nodevoid cacheResult(java.util.List<KaleoNode> kaleoNodes)
kaleoNodes
- the kaleo nodesKaleoNode create(long kaleoNodeId)
kaleoNodeId
- the primary key for the new kaleo nodeKaleoNode remove(long kaleoNodeId) throws NoSuchNodeException
kaleoNodeId
- the primary key of the kaleo nodeNoSuchNodeException
- if a kaleo node with the primary key could not be foundKaleoNode 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 foundKaleoNode 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 foundjava.util.Map<java.io.Serializable,KaleoNode> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNode>
java.util.List<KaleoNode> findAll()
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)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
)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 cachevoid removeAll()
int countAll()
java.util.Set<java.lang.String> getBadColumnNames()
getBadColumnNames
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNode>