@ProviderType public interface KaleoNotificationRecipientPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotificationRecipient>
Caching information and settings can be found in portal.properties
com.liferay.portal.workflow.kaleo.service.persistence.impl.KaleoNotificationRecipientPersistenceImpl
,
KaleoNotificationRecipientUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(KaleoNotificationRecipient kaleoNotificationRecipient)
Caches the kaleo notification recipient in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<KaleoNotificationRecipient> kaleoNotificationRecipients)
Caches the kaleo notification recipients in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of kaleo notification recipients.
|
int |
countByCompanyId(long companyId)
Returns the number of kaleo notification recipients where companyId = ?.
|
int |
countByKaleoDefinitionId(long kaleoDefinitionId)
Returns the number of kaleo notification recipients where kaleoDefinitionId = ?.
|
int |
countByKaleoNotificationId(long kaleoNotificationId)
Returns the number of kaleo notification recipients where kaleoNotificationId = ?.
|
KaleoNotificationRecipient |
create(long kaleoNotificationRecipientId)
Creates a new kaleo notification recipient with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
KaleoNotificationRecipient |
fetchByPrimaryKey(long kaleoNotificationRecipientId)
Returns the kaleo notification recipient with the primary key or returns
null if it could not be found. |
java.util.Map<java.io.Serializable,KaleoNotificationRecipient> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
java.util.List<KaleoNotificationRecipient> |
findAll()
Returns all the kaleo notification recipients.
|
java.util.List<KaleoNotificationRecipient> |
findAll(int start,
int end)
Returns a range of all the kaleo notification recipients.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId)
Returns all the kaleo notification recipients where companyId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByCompanyId(long companyId,
int start,
int end)
Returns a range of all the kaleo notification recipients where companyId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId)
Returns all the kaleo notification recipients where kaleoDefinitionId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionId(long kaleoDefinitionId,
int start,
int end)
Returns a range of all the kaleo notification recipients where kaleoDefinitionId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId)
Returns all the kaleo notification recipients where kaleoNotificationId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoNotificationId(long kaleoNotificationId,
int start,
int end)
Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.
|
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 = ?.
|
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 = ?.
|
KaleoNotificationRecipient |
findByPrimaryKey(long kaleoNotificationRecipientId)
Returns the kaleo notification recipient with the primary key or throws a
NoSuchNotificationRecipientException if it could not be found. |
KaleoNotificationRecipient |
remove(long kaleoNotificationRecipientId)
Removes the kaleo notification recipient with the primary key from the database.
|
void |
removeAll()
Removes all the kaleo notification recipients from the database.
|
void |
removeByCompanyId(long companyId)
Removes all the kaleo notification recipients where companyId = ? from the database.
|
void |
removeByKaleoDefinitionId(long kaleoDefinitionId)
Removes all the kaleo notification recipients where kaleoDefinitionId = ? from the database.
|
void |
removeByKaleoNotificationId(long kaleoNotificationId)
Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.
|
KaleoNotificationRecipient |
updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient) |
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<KaleoNotificationRecipient> findByCompanyId(long companyId)
companyId
- the company IDjava.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)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
)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 cacheKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient[] 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 foundvoid removeByCompanyId(long companyId)
companyId
- the company IDint countByCompanyId(long companyId)
companyId
- the company IDjava.util.List<KaleoNotificationRecipient> findByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.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)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
)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 cacheKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient[] 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 foundvoid removeByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDint countByKaleoDefinitionId(long kaleoDefinitionId)
kaleoDefinitionId
- the kaleo definition IDjava.util.List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDjava.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)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
)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 cacheKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient 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 foundKaleoNotificationRecipient[] 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 foundvoid removeByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDint countByKaleoNotificationId(long kaleoNotificationId)
kaleoNotificationId
- the kaleo notification IDvoid cacheResult(KaleoNotificationRecipient kaleoNotificationRecipient)
kaleoNotificationRecipient
- the kaleo notification recipientvoid cacheResult(java.util.List<KaleoNotificationRecipient> kaleoNotificationRecipients)
kaleoNotificationRecipients
- the kaleo notification recipientsKaleoNotificationRecipient create(long kaleoNotificationRecipientId)
kaleoNotificationRecipientId
- the primary key for the new kaleo notification recipientKaleoNotificationRecipient 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 foundKaleoNotificationRecipient updateImpl(KaleoNotificationRecipient kaleoNotificationRecipient)
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 foundKaleoNotificationRecipient 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 foundjava.util.Map<java.io.Serializable,KaleoNotificationRecipient> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
fetchByPrimaryKeys
in interface com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotificationRecipient>
java.util.List<KaleoNotificationRecipient> findAll()
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)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
)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 cachevoid removeAll()
int countAll()