Class KaleoTransitionUtil
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTransitionPersistenceImpl 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(KaleoTransition kaleoTransition) static voidcacheResult(List<KaleoTransition> kaleoTransitions) static voidstatic voidclearCache(KaleoTransition kaleoTransition) static intcountByCompanyId(long companyId) Returns the number of kaleo transitions where companyId = ?.static intcountByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.static intcountByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo transitions where kaleoNodeId = ?.static intcountByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.static intcountByKNI_N(long kaleoNodeId, String name) Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTransitioncreate(long kaleoTransitionId) Creates a new kaleo transition with the primary key.static KaleoTransitionfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.static KaleoTransitionfetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTransitionfetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransitionfetchByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnullif it could not be found.static KaleoTransitionfetchByKNI_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.static KaleoTransitionfetchByKNI_N(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnullif it could not be found.static KaleoTransitionfetchByKNI_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.static KaleoTransitionfetchByPrimaryKey(long kaleoTransitionId) Returns the kaleo transition with the primary key or returnsnullif it could not be found.static Map<Serializable, KaleoTransition> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static List<KaleoTransition> findByCompanyId(long companyId) Returns all the kaleo transitions where companyId = ?.static List<KaleoTransition> findByCompanyId(long companyId, int start, int end) Returns a range of all the kaleo transitions where companyId = ?.static 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 = ?.static 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 = ?.static KaleoTransitionfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.static List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.static List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo transitions where kaleoDefinitionVersionId = ?.static 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 = ?.static 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 = ?.static KaleoTransitionfindByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.static List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId) Returns all the kaleo transitions where kaleoNodeId = ?.static List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end) Returns a range of all the kaleo transitions where kaleoNodeId = ?.static 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 = ?.static 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 = ?.static KaleoTransitionfindByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransitionfindByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws aNoSuchTransitionExceptionif it could not be found.static KaleoTransitionfindByKNI_N(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws aNoSuchTransitionExceptionif it could not be found.static KaleoTransitionfindByPrimaryKey(long kaleoTransitionId) Returns the kaleo transition with the primary key or throws aNoSuchTransitionExceptionif it could not be found.static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) static KaleoTransitionPersistencestatic KaleoTransitionremove(long kaleoTransitionId) Removes the kaleo transition with the primary key from the database.static voidremoveByCompanyId(long companyId) Removes all the kaleo transitions where companyId = ? from the database.static voidremoveByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.static voidremoveByKaleoNodeId(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.static KaleoTransitionremoveByKNI_DT(long kaleoNodeId, boolean defaultTransition) Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.static KaleoTransitionremoveByKNI_N(long kaleoNodeId, String name) Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.static voidsetPersistence(KaleoTransitionPersistence persistence) static KaleoTransitionupdate(KaleoTransition kaleoTransition) static KaleoTransitionupdate(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTransitionupdateImpl(KaleoTransition kaleoTransition)
-
Constructor Details
-
KaleoTransitionUtil
public KaleoTransitionUtil()
-
-
Method Details
-
cacheResult
- See Also:
-
cacheResult
- See Also:
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
- See Also:
-
findWithDynamicQuery
public static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static KaleoTransition update(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
findByCompanyId
public static 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
public static 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
-
fetchByCompanyId_First
public static 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
public static void removeByCompanyId(long companyId) Removes all the kaleo transitions where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static 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
public static 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
-
fetchByKaleoDefinitionVersionId_First
public static 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
public static void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
public static 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
public static 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
public static 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
-
fetchByKaleoNodeId_First
public static 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
public static void removeByKaleoNodeId(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.- Parameters:
kaleoNodeId- the kaleo node ID
-
countByKaleoNodeId
public static 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
public static KaleoTransition findByKNI_N(long kaleoNodeId, String name) throws NoSuchTransitionException 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
-
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
public static KaleoTransition removeByKNI_N(long kaleoNodeId, String name) throws NoSuchTransitionException 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
public static 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
-
fetchByKNI_DT
public static KaleoTransition 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.- 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
public static 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
public static 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
-
updateImpl
-
findByPrimaryKey
public static KaleoTransition findByPrimaryKey(long kaleoTransitionId) throws NoSuchTransitionException 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
-
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
public static 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
public static 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
public static 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
public static 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
-
getPersistence
-
setPersistence
-