@ProviderType
public class KaleoNotificationRecipientUtil
extends java.lang.Object
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationRecipientPersistenceImpl
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
KaleoNotificationRecipientPersistence
,
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationRecipientPersistenceImpl
Constructor and Description |
---|
KaleoNotificationRecipientUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(KaleoNotificationRecipient kaleoNotificationRecipient)
Caches the kaleo notification recipient in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<KaleoNotificationRecipient> kaleoNotificationRecipients)
Caches the kaleo notification recipients in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(KaleoNotificationRecipient kaleoNotificationRecipient) |
static int |
countAll()
Returns the number of kaleo notification recipients.
|
static int |
countByCompanyId(long companyId)
Returns the number of kaleo notification recipients where companyId = ?.
|
static int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo notification recipients where kaleoDefinitionId = ?.
|
static int |
countByKaleoNotificationId(long kaleoNotificationId)
Returns the number of kaleo notification recipients where kaleoNotificationId = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static KaleoNotificationRecipient |
create(long kaleoNotificationRecipientId)
Creates a new kaleo notification recipient with the primary key.
|
static KaleoNotificationRecipient |
fetchByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where companyId = ?.
|
static KaleoNotificationRecipient |
fetchByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where companyId = ?.
|
static KaleoNotificationRecipient |
fetchByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotificationRecipient |
fetchByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotificationRecipient |
fetchByKaleoNotificationId_First(long kaleoNotificationId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
|
static KaleoNotificationRecipient |
fetchByKaleoNotificationId_Last(long kaleoNotificationId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
|
static KaleoNotificationRecipient |
fetchByPrimaryKey(long kaleoNotificationRecipientId)
Returns the kaleo notification recipient with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,KaleoNotificationRecipient> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static java.util.List<KaleoNotificationRecipient> |
findAll()
Returns all the kaleo notification recipients.
|
static java.util.List<KaleoNotificationRecipient> |
findAll(int start,
int end)
Returns a range of all the kaleo notification recipients.
|
static java.util.List<KaleoNotificationRecipient> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns an ordered range of all the kaleo notification recipients.
|
static java.util.List<KaleoNotificationRecipient> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notification recipients.
|
static KaleoNotificationRecipient |
findByCompanyId_First(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where companyId = ?.
|
static KaleoNotificationRecipient |
findByCompanyId_Last(long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where companyId = ?.
|
static KaleoNotificationRecipient[] |
findByCompanyId_PrevAndNext(long kaleoNotificationRecipientId,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where companyId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId)
Returns all the kaleo notification recipients where companyId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo notification recipients where companyId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns an ordered range of all the kaleo notification recipients where companyId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notification recipients where companyId = ?.
|
static KaleoNotificationRecipient |
findByKaleoDefinitionId_First(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotificationRecipient |
findByKaleoDefinitionId_Last(long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionId = ?.
|
static KaleoNotificationRecipient[] |
findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationRecipientId,
long kaleoDefinitionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo notification recipients where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo notification recipients where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionId = ?.
|
static KaleoNotificationRecipient |
findByKaleoNotificationId_First(long kaleoNotificationId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
|
static KaleoNotificationRecipient |
findByKaleoNotificationId_Last(long kaleoNotificationId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
|
static KaleoNotificationRecipient[] |
findByKaleoNotificationId_PrevAndNext(long kaleoNotificationRecipientId,
long kaleoNotificationId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoNotificationId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId)
Returns all the kaleo notification recipients where kaleoNotificationId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId,
int start,
int end)
Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.
|
static java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the kaleo notification recipients where kaleoNotificationId = ?.
|
static KaleoNotificationRecipient |
findByPrimaryKey(long kaleoNotificationRecipientId)
Returns the kaleo notification recipient with the primary key or throws a
NoSuchNotificationRecipientException if it could not be found. |
static java.util.List<KaleoNotificationRecipient> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<KaleoNotificationRecipient> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<KaleoNotificationRecipient> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) |
static KaleoNotificationRecipientPersistence |
getPersistence() |
static KaleoNotificationRecipient |
remove(long kaleoNotificationRecipientId)
Removes the kaleo notification recipient with the primary key from the database.
|
static void |
removeAll()
Removes all the kaleo notification recipients from the database.
|
static void |
removeByCompanyId(long companyId)
Removes all the kaleo notification recipients where companyId = ? from the database.
|
static void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo notification recipients where kaleoDefinitionId = ? from the database.
|
static void |
removeByKaleoNotificationId(long kaleoNotificationId)
Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.
|
static KaleoNotificationRecipient |
update(KaleoNotificationRecipient kaleoNotificationRecipient) |
static KaleoNotificationRecipient |
update(KaleoNotificationRecipient kaleoNotificationRecipient,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static KaleoNotificationRecipient |
updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(KaleoNotificationRecipient kaleoNotificationRecipient)
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<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<KaleoNotificationRecipient> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static KaleoNotificationRecipient update(KaleoNotificationRecipient kaleoNotificationRecipient)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static KaleoNotificationRecipient update(KaleoNotificationRecipient kaleoNotificationRecipient, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<KaleoNotificationRecipient> findByCompanyId(long companyId)
companyId
- the company IDpublic static java.util.List<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)public static java.util.List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotificationRecipient> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotificationRecipient findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient[] findByCompanyId_PrevAndNext(long kaleoNotificationRecipientId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a kaleo notification recipient 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<KaleoNotificationRecipient> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDpublic static java.util.List<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)public static java.util.List<KaleoNotificationRecipient> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotificationRecipient> findByKaleoDefinitionId(long kaleoDefinitionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotificationRecipient findByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByKaleoDefinitionId_First(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient findByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByKaleoDefinitionId_Last(long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient[] findByKaleoDefinitionId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoDefinitionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientkaleoDefinitionId
- the kaleo definition IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a kaleo notification recipient 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<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDpublic static java.util.List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, 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 KaleoNotificationRecipientModelImpl
. 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.
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)public static java.util.List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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.
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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.
kaleoNotificationId
- the kaleo notification IDstart
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)retrieveFromCache
- whether to retrieve from the finder cachepublic static KaleoNotificationRecipient findByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient findByKaleoNotificationId_Last(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient fetchByKaleoNotificationId_Last(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundpublic static KaleoNotificationRecipient[] findByKaleoNotificationId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientkaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundpublic static void removeByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDpublic static int countByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDpublic static void cacheResult(KaleoNotificationRecipient kaleoNotificationRecipient)
kaleoNotificationRecipient
- the kaleo notification recipientpublic static void cacheResult(java.util.List<KaleoNotificationRecipient> kaleoNotificationRecipients)
kaleoNotificationRecipients
- the kaleo notification recipientspublic static KaleoNotificationRecipient create(long kaleoNotificationRecipientId)
kaleoNotificationRecipientId
- the primary key for the new kaleo notification recipientpublic static KaleoNotificationRecipient remove(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException
kaleoNotificationRecipientId
- the primary key of the kaleo notification recipientNoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundpublic static KaleoNotificationRecipient updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient)
public static KaleoNotificationRecipient findByPrimaryKey(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException
NoSuchNotificationRecipientException
if it could not be found.kaleoNotificationRecipientId
- the primary key of the kaleo notification recipientNoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundpublic static KaleoNotificationRecipient fetchByPrimaryKey(long kaleoNotificationRecipientId)
null
if it could not be found.kaleoNotificationRecipientId
- the primary key of the kaleo notification recipientnull
if a kaleo notification recipient with the primary key could not be foundpublic static java.util.Map<java.io.Serializable,KaleoNotificationRecipient> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
public static java.util.List<KaleoNotificationRecipient> findAll()
public static java.util.List<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)public static java.util.List<KaleoNotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<KaleoNotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> 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 KaleoNotificationRecipientModelImpl
. 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 notification recipientsend
- the upper bound of the range of kaleo notification recipients (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 KaleoNotificationRecipientPersistence getPersistence()