Class KaleoNodeUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(KaleoNode kaleoNode) Caches the kaleo node in the entity cache if it is enabled.static voidcacheResult(List<KaleoNode> kaleoNodes) Caches the kaleo nodes in the entity cache if it is enabled.static voidstatic voidclearCache(KaleoNode kaleoNode) static intcountAll()Returns the number of kaleo nodes.static intcountByC_KDVI(long companyId, long kaleoDefinitionVersionId) Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.static intcountByCompanyId(long companyId) Returns the number of kaleo nodes where companyId = ?.static intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo nodes where kaleoDefinitionVersionId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoNodecreate(long kaleoNodeId) Creates a new kaleo node with the primary key.static KaleoNodefetchByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.static KaleoNodefetchByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.static KaleoNodefetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ?.static KaleoNodefetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ?.static KaleoNodefetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNodefetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNodefetchByPrimaryKey(long kaleoNodeId) Returns the kaleo node with the primary key or returnsnullif it could not be found.static Map<Serializable,KaleoNode> fetchByPrimaryKeys(Set<Serializable> primaryKeys) 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 = ?.static KaleoNodefindByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.static KaleoNodefindByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.static KaleoNode[]findByC_KDVI_PrevAndNext(long kaleoNodeId, long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the kaleo nodes before and after the current kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.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 = ?.static KaleoNodefindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ?.static KaleoNodefindByCompanyId_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 = ?.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 = ?.static KaleoNodefindByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNodefindByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNode[]findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNodeId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the kaleo nodes before and after the current kaleo node in the ordered set where kaleoDefinitionVersionId = ?.static KaleoNodefindByPrimaryKey(long kaleoNodeId) Returns the kaleo node with the primary key or throws aNoSuchNodeExceptionif it could not be found.findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) static KaleoNodePersistencestatic KaleoNoderemove(long kaleoNodeId) Removes the kaleo node with the primary key from the database.static voidRemoves all the kaleo nodes from the database.static voidremoveByC_KDVI(long companyId, long kaleoDefinitionVersionId) Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.static voidremoveByCompanyId(long companyId) Removes all the kaleo nodes where companyId = ? from the database.static voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.static voidsetPersistence(KaleoNodePersistence persistence) static KaleoNodestatic KaleoNodestatic KaleoNodeupdateImpl(KaleoNode kaleoNode)
-
Constructor Details
-
KaleoNodeUtil
public KaleoNodeUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
BasePersistence.clearCache()
-
clearCache
- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<KaleoNode> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoNode update(KaleoNode kaleoNode, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchNodeException
-
fetchByCompanyId_First
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo node, or
nullif a matching kaleo node could not be found
-
findByCompanyId_Last
public static 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 foundNoSuchNodeException
-
fetchByCompanyId_Last
public 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 = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo node, or
nullif a matching kaleo node could not be found
-
findByCompanyId_PrevAndNext
public static 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 foundNoSuchNodeException
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the kaleo nodes where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static List<KaleoNode> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo nodes where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchNodeException
-
fetchByKaleoDefinitionVersionId_First
public static KaleoNode fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo node, or
nullif a matching kaleo node could not be found
-
findByKaleoDefinitionVersionId_Last
public static 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 foundNoSuchNodeException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoNode fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching kaleo node, or
nullif a matching kaleo node could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static 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 foundNoSuchNodeException
-
removeByKaleoDefinitionVersionId
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo nodes where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static 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
public static List<KaleoNode> findByC_KDVI(long companyId, long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 foundNoSuchNodeException
-
fetchByC_KDVI_First
public static KaleoNode fetchByC_KDVI_First(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.- 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
nullif a matching kaleo node could not be found
-
findByC_KDVI_Last
public static 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 foundNoSuchNodeException
-
fetchByC_KDVI_Last
public static KaleoNode fetchByC_KDVI_Last(long companyId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the last kaleo node in the ordered set where companyId = ? and kaleoDefinitionVersionId = ?.- 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
nullif a matching kaleo node could not be found
-
findByC_KDVI_PrevAndNext
public static 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 foundNoSuchNodeException
-
removeByC_KDVI
public static 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
public static 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 foundNoSuchNodeException
-
updateImpl
-
findByPrimaryKey
Returns the kaleo node with the primary key or throws aNoSuchNodeExceptionif 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 foundNoSuchNodeException
-
fetchByPrimaryKey
Returns the kaleo node with the primary key or returnsnullif it could not be found.- Parameters:
kaleoNodeId- the primary key of the kaleo node- Returns:
- the kaleo node, or
nullif 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris 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
public static void removeAll()Removes all the kaleo nodes from the database. -
countAll
public static int countAll()Returns the number of kaleo nodes.- Returns:
- the number of kaleo nodes
-
getPersistence
-
setPersistence
-