@ProviderType public interface KaleoNotificationRecipientPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotificationRecipient>
Caching information and settings can be found in portal.properties
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 |
countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.
|
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 |
fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoNotificationRecipient |
fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
|
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.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 useFinderCache)
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 useFinderCache)
Returns an ordered range of all the kaleo notification recipients where companyId = ?.
|
KaleoNotificationRecipient |
findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoNotificationRecipient |
findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.
|
KaleoNotificationRecipient[] |
findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNotificationRecipientId,
long kaleoDefinitionVersionId,
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 kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end)
Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.
|
java.util.List<KaleoNotificationRecipient> |
findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.
|
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 useFinderCache)
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 |
removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? 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, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, 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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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 useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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
)useFinderCache
- whether to use 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> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDjava.util.List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version 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> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, 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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version 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> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator, boolean useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
kaleoDefinitionVersionId
- the kaleo definition version 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
)useFinderCache
- whether to use the finder cacheKaleoNotificationRecipient findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundKaleoNotificationRecipient fetchByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundKaleoNotificationRecipient findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be foundKaleoNotificationRecipient fetchByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator)
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching kaleo notification recipient could not be foundKaleoNotificationRecipient[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be foundvoid removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version IDint countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId)
kaleoDefinitionVersionId
- the kaleo definition version 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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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 useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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
)useFinderCache
- whether to use 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.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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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 useFinderCache)
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, then the query will include the default ORDER BY logic from KaleoNotificationRecipientModelImpl
.
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
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()