Interface KaleoTransitionPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoTransition>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoTransition>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoTransition kaleoTransition) Caches the kaleo transition in the entity cache if it is enabled.void
cacheResult
(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, String name) Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.create
(long kaleoTransitionId) Creates a new kaleo transition with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoNodeId_First
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.fetchByKaleoNodeId_Last
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.fetchByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or returnsnull
if it could not be found.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.fetchByKNI_N
(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or returnsnull
if it could not be found.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.fetchByPrimaryKey
(long kaleoTransitionId) Returns the kaleo transition with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo transitions.findAll
(int start, int end) Returns a range of all the kaleo transitions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions.findByCompanyId
(long companyId) Returns all the kaleo transitions where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo transitions where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where companyId = ?.findByCompanyId
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where companyId = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where companyId = ?.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 = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.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 = ?.findByKaleoNodeId
(long kaleoNodeId) Returns all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId
(long kaleoNodeId, int start, int end) Returns a range of all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId
(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId
(long kaleoNodeId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator, boolean useFinderCache) Returns an ordered range of all the kaleo transitions where kaleoNodeId = ?.findByKaleoNodeId_First
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.findByKaleoNodeId_Last
(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the last kaleo transition in the ordered set where kaleoNodeId = ?.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 = ?.findByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws aNoSuchTransitionException
if it could not be found.findByKNI_N
(long kaleoNodeId, String name) Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws aNoSuchTransitionException
if it could not be found.findByPrimaryKey
(long kaleoTransitionId) Returns the kaleo transition with the primary key or throws aNoSuchTransitionException
if it could not be found.remove
(long kaleoTransitionId) Removes the kaleo transition with the primary key from the database.void
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.removeByKNI_DT
(long kaleoNodeId, boolean defaultTransition) Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.removeByKNI_N
(long kaleoNodeId, String name) Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.updateImpl
(KaleoTransition kaleoTransition) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
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
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
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
KaleoTransition findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be found
-
fetchByCompanyId_First
KaleoTransition fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByCompanyId_Last
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 found
-
fetchByCompanyId_Last
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
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 found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo transitions where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo transitions where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo transitions
-
findByKaleoDefinitionVersionId
Returns all the kaleo transitions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo transitions
-
findByKaleoDefinitionVersionId
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
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
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
KaleoTransition findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be found
-
fetchByKaleoDefinitionVersionId_First
KaleoTransition fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByKaleoDefinitionVersionId_Last
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 found
-
fetchByKaleoDefinitionVersionId_Last
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
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 found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo transitions where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo transitions where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo transitions
-
findByKaleoNodeId
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
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
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
KaleoTransition findByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) throws NoSuchTransitionException Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition
- Throws:
NoSuchTransitionException
- if a matching kaleo transition could not be found
-
fetchByKaleoNodeId_First
KaleoTransition fetchByKaleoNodeId_First(long kaleoNodeId, com.liferay.portal.kernel.util.OrderByComparator<KaleoTransition> orderByComparator) Returns the first kaleo transition in the ordered set where kaleoNodeId = ?.- Parameters:
kaleoNodeId
- the kaleo node IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo transition, or
null
if a matching kaleo transition could not be found
-
findByKaleoNodeId_Last
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 found
-
fetchByKaleoNodeId_Last
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
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 found
-
removeByKaleoNodeId
void removeByKaleoNodeId(long kaleoNodeId) Removes all the kaleo transitions where kaleoNodeId = ? from the database.- Parameters:
kaleoNodeId
- the kaleo node ID
-
countByKaleoNodeId
int countByKaleoNodeId(long kaleoNodeId) Returns the number of kaleo transitions where kaleoNodeId = ?.- Parameters:
kaleoNodeId
- the kaleo node ID- Returns:
- the number of matching kaleo transitions
-
findByKNI_N
Returns the kaleo transition where kaleoNodeId = ? and name = ? or throws 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 found
-
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
Removes the kaleo transition where kaleoNodeId = ? and name = ? from the database.- Parameters:
kaleoNodeId
- the kaleo node IDname
- the name- Returns:
- the kaleo transition that was removed
- Throws:
NoSuchTransitionException
-
countByKNI_N
Returns the number of kaleo transitions where kaleoNodeId = ? and name = ?.- Parameters:
kaleoNodeId
- the kaleo node IDname
- the name- Returns:
- the number of matching kaleo transitions
-
findByKNI_DT
KaleoTransition findByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException Returns the kaleo transition where kaleoNodeId = ? and defaultTransition = ? or throws 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 found
-
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
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
KaleoTransition removeByKNI_DT(long kaleoNodeId, boolean defaultTransition) throws NoSuchTransitionException Removes the kaleo transition where kaleoNodeId = ? and defaultTransition = ? from the database.- Parameters:
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transition- Returns:
- the kaleo transition that was removed
- Throws:
NoSuchTransitionException
-
countByKNI_DT
int countByKNI_DT(long kaleoNodeId, boolean defaultTransition) Returns the number of kaleo transitions where kaleoNodeId = ? and defaultTransition = ?.- Parameters:
kaleoNodeId
- the kaleo node IDdefaultTransition
- the default transition- Returns:
- the number of matching kaleo transitions
-
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 found
-
updateImpl
-
findByPrimaryKey
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 found
-
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
List<KaleoTransition> 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
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
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
void removeAll()Removes all the kaleo transitions from the database. -
countAll
int countAll()Returns the number of kaleo transitions.- Returns:
- the number of kaleo transitions
-