@ProviderType
public class KaleoNotificationUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
KaleoNotificationPersistence
,
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationPersistenceImpl
Constructor and Description |
---|
KaleoNotificationUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoNotification kaleoNotification)
Caches the kaleo notification in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoNotification> kaleoNotifications)
Caches the kaleo notifications in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoNotification kaleoNotification) |
static int |
countAll()
Returns the number of kaleo notifications.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo notifications where companyId = ?.
|
static int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo notifications where kaleoDefinitionId = ?.
|
static int |
countByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static int |
countByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns the number of kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoNotification |
create(long kaleoNotificationId)
Creates a new kaleo notification with the primary key.
|
static KaleoNotification |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where companyId = ?.
|
static KaleoNotification |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where companyId = ?.
|
static KaleoNotification |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotification |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotification |
fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static KaleoNotification |
fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static KaleoNotification |
fetchByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoNotification |
fetchByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoNotification |
fetchByPrimaryKey(long kaleoNotificationId)
Returns the kaleo notification with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoNotification> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoNotification> |
findAll()
Returns all the kaleo notifications.
|
static java.util.List<KaleoNotification> |
findAll(int start,
int end)
Returns a range of all the kaleo notifications.
|
static java.util.List<KaleoNotification> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications.
|
static java.util.List<KaleoNotification> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications.
|
static KaleoNotification |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where companyId = ?.
|
static KaleoNotification |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where companyId = ?.
|
static KaleoNotification[] |
findByCompanyId_PrevAndNext(long kaleoNotificationId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the kaleo notifications before and after the current kaleo notification in the ordered set where companyId = ?.
|
static java.util.List<KaleoNotification> |
findByCompanyId(long companyId)
Returns all the kaleo notifications where companyId = ?.
|
static java.util.List<KaleoNotification> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo notifications where companyId = ?.
|
static java.util.List<KaleoNotification> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications where companyId = ?.
|
static java.util.List<KaleoNotification> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where companyId = ?.
|
static KaleoNotification |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotification |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotification[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo notifications where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotification> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoDefinitionId = ?.
|
static KaleoNotification |
findByKCN_KCPK_ET_First(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static KaleoNotification |
findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static KaleoNotification[] |
findByKCN_KCPK_ET_PrevAndNext(long kaleoNotificationId,
java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ?.
|
static KaleoNotification |
findByKCN_KCPK_First(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the first kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoNotification |
findByKCN_KCPK_Last(java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the last kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoNotification[] |
findByKCN_KCPK_PrevAndNext(long kaleoNotificationId,
java.lang.String kaleoClassName,
long kaleoClassPK,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns the kaleo notifications before and after the current kaleo notification in the ordered set where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Returns all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end)
Returns a range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
static java.util.List<KaleoNotification> |
findByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ?.
|
static KaleoNotification |
findByPrimaryKey(long kaleoNotificationId)
Returns the kaleo notification with the primary key or throws a
NoSuchNotificationException if it could not be found. |
static java.util.List<KaleoNotification> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoNotification> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoNotification> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) |
static KaleoNotificationPersistence |
getPersistence() |
static KaleoNotification |
remove(long kaleoNotificationId)
Removes the kaleo notification with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo notifications from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo notifications where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo notifications where kaleoDefinitionId = ? from the database.
|
static void |
removeByKCN_KCPK_ET(java.lang.String kaleoClassName,
long kaleoClassPK,
java.lang.String executionType)
Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? and executionType = ? from the database.
|
static void |
removeByKCN_KCPK(java.lang.String kaleoClassName,
long kaleoClassPK)
Removes all the kaleo notifications where kaleoClassName = ? and kaleoClassPK = ? from the database.
|
static KaleoNotification |
update(KaleoNotification kaleoNotification) |
static KaleoNotification |
update(KaleoNotification kaleoNotification,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoNotification |
updateImpl(KaleoNotification kaleoNotification) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoNotification kaleoNotification)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoNotification> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoNotification update(KaleoNotification kaleoNotification)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoNotification update(KaleoNotification kaleoNotification, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoNotification> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)public static java.util.List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotification> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotification findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification[] findByCompanyId_PrevAndNext(long kaleoNotificationId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static void removeByCompanyId(long companyId)
companyId
- the company IDpublic static int countByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)public static java.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotification> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotification findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification[] findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static void removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static int countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)public static java.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotification> findByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotification findByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKCN_KCPK_First(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification findByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKCN_KCPK_Last(java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification could not be foundpublic static KaleoNotification[] findByKCN_KCPK_PrevAndNext(long kaleoNotificationId, java.lang.String kaleoClassName, long kaleoClassPK, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static void removeByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static int countByKCN_KCPK(java.lang.String kaleoClassName, long kaleoClassPK)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkpublic static java.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typepublic static java.util.List<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)public static java.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotification> findByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotification findByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKCN_KCPK_ET_First(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 notification could not be foundpublic static KaleoNotification findByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a matching kaleo notification could not be foundpublic static KaleoNotification fetchByKCN_KCPK_ET_Last(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 notification could not be foundpublic static KaleoNotification[] findByKCN_KCPK_ET_PrevAndNext(long kaleoNotificationId, java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> orderByComparator) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the current kaleo notificationkaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typeorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static void removeByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typepublic static int countByKCN_KCPK_ET(java.lang.String kaleoClassName, long kaleoClassPK, java.lang.String executionType)
kaleoClassName
- the kaleo class namekaleoClassPK
- the kaleo class pkexecutionType
- the execution typepublic static void cacheResult(KaleoNotification kaleoNotification)
kaleoNotification
- the kaleo notificationpublic static void cacheResult(java.util.List<KaleoNotification> kaleoNotifications)
kaleoNotifications
- the kaleo notificationspublic static KaleoNotification create(long kaleoNotificationId)
kaleoNotificationId
- the primary key for the new kaleo notificationpublic static KaleoNotification remove(long kaleoNotificationId) throws NoSuchNotificationException
kaleoNotificationId
- the primary key of the kaleo notificationNoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static KaleoNotification updateImpl(KaleoNotification kaleoNotification)
public static KaleoNotification findByPrimaryKey(long kaleoNotificationId) throws NoSuchNotificationException
NoSuchNotificationException
if it could not be found.kaleoNotificationId
- the primary key of the kaleo notificationNoSuchNotificationException
- if a kaleo notification with the primary key could not be foundpublic static KaleoNotification fetchByPrimaryKey(long kaleoNotificationId)
null
if it could not be found.kaleoNotificationId
- the primary key of the kaleo notificationnull
if a kaleo notification with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,KaleoNotification> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<KaleoNotification> findAll()
public static java.util.List<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)public static java.util.List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotification> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotification> 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 KaleoNotificationModelImpl
. 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 notificationsend
- the upper bound of the range of kaleo notifications (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static void removeAll()
public static int countAll()
public static KaleoNotificationPersistence getPersistence()