Interface KaleoTransitionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTransition>,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTransition>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionintcountByCompanyId(long companyId) Returns the number of kaleo transitions where companyId = ?.intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.intcountByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo transitions where kaleoNodeId = ?.intcountByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.intcountByKNI_N(long kaleoNodeId, String name) Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.create(long kaleoTransitionId) Creates a new kaleo transition with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.default KaleoTransitionfetchByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnullif it could not be found.fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition, boolean useFinderCache) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnullif it could not be found, optionally using the finder cache.default KaleoTransitionfetchByKNI_N(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnullif it could not be found.fetchByKNI_N(long kaleoNodeId, String name, boolean useFinderCache) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long kaleoTransitionId) Returns the kaleo transition with the primary key or returnsnullif it could not be found.default List<KaleoTransition> findByCompanyId(long companyId) Returns all the kaleo transitions where companyId = ?.default List<KaleoTransition> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo transitions where companyId = ?.default List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.default List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.default List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo transitions where kaleoDefinitionVersionId = ?.default List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.default List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId) Returns all the kaleo transitions where kaleoNodeId = ?.default List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end) Returns a range of all the kaleo transitions where kaleoNodeId = ?.default List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.findByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws aNoSuchTransitionExceptionif it could not be found.findByKNI_N(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws aNoSuchTransitionExceptionif it could not be found.findByPrimaryKey(long kaleoTransitionId) Returns the kaleo transition with the primary key or throws aNoSuchTransitionExceptionif it could not be found.remove(long kaleoTransitionId) Removes the kaleo transition with the primary key from the database.voidremoveByCompanyId(long companyId) Removes all the kaleo transitions where companyId = ? from the database.voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.voidremoveByKaleoNodeId(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.removeByKNI_N(long kaleoNodeId, String name) Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.updateImpl(KaleoTransition kaleoTransition) 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<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (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 transitions
-
findByCompanyId_First
KaleoTransition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo transition
- Throws:
NoSuchTransitionException- if a matching kaleo transition could not be found
-
fetchByCompanyId_First
KaleoTransition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo transitions where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo transitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching kaleo transitions
-
findByKaleoDefinitionVersionId
List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (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 transitions
-
findByKaleoDefinitionVersionId_First
KaleoTransition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition 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 transition
- Throws:
NoSuchTransitionException- if a matching kaleo transition could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoTransition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition 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 transition, or
nullif a matching kaleo transition could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the number of matching kaleo transitions
-
findByKaleoNodeId
List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.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.KaleoTransitionModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (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 transitions
-
findByKaleoNodeId_First
KaleoTransition findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId- the kaleo node IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo transition
- Throws:
NoSuchTransitionException- if a matching kaleo transition could not be found
-
fetchByKaleoNodeId_First
KaleoTransition fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId- the kaleo node IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
removeByKaleoNodeId
void removeByKaleoNodeId(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.- Parameters:
kaleoNodeId- the kaleo node ID
-
countByKaleoNodeId
int countByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo transitions where kaleoNodeId = ?.- Parameters:
kaleoNodeId- the kaleo node ID- Returns:
- the number of matching kaleo transitions
-
findByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws aNoSuchTransitionExceptionif it could not be found.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the matching kaleo transition
- Throws:
NoSuchTransitionException- if a matching kaleo transition could not be found
-
fetchByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
removeByKNI_N
Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the kaleo transition that was removed
- Throws:
NoSuchTransitionException
-
countByKNI_N
Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the number of matching kaleo transitions
-
findByKNI_DT
KaleoTransition findByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws aNoSuchTransitionExceptionif it could not be found.- Parameters:
kaleoNodeId- the kaleo node IDdefaultTransition- the default transition- Returns:
- the matching kaleo transition
- Throws:
NoSuchTransitionException- if a matching kaleo transition could not be found
-
fetchByKNI_DT
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDdefaultTransition- the default transitionuseFinderCache- whether to use the finder cache- Returns:
- the matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
removeByKNI_DT
KaleoTransition removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.- Parameters:
kaleoNodeId- the kaleo node IDdefaultTransition- the default transition- Returns:
- the kaleo transition that was removed
- Throws:
NoSuchTransitionException
-
countByKNI_DT
int countByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.- Parameters:
kaleoNodeId- the kaleo node IDdefaultTransition- the default transition- Returns:
- the number of matching kaleo transitions
-
create
Creates a new kaleo transition with the primary key. Does not add the kaleo transition to the database.- Parameters:
kaleoTransitionId- the primary key for the new kaleo transition- Returns:
- the new kaleo transition
-
remove
Removes the kaleo transition with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoTransitionId- the primary key of the kaleo transition- Returns:
- the kaleo transition that was removed
- Throws:
NoSuchTransitionException- if a kaleo transition with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
Returns the kaleo transition with the primary key or throws aNoSuchTransitionExceptionif it could not be found.- Parameters:
kaleoTransitionId- the primary key of the kaleo transition- Returns:
- the kaleo transition
- Throws:
NoSuchTransitionException- if a kaleo transition with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo transition with the primary key or returnsnullif it could not be found.- Parameters:
kaleoTransitionId- the primary key of the kaleo transition- Returns:
- the kaleo transition, or
nullif a kaleo transition with the primary key could not be found
-
fetchByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDname- the name- Returns:
- the matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
fetchByKNI_DT
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
kaleoNodeId- the kaleo node IDdefaultTransition- the default transition- Returns:
- the matching kaleo transition, or
nullif a matching kaleo transition could not be found
-
findByCompanyId
Returns all the kaleo transitions where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching kaleo transitions
-
findByCompanyId
Returns a range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)- Returns:
- the range of matching kaleo transitions
-
findByCompanyId
default List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo transitions
-
findByKaleoDefinitionVersionId
Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID- Returns:
- the matching kaleo transitions
-
findByKaleoDefinitionVersionId
default List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)- Returns:
- the range of matching kaleo transitions
-
findByKaleoDefinitionVersionId
default List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions 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.KaleoTransitionModelImpl.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo transitions
-
findByKaleoNodeId
Returns all the kaleo transitions where kaleoNodeId = ?.- Parameters:
kaleoNodeId- the kaleo node ID- Returns:
- the matching kaleo transitions
-
findByKaleoNodeId
Returns a range of all the kaleo transitions where kaleoNodeId = ?.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.KaleoTransitionModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)- Returns:
- the range of matching kaleo transitions
-
findByKaleoNodeId
default List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.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.KaleoTransitionModelImpl.- Parameters:
kaleoNodeId- the kaleo node IDstart- the lower bound of the range of kaleo transitionsend- the upper bound of the range of kaleo transitions (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching kaleo transitions
-