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 void
cacheResult
(KaleoTransition kaleoTransition) Caches the kaleo transition in the entity cache if it is enabled.static void
cacheResult
(List<KaleoTransition> kaleoTransitions) Caches the kaleo transitions in the entity cache if it is enabled.static void
static void
clearCache
(KaleoTransition kaleoTransition) static int
countAll()
Returns the number of kaleo transitions.static int
countByCompanyId
(long companyId) Returns the number of kaleo transitions where companyId = ?.static int
countByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.static int
countByKaleoNodeId
(long kaleoNodeId) Returns the number of kaleo transitions where kaleoNodeId = ?.static int
countByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.static int
countByKNI_N
(long kaleoNodeId, String name) Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static KaleoTransition
create
(long kaleoTransitionId) Creates a new kaleo transition with the primary key.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 = ?.static KaleoTransition
fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where companyId = ?.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 = ?.static KaleoTransition
fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.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 = ?.static KaleoTransition
fetchByKaleoNodeId_Last
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransition
fetchByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnull
if it could not be found.static KaleoTransition
fetchByKNI_DT
(long kaleoNodeId, boolean defaultTransition, boolean useFinderCache) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoTransition
fetchByKNI_N
(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnull
if it could not be found.static KaleoTransition
fetchByKNI_N
(long kaleoNodeId, String name, boolean useFinderCache) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnull
if it could not be found, optionally using the finder cache.static KaleoTransition
fetchByPrimaryKey
(long kaleoTransitionId) Returns the kaleo transition with the primary key or returnsnull
if it could not be found.static Map<Serializable,
KaleoTransition> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static List<KaleoTransition>
findAll()
Returns all the kaleo transitions.static List<KaleoTransition>
findAll
(int start, int end) Returns a range of all the kaleo transitions.static List<KaleoTransition>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions.static List<KaleoTransition>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions.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 KaleoTransition
findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.static KaleoTransition
findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where companyId = ?.static KaleoTransition[]
findByCompanyId_PrevAndNext
(long kaleoTransitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the kaleo transitions before and after the current 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 KaleoTransition
findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTransition
findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.static KaleoTransition[]
findByKaleoDefinitionVersionId_PrevAndNext
(long kaleoTransitionId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the kaleo transitions before and after the current 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 KaleoTransition
findByKaleoNodeId_First
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransition
findByKaleoNodeId_Last
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransition[]
findByKaleoNodeId_PrevAndNext
(long kaleoTransitionId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoNodeId = ?.static KaleoTransition
findByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws aNoSuchTransitionException
if it could not be found.static KaleoTransition
findByKNI_N
(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws aNoSuchTransitionException
if it could not be found.static KaleoTransition
findByPrimaryKey
(long kaleoTransitionId) Returns the kaleo transition with the primary key or throws aNoSuchTransitionException
if 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 KaleoTransitionPersistence
static KaleoTransition
remove
(long kaleoTransitionId) Removes the kaleo transition with the primary key from the database.static void
Removes all the kaleo transitions from the database.static void
removeByCompanyId
(long companyId) Removes all the kaleo transitions where companyId = ? from the database.static void
removeByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.static void
removeByKaleoNodeId
(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.static KaleoTransition
removeByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.static KaleoTransition
removeByKNI_N
(long kaleoNodeId, String name) Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.static void
setPersistence
(KaleoTransitionPersistence persistence) static KaleoTransition
update
(KaleoTransition kaleoTransition) static KaleoTransition
update
(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) static KaleoTransition
updateImpl
(KaleoTransition kaleoTransition)
-
Constructor Details
-
KaleoTransitionUtil
public KaleoTransitionUtil()
-
-
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<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
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:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static KaleoTransition update(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
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
null
if a matching kaleo transition could not be found
-
findByCompanyId_Last
public static KaleoTransition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the last kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
fetchByCompanyId_Last
public static KaleoTransition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByCompanyId_PrevAndNext
public static KaleoTransition[] findByCompanyId_PrevAndNext(long kaleoTransitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the kaleo transitions before and after the current kaleo transition in the ordered set where companyId = ?.- Parameters:
kaleoTransitionId
- the primary key of the current kaleo transitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo transition
- Throws:
NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundNoSuchTransitionException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
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
null
if a matching kaleo transition could not be found
-
findByKaleoDefinitionVersionId_Last
public static KaleoTransition findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the last 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 last matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
fetchByKaleoDefinitionVersionId_Last
public static KaleoTransition fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last 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 last matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
public static KaleoTransition[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTransitionId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoTransitionId
- the primary key of the current kaleo transitionkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo transition
- Throws:
NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundNoSuchTransitionException
-
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
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
-
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 - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- 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
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
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
null
if a matching kaleo transition could not be found
-
findByKaleoNodeId_Last
public static KaleoTransition findByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be foundNoSuchTransitionException
-
fetchByKaleoNodeId_Last
public static KaleoTransition fetchByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByKaleoNodeId_PrevAndNext
public static KaleoTransition[] findByKaleoNodeId_PrevAndNext(long kaleoTransitionId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoTransitionId
- the primary key of the current kaleo transitionkaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo transition
- Throws:
NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundNoSuchTransitionException
-
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 aNoSuchTransitionException
if 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 foundNoSuchTransitionException
-
fetchByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
kaleoNodeId
- the kaleo node IDname
- the name- Returns:
- the matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
fetchByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnull
if 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
null
if 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 aNoSuchTransitionException
if 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 foundNoSuchTransitionException
-
fetchByKNI_DT
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnull
if it could not be found. Uses the finder cache.- Parameters:
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transition- Returns:
- the matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
fetchByKNI_DT
public static KaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition, boolean useFinderCache) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnull
if 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
null
if 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
-
cacheResult
Caches the kaleo transition in the entity cache if it is enabled.- Parameters:
kaleoTransition
- the kaleo transition
-
cacheResult
Caches the kaleo transitions in the entity cache if it is enabled.- Parameters:
kaleoTransitions
- the 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 foundNoSuchTransitionException
-
updateImpl
-
findByPrimaryKey
public static KaleoTransition findByPrimaryKey(long kaleoTransitionId) throws NoSuchTransitionException Returns the kaleo transition with the primary key or throws aNoSuchTransitionException
if 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 foundNoSuchTransitionException
-
fetchByPrimaryKey
Returns the kaleo transition with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoTransitionId
- the primary key of the kaleo transition- Returns:
- the kaleo transition, or
null
if a kaleo transition with the primary key could not be found
-
findAll
Returns all the kaleo transitions.- Returns:
- the kaleo transitions
-
findAll
Returns a range of all the kaleo transitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)- Returns:
- the range of kaleo transitions
-
findAll
public static List<KaleoTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- Parameters:
start
- 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 kaleo transitions
-
findAll
public static List<KaleoTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoTransitionModelImpl
.- Parameters:
start
- 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 kaleo transitions
-
removeAll
public static void removeAll()Removes all the kaleo transitions from the database. -
countAll
public static int countAll()Returns the number of kaleo transitions.- Returns:
- the number of kaleo transitions
-
getPersistence
-
setPersistence
-