Interface KaleoNodePersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNode>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNode>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoNode kaleoNode) Caches the kaleo node in the entity cache if it is enabled.void
cacheResult
(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_KDVI
(long companyId, long kaleoDefinitionVersionId) Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.int
countByCompanyId
(long companyId) Returns the number of kaleo nodes where companyId = ?.int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.create
(long kaleoNodeId) Creates a new kaleo node with the primary key.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 = ?.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 = ?.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.fetchByPrimaryKey
(long kaleoNodeId) Returns the kaleo node with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo nodes.findAll
(int start, int end) Returns a range of all the kaleo nodes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns an ordered range of all the kaleo nodes.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo nodes.findByC_KDVI
(long companyId, long kaleoDefinitionVersionId) Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.findByC_KDVI
(long companyId, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.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 = ?.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 = ?.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 = ?.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 = ?.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 = ?.findByCompanyId
(long companyId) Returns all the kaleo nodes where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo nodes where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ?.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 = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.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 = ?.findByPrimaryKey
(long kaleoNodeId) Returns the kaleo node with the primary key or throws aNoSuchNodeException
if it could not be found.remove
(long kaleoNodeId) Removes the kaleo node with the primary key from the database.void
Removes all the kaleo nodes from the database.void
removeByC_KDVI
(long companyId, long kaleoDefinitionVersionId) Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.void
removeByCompanyId
(long companyId) Removes all the kaleo nodes where companyId = ? from the database.void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.updateImpl
(KaleoNode kaleoNode) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCompanyId
Returns all the kaleo nodes where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo nodes
-
findByCompanyId
Returns a range of all the kaleo nodes where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
companyId
- the company IDstart
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)- Returns:
- the range of matching kaleo nodes
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo nodes
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo nodes
-
findByCompanyId_First
KaleoNode findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the first kaleo node in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByCompanyId_First
KaleoNode fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByCompanyId_Last
KaleoNode findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the last kaleo node in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByCompanyId_Last
KaleoNode fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByCompanyId_PrevAndNext
KaleoNode[] findByCompanyId_PrevAndNext(long kaleoNodeId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ?.- Parameters:
kaleoNodeId
- the primary key of the current kaleo nodecompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo node
- Throws:
NoSuchNodeException
- if a kaleo node with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo nodes where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo nodes where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo nodes
-
findByKaleoDefinitionVersionId
Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo nodes
-
findByKaleoDefinitionVersionId
Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo nodes
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo nodes
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo nodes
-
findByKaleoDefinitionVersionId_First
KaleoNode findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoNode fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByKaleoDefinitionVersionId_Last
KaleoNode findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByKaleoDefinitionVersionId_Last
KaleoNode fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
KaleoNode[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoNodeId
- the primary key of the current kaleo nodekaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo node
- Throws:
NoSuchNodeException
- if a kaleo node with the primary key could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo nodes
-
findByC_KDVI
Returns all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo nodes
-
findByC_KDVI
Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo nodes
-
findByC_KDVI
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo nodes
-
findByC_KDVI
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo nodes
-
findByC_KDVI_First
KaleoNode findByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByC_KDVI_First
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 = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByC_KDVI_Last
KaleoNode findByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node
- Throws:
NoSuchNodeException
- if a matching kaleo node could not be found
-
fetchByC_KDVI_Last
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 = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo node, or
null
if a matching kaleo node could not be found
-
findByC_KDVI_PrevAndNext
KaleoNode[] findByC_KDVI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) throws NoSuchNodeException Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.- Parameters:
kaleoNodeId
- the primary key of the current kaleo nodecompanyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo node
- Throws:
NoSuchNodeException
- if a kaleo node with the primary key could not be found
-
removeByC_KDVI
void removeByC_KDVI(long companyId, long kaleoDefinitionVersionId) Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version ID
-
countByC_KDVI
int countByC_KDVI(long companyId, long kaleoDefinitionVersionId) Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.- Parameters:
companyId
- the company IDkaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo nodes
-
cacheResult
Caches the kaleo node in the entity cache if it is enabled.- Parameters:
kaleoNode
- the kaleo node
-
cacheResult
Caches the kaleo nodes in the entity cache if it is enabled.- Parameters:
kaleoNodes
- the kaleo nodes
-
create
Creates a new kaleo node with the primary key. Does not add the kaleo node to the database.- Parameters:
kaleoNodeId
- the primary key for the new kaleo node- Returns:
- the new kaleo node
-
remove
Removes the kaleo node with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoNodeId
- the primary key of the kaleo node- Returns:
- the kaleo node that was removed
- Throws:
NoSuchNodeException
- if a kaleo node with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo node with the primary key or throws aNoSuchNodeException
if it could not be found.- Parameters:
kaleoNodeId
- the primary key of the kaleo node- Returns:
- the kaleo node
- Throws:
NoSuchNodeException
- if a kaleo node with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo node with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoNodeId
- the primary key of the kaleo node- Returns:
- the kaleo node, or
null
if a kaleo node with the primary key could not be found
-
findAll
Returns all the kaleo nodes.- Returns:
- the kaleo nodes
-
findAll
Returns a range of all the kaleo nodes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo nodesend
- the upper bound of the range of kaleo nodes (not inclusive)- Returns:
- the range of kaleo nodes
-
findAll
List<KaleoNode> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns an ordered range of all the kaleo nodes.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of kaleo nodes
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNodeModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo nodes
-
removeAll
void removeAll()Removes all the kaleo nodes from the database. -
countAll
int countAll()Returns the number of kaleo nodes.- Returns:
- the number of kaleo nodes
-