@ProviderType public interface KaleoActionPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoAction>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoActionPersistenceImpl
,
KaleoActionUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoAction kaleoAction)
Caches the kaleo action in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoAction> kaleoActions)
Caches the kaleo actions in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo actions.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo actions where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo actions where kaleoDefinitionId = ?.
|
int |
countByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
int |
countByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns the number of kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction |
create(long kaleoActionId)
Creates a new kaleo action with the primary key.
|
KaleoAction |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where companyId = ?.
|
KaleoAction |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where companyId = ?.
|
KaleoAction |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoDefinitionId = ?.
|
KaleoAction |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoDefinitionId = ?.
|
KaleoAction |
fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoAction |
fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoAction |
fetchByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction |
fetchByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction |
fetchByPrimaryKey(long kaleoActionId)
Returns the kaleo action with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoAction> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoAction> |
findAll()
Returns all the kaleo actions.
|
java.util.List<KaleoAction> |
findAll(int start,
int end)
Returns a range of all the kaleo actions.
|
java.util.List<KaleoAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns an ordered range of all the kaleo actions.
|
java.util.List<KaleoAction> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo actions.
|
KaleoAction |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where companyId = ?.
|
KaleoAction |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where companyId = ?.
|
KaleoAction[] |
findByCompanyId_PrevAndNext(long kaleoActionId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the kaleo actions before and after the current kaleo action in the ordered set where companyId = ?.
|
java.util.List<KaleoAction> |
findByCompanyId(long companyId)
Returns all the kaleo actions where companyId = ?.
|
java.util.List<KaleoAction> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo actions where companyId = ?.
|
java.util.List<KaleoAction> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns an ordered range of all the kaleo actions where companyId = ?.
|
java.util.List<KaleoAction> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo actions where companyId = ?.
|
KaleoAction |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoDefinitionId = ?.
|
KaleoAction |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoDefinitionId = ?.
|
KaleoAction[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoActionId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the kaleo actions before and after the current kaleo action in the ordered set where kaleoDefinitionId = ?.
|
java.util.List<KaleoAction> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo actions where kaleoDefinitionId = ?.
|
java.util.List<KaleoAction> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo actions where kaleoDefinitionId = ?.
|
java.util.List<KaleoAction> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns an ordered range of all the kaleo actions where kaleoDefinitionId = ?.
|
java.util.List<KaleoAction> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo actions where kaleoDefinitionId = ?.
|
KaleoAction |
findByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoAction |
findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoAction[] |
findByKCN_KCPK_ET_PrevAndNext(long kaleoActionId,
java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the kaleo actions before and after the current kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end)
Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
KaleoAction |
findByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the first kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction |
findByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the last kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction[] |
findByKCN_KCPK_PrevAndNext(long kaleoActionId,
java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns the kaleo actions before and after the current kaleo action in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end)
Returns a range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
|
java.util.List<KaleoAction> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ?.
|
KaleoAction |
findByPrimaryKey(long kaleoActionId)
Returns the kaleo action with the primary key or throws a
NoSuchActionException if it could not be found. |
KaleoAction |
remove(long kaleoActionId)
Removes the kaleo action with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo actions from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo actions where companyId = ? from the database.
|
void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo actions where kaleoDefinitionId = ? from the database.
|
void |
removeByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.
|
void |
removeByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Removes all the kaleo actions where kaleoClassName = ? and kaleoClassPK = ? from the database.
|
KaleoAction |
updateImpl(KaleoAction kaleoAction) |
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<KaleoAction> findByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)java.util.List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KaleoAction> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoAction findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction[] findByCompanyId_PrevAndNext(long kaleoActionId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoActionId
- the primary key of the current kaleo actioncompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a kaleo action with the primary key could not be foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoAction> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)java.util.List<KaleoAction> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KaleoAction> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoAction findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction[] findByKaleoDefinitionId_PrevAndNext(long kaleoActionId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoActionId
- the primary key of the current kaleo actionkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a kaleo action with the primary key could not be foundvoid removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoAction> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkjava.util.List<KaleoAction> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)java.util.List<KaleoAction> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KaleoAction> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkstart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoAction findByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction findByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction[] findByKCN_KCPK_PrevAndNext(long kaleoActionId, java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoActionId
- the primary key of the current kaleo actionkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a kaleo action with the primary key could not be foundvoid removeByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkint countByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkjava.util.List<KaleoAction> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typejava.util.List<KaleoAction> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)java.util.List<KaleoAction> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KaleoAction> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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.
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typestart
- the lower bound of the range of kaleo actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cacheKaleoAction findByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a matching kaleo action could not be foundKaleoAction fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo action could not be foundKaleoAction[] findByKCN_KCPK_ET_PrevAndNext(long kaleoActionId, java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> orderByComparator) throws NoSuchActionException
kaleoActionId
- the primary key of the current kaleo actionkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchActionException
- if a kaleo action with the primary key could not be foundvoid removeByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeint countByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typevoid cacheResult(KaleoAction kaleoAction)
kaleoAction
- the kaleo actionvoid cacheResult(java.util.List<KaleoAction> kaleoActions)
kaleoActions
- the kaleo actionsKaleoAction create(long kaleoActionId)
kaleoActionId
- the primary key for the new kaleo actionKaleoAction remove(long kaleoActionId) throws NoSuchActionException
kaleoActionId
- the primary key of the kaleo actionNoSuchActionException
- if a kaleo action with the primary key could not be foundKaleoAction updateImpl(KaleoAction kaleoAction)
KaleoAction findByPrimaryKey(long kaleoActionId) throws NoSuchActionException
NoSuchActionException
if it could not be found.kaleoActionId
- the primary key of the kaleo actionNoSuchActionException
- if a kaleo action with the primary key could not be foundKaleoAction fetchByPrimaryKey(long kaleoActionId)
null
if it could not be found.kaleoActionId
- the primary key of the kaleo actionnull
if a kaleo action with the primary key could not be foundjava.util.Map<java.io.Serializable,KaleoAction> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoAction>
java.util.List<KaleoAction> findAll()
java.util.List<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)java.util.List<KaleoAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<KaleoAction> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoAction> 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 KaleoActionModelImpl
. 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 actionsend
- the upper bound of the range of kaleo actions (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachevoid removeAll()
int countAll()