@ProviderType public interface KaleoTransitionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTransition>
Caching information and settings can be found in portal.properties
KaleoTransitionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoTransition kaleoTransition)
Caches the kaleo transition in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoTransition> kaleoTransitions)
Caches the kaleo transitions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo transitions.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo transitions where companyId = ?.
|
int |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.
|
int |
countByKaleoNodeId(long kaleoNodeId)
Returns the number of kaleo transitions where kaleoNodeId = ?.
|
int |
countByKNI_DT(long kaleoNodeId,
boolean defaultTransition)
Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.
|
int |
countByKNI_N(long kaleoNodeId,
java.lang.String name)
Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.
|
KaleoTransition |
create(long kaleoTransitionId)
Creates a new kaleo transition with the primary key.
|
KaleoTransition |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where companyId = ?.
|
KaleoTransition |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where companyId = ?.
|
KaleoTransition |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTransition |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTransition |
fetchByKaleoNodeId_First(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.
|
KaleoTransition |
fetchByKaleoNodeId_Last(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.
|
KaleoTransition |
fetchByKNI_DT(long kaleoNodeId,
boolean defaultTransition)
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returns
null if it could not be found. |
KaleoTransition |
fetchByKNI_DT(long kaleoNodeId,
boolean defaultTransition,
boolean useFinderCache)
Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returns
null if it could not be found, optionally using the finder cache. |
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. |
KaleoTransition |
fetchByKNI_N(long kaleoNodeId,
java.lang.String name,
boolean useFinderCache)
Returns the kaleo transition where kaleoNodeId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
KaleoTransition |
fetchByPrimaryKey(long kaleoTransitionId)
Returns the kaleo transition with the primary key or returns
null if it could not be found. |
java.util.List<KaleoTransition> |
findAll()
Returns all the kaleo transitions.
|
java.util.List<KaleoTransition> |
findAll(int start,
int end)
Returns a range of all the kaleo transitions.
|
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.
|
java.util.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.
|
KaleoTransition |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where companyId = ?.
|
KaleoTransition |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where companyId = ?.
|
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 = ?.
|
java.util.List<KaleoTransition> |
findByCompanyId(long companyId)
Returns all the kaleo transitions where companyId = ?.
|
java.util.List<KaleoTransition> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo transitions where companyId = ?.
|
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 = ?.
|
java.util.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 = ?.
|
KaleoTransition |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoTransition |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.
|
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 = ?.
|
java.util.List<KaleoTransition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoTransition> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo transitions where kaleoDefinitionVersionId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
KaleoTransition |
findByKaleoNodeId_First(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.
|
KaleoTransition |
findByKaleoNodeId_Last(long kaleoNodeId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.
|
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 = ?.
|
java.util.List<KaleoTransition> |
findByKaleoNodeId(long kaleoNodeId)
Returns all the kaleo transitions where kaleoNodeId = ?.
|
java.util.List<KaleoTransition> |
findByKaleoNodeId(long kaleoNodeId,
int start,
int end)
Returns a range of all the kaleo transitions where kaleoNodeId = ?.
|
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 = ?.
|
java.util.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 = ?.
|
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. |
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. |
KaleoTransition |
findByPrimaryKey(long kaleoTransitionId)
Returns the kaleo transition with the primary key or throws a
NoSuchTransitionException if it could not be found. |
KaleoTransition |
remove(long kaleoTransitionId)
Removes the kaleo transition with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo transitions from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo transitions where companyId = ? from the database.
|
void |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.
|
void |
removeByKaleoNodeId(long kaleoNodeId)
Removes all the kaleo transitions where kaleoNodeId = ? from the database.
|
KaleoTransition |
removeByKNI_DT(long kaleoNodeId,
boolean defaultTransition)
Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.
|
KaleoTransition |
removeByKNI_N(long kaleoNodeId,
java.lang.String name)
Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.
|
KaleoTransition |
updateImpl(KaleoTransition kaleoTransition) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoTransition> findByCompanyId(long companyId)
companyId
- the company IDjava.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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
companyId
- the company IDstart
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)java.util.List<KaleoTransition> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)useFinderCache
- whether to use the finder cacheKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition[] 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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.util.List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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)java.util.List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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 (optionally null
)java.util.List<KaleoTransition> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheKaleoTransition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundKaleoTransition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundKaleoTransition findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a matching kaleo transition could not be foundKaleoTransition fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo transition could not be foundKaleoTransition[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoTransitionId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the current kaleo transitionkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchTransitionException
- if a kaleo transition with the primary key could not be foundvoid removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDint countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDjava.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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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)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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)java.util.List<KaleoTransition> findByKaleoNodeId(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)useFinderCache
- whether to use the finder cacheKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition[] 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 foundvoid removeByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDint countByKaleoNodeId(long kaleoNodeId)
kaleoNodeId
- the kaleo node IDKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition fetchByKNI_N(long kaleoNodeId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching kaleo transition could not be foundKaleoTransition removeByKNI_N(long kaleoNodeId, java.lang.String name) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDname
- the nameNoSuchTransitionException
int countByKNI_N(long kaleoNodeId, java.lang.String name)
kaleoNodeId
- the kaleo node IDname
- the nameKaleoTransition 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 foundKaleoTransition 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 foundKaleoTransition fetchByKNI_DT(long kaleoNodeId, boolean defaultTransition, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionuseFinderCache
- whether to use the finder cachenull
if a matching kaleo transition could not be foundKaleoTransition removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionNoSuchTransitionException
int countByKNI_DT(long kaleoNodeId, boolean defaultTransition)
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transitionvoid cacheResult(KaleoTransition kaleoTransition)
kaleoTransition
- the kaleo transitionvoid cacheResult(java.util.List<KaleoTransition> kaleoTransitions)
kaleoTransitions
- the kaleo transitionsKaleoTransition create(long kaleoTransitionId)
kaleoTransitionId
- the primary key for the new kaleo transitionKaleoTransition remove(long kaleoTransitionId) throws NoSuchTransitionException
kaleoTransitionId
- the primary key of the kaleo transitionNoSuchTransitionException
- if a kaleo transition with the primary key could not be foundKaleoTransition updateImpl(KaleoTransition kaleoTransition)
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 foundKaleoTransition 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 foundjava.util.List<KaleoTransition> findAll()
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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
start
- the lower bound of the range of kaleo transitionsend
- the upper bound of the range of kaleo transitions (not inclusive)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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)java.util.List<KaleoTransition> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoTransitionModelImpl
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()