@ProviderType
public class KaleoTransitionUtil
extends java.lang.Object
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
KaleoTransitionPersistence
,
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoTransitionPersistenceImpl
Constructor and Description |
---|
KaleoTransitionUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoTransition kaleoTransition)
Caches the kaleo transition in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoTransition> kaleoTransitions)
Caches the kaleo transitions in the entity cache if it is enabled.
|
static void |
clearCache() |
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 |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo transitions where kaleoDefinitionId = ?.
|
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,
java.lang.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 |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoDefinitionId = ?.
|
static KaleoTransition |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoDefinitionId = ?.
|
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 returns
null if it could not be found. |
static KaleoTransition |
fetchByKNI_DT(long kaleoNodeId,
boolean defaultTransition,
boolean retrieveFromCache)
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returns
null if it could not be found, optionally using the finder cache. |
static KaleoTransition |
fetchByKNI_N(long kaleoNodeId,
java.lang.String name)
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returns
null if it could not be found. |
static KaleoTransition |
fetchByKNI_N(long kaleoNodeId,
java.lang.String name,
boolean retrieveFromCache)
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returns
null 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 returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoTransition> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoTransition> |
findAll()
Returns all the kaleo transitions.
|
static java.util.List<KaleoTransition> |
findAll(int start,
int end)
Returns a range of all the kaleo transitions.
|
static java.util.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 java.util.List<KaleoTransition> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo transitions.
|
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 java.util.List<KaleoTransition> |
findByCompanyId(long companyId)
Returns all the kaleo transitions where companyId = ?.
|
static java.util.List<KaleoTransition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo transitions where companyId = ?.
|
static java.util.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 java.util.List<KaleoTransition> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo transitions where companyId = ?.
|
static KaleoTransition |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoDefinitionId = ?.
|
static KaleoTransition |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoDefinitionId = ?.
|
static KaleoTransition[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoTransitionId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the kaleo transitions before and after the current kaleo transition in the ordered set where kaleoDefinitionId = ?.
|
static java.util.List<KaleoTransition> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo transitions where kaleoDefinitionId = ?.
|
static java.util.List<KaleoTransition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo transitions where kaleoDefinitionId = ?.
|
static java.util.List<KaleoTransition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns an ordered range of all the kaleo transitions where kaleoDefinitionId = ?.
|
static java.util.List<KaleoTransition> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo transitions where kaleoDefinitionId = ?.
|
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 java.util.List<KaleoTransition> |
findByKaleoNodeId(long kaleoNodeId)
Returns all the kaleo transitions where kaleoNodeId = ?.
|
static java.util.List<KaleoTransition> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end)
Returns a range of all the kaleo transitions where kaleoNodeId = ?.
|
static java.util.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 java.util.List<KaleoTransition> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.
|
static KaleoTransition |
findByKNI_DT(long kaleoNodeId,
boolean defaultTransition)
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws a
NoSuchTransitionException if it could not be found. |
static KaleoTransition |
findByKNI_N(long kaleoNodeId,
java.lang.String name)
Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws a
NoSuchTransitionException if it could not be found. |
static KaleoTransition |
findByPrimaryKey(long kaleoTransitionId)
Returns the kaleo transition with the primary key or throws a
NoSuchTransitionException if it could not be found. |
static java.util.List<KaleoTransition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoTransition> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.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 |
getPersistence() |
static KaleoTransition |
remove(long kaleoTransitionId)
Removes the kaleo transition with the primary key from the database.
|
static void |
removeAll()
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 |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo transitions where kaleoDefinitionId = ? 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,
java.lang.String name)
Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.
|
static KaleoTransition |
update(KaleoTransition kaleoTransition) |
static KaleoTransition |
update(KaleoTransition kaleoTransition,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoTransition |
updateImpl(KaleoTransition kaleoTransition) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoTransition kaleoTransition)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoTransition> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoTransition update(KaleoTransition kaleoTransition)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoTransition update(KaleoTransition kaleoTransition, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoTransition> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTransition> findByCompanyId(long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
companyId
- the company IDstart
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)public static java.util.List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTransition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition[] findByCompanyId_PrevAndNext(long kaleoTransitionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the current kaleo transitioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoTransition> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoTransition> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition IDstart
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)public static java.util.List<KaleoTransition> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)public static java.util.List<KaleoTransition> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
kaleoDefinitionId
- the kaleo definition 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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTransition findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition[] findByKaleoDefinitionId_PrevAndNext(long kaleoTransitionId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the current kaleo transitionkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundpublic static void removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static int countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static java.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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)public static java.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoTransition findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition findByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKaleoNodeId_Last(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundpublic static KaleoTransition[] findByKaleoNodeId_PrevAndNext(long kaleoTransitionId, long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the current kaleo transitionkaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundpublic static void removeByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static int countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDpublic static KaleoTransition findByKNI_N(long kaleoNodeId, java.lang.String name) throws NoSuchTransitionException
NoSuchTransitionException
if it could not be found.kaleoNodeId
- the kaleo node IDname
- the nameNoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKNI_N(long kaleoNodeId, java.lang.String name)
null
if it could not be found. Uses the finder cache.kaleoNodeId
- the kaleo node IDname
- the namenull
if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKNI_N(long kaleoNodeId, java.lang.String name, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDname
- the nameretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching kaleo transition could not be foundpublic static KaleoTransition removeByKNI_N(long kaleoNodeId, java.lang.String name) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDname
- the nameNoSuchTransitionException
public static int countByKNI_N(long kaleoNodeId, java.lang.String name)
kaleoNodeId
- the kaleo node IDname
- the namepublic static KaleoTransition findByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException
NoSuchTransitionException
if it could not be found.kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionNoSuchTransitionException
- if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition)
null
if it could not be found. Uses the finder cache.kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionnull
if a matching kaleo transition could not be foundpublic static KaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition, boolean retrieveFromCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionretrieveFromCache
- whether to retrieve from the finder cachenull
if a matching kaleo transition could not be foundpublic static KaleoTransition removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionNoSuchTransitionException
public static int countByKNI_DT(long kaleoNodeId, boolean defaultTransition)
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionpublic static void cacheResult(KaleoTransition kaleoTransition)
kaleoTransition
- the kaleo transitionpublic static void cacheResult(java.util.List<KaleoTransition> kaleoTransitions)
kaleoTransitions
- the kaleo transitionspublic static KaleoTransition create(long kaleoTransitionId)
kaleoTransitionId
- the primary key for the new kaleo transitionpublic static KaleoTransition remove(long kaleoTransitionId) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the kaleo transitionNoSuchTransitionException
- if a kaleo transition with the primary key could not be foundpublic static KaleoTransition updateImpl(KaleoTransition kaleoTransition)
public static KaleoTransition findByPrimaryKey(long kaleoTransitionId) throws NoSuchTransitionException
NoSuchTransitionException
if it could not be found.kaleoTransitionId
- the primary key of the kaleo transitionNoSuchTransitionException
- if a kaleo transition with the primary key could not be foundpublic static KaleoTransition fetchByPrimaryKey(long kaleoTransitionId)
null
if it could not be found.kaleoTransitionId
- the primary key of the kaleo transitionnull
if a kaleo transition with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,KaleoTransition> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<KaleoTransition> findAll()
public static java.util.List<KaleoTransition> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
start
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)public static java.util.List<KaleoTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)public static java.util.List<KaleoTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent and pagination is required (start
and end
are not QueryUtil#ALL_POS
), then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
. If both orderByComparator
and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
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 (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoTransitionPersistence getPersistence()