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 TypeMethodDescriptionintcountByC_KDVI(long companyId, long kaleoDefinitionVersionId) Returns the number of kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ?.intcountByCompanyId(long companyId) Returns the number of kaleo nodes where companyId = ?.intcountByKaleoDefinitionVersionId(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 = ?.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNode> orderByComparator) Returns the first 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 = ?.fetchByPrimaryKey(long kaleoNodeId) Returns the kaleo node with the primary key or returnsnullif it could not be found.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 = ?.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 = ?.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 = ?.findByPrimaryKey(long kaleoNodeId) Returns the kaleo node with the primary key or throws aNoSuchNodeExceptionif it could not be found.remove(long kaleoNodeId) Removes the kaleo node with the primary key from the database.voidremoveByC_KDVI(long companyId, long kaleoDefinitionVersionId) Removes all the kaleo nodes where companyId = ? and kaleoDefinitionVersionId = ? from the database.voidremoveByCompanyId(long companyId) Removes all the kaleo nodes where companyId = ? from the database.voidremoveByKaleoDefinitionVersionId(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
cacheResult, cacheResult, clearCache, clearCache, clearCache, clearCache, closeSession, countAll, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQuery, dslQueryCount, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findAll, findAll, findAll, findAll, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, reassociateIfAbsent, registerListener, remove, remove, removeAll, removeByFunction, setDataSource, unregisterListener, update, updateMethods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
nullif a matching kaleo node 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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
nullif a matching kaleo node 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
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
nullif a matching kaleo node 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
-
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 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 found
-
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
-
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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
-
findByKaleoDefinitionVersionId
Returns all the kaleo nodes where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo nodes
-
findByKaleoDefinitionVersionId
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
-
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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
default 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 bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#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 fromcom.liferay.portal.workflow.kaleo.model.impl.KaleoNodeModelImpl.- 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
-