Interface KaleoNotificationRecipientPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<KaleoNotificationRecipient>
,com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence<KaleoNotificationRecipient>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cacheResult
(KaleoNotificationRecipient kaleoNotificationRecipient) Caches the kaleo notification recipient in the entity cache if it is enabled.void
cacheResult
(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 = ?.create
(long kaleoNotificationRecipientId) Creates a new kaleo notification recipient with the primary key.fetchByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.fetchByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where companyId = ?.fetchByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.fetchByKaleoNotificationId_First
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.fetchByKaleoNotificationId_Last
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.fetchByPrimaryKey
(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or returnsnull
if it could not be found.findAll()
Returns all the kaleo notification recipients.findAll
(int start, int end) Returns a range of all the kaleo notification recipients.findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns an ordered range of all the kaleo notification recipients.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.findByCompanyId
(long companyId) Returns all the kaleo notification recipients where companyId = ?.findByCompanyId
(long companyId, int start, int end) Returns a range of all the kaleo notification recipients where companyId = ?.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 = ?.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 = ?.findByCompanyId_First
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where companyId = ?.findByCompanyId_Last
(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where companyId = ?.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 = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId) Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId
(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.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 = ?.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 = ?.findByKaleoDefinitionVersionId_First
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.findByKaleoDefinitionVersionId_Last
(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.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 = ?.findByKaleoNotificationId
(long kaleoNotificationId) Returns all the kaleo notification recipients where kaleoNotificationId = ?.findByKaleoNotificationId
(long kaleoNotificationId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.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 = ?.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 = ?.findByKaleoNotificationId_First
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.findByKaleoNotificationId_Last
(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.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 = ?.findByPrimaryKey
(long kaleoNotificationRecipientId) Returns the kaleo notification recipient with the primary key or throws aNoSuchNotificationRecipientException
if it could not be found.remove
(long kaleoNotificationRecipientId) Removes the kaleo notification recipient with the primary key from the database.void
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.updateImpl
(KaleoNotificationRecipient kaleoNotificationRecipient) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
Methods inherited from interface com.liferay.portal.kernel.service.persistence.change.tracking.CTPersistence
getCTColumnNames, getMappingTableNames, getTableColumnsMap, getTableName, getUniqueIndexColumnNames
-
Method Details
-
findByCompanyId
Returns all the kaleo notification recipients where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the matching kaleo notification recipients
-
findByCompanyId
Returns a range of all the kaleo notification recipients where companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo notification recipients
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo notification recipients
-
findByCompanyId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByCompanyId_First
KaleoNotificationRecipient findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByCompanyId_First
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByCompanyId_Last
KaleoNotificationRecipient findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the last kaleo notification recipient in the ordered set where companyId = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByCompanyId_Last
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 = ?.- Parameters:
companyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByCompanyId_PrevAndNext
KaleoNotificationRecipient[] findByCompanyId_PrevAndNext(long kaleoNotificationRecipientId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where companyId = ?.- Parameters:
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the kaleo notification recipients where companyId = ? from the database.- Parameters:
companyId
- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of kaleo notification recipients where companyId = ?.- Parameters:
companyId
- the company ID- Returns:
- the number of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
Returns all the kaleo notification recipients where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
List<KaleoNotificationRecipient> findByKaleoDefinitionVersionId(long kaleoDefinitionVersionId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoDefinitionVersionId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoDefinitionVersionId_First
KaleoNotificationRecipient findByKaleoDefinitionVersionId_First(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByKaleoDefinitionVersionId_First
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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByKaleoDefinitionVersionId_Last
KaleoNotificationRecipient findByKaleoDefinitionVersionId_Last(long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the last kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByKaleoDefinitionVersionId_Last
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 = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByKaleoDefinitionVersionId_PrevAndNext
KaleoNotificationRecipient[] findByKaleoDefinitionVersionId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoDefinitionVersionId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoDefinitionVersionId = ?.- Parameters:
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientkaleoDefinitionVersionId
- the kaleo definition version IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be found
-
removeByKaleoDefinitionVersionId
void removeByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Removes all the kaleo notification recipients where kaleoDefinitionVersionId = ? from the database.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID
-
countByKaleoDefinitionVersionId
int countByKaleoDefinitionVersionId(long kaleoDefinitionVersionId) Returns the number of kaleo notification recipients where kaleoDefinitionVersionId = ?.- Parameters:
kaleoDefinitionVersionId
- the kaleo definition version ID- Returns:
- the number of matching kaleo notification recipients
-
findByKaleoNotificationId
Returns all the kaleo notification recipients where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId
- the kaleo notification ID- Returns:
- the matching kaleo notification recipients
-
findByKaleoNotificationId
List<KaleoNotificationRecipient> findByKaleoNotificationId(long kaleoNotificationId, int start, int end) Returns a range of all the kaleo notification recipients where kaleoNotificationId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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)- Returns:
- the range of matching kaleo notification recipients
-
findByKaleoNotificationId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoNotificationId
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 = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching kaleo notification recipients
-
findByKaleoNotificationId_First
KaleoNotificationRecipient findByKaleoNotificationId_First(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the first kaleo notification recipient in the ordered set where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByKaleoNotificationId_First
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 = ?.- Parameters:
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByKaleoNotificationId_Last
KaleoNotificationRecipient findByKaleoNotificationId_Last(long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the last kaleo notification recipient in the ordered set where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a matching kaleo notification recipient could not be found
-
fetchByKaleoNotificationId_Last
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 = ?.- Parameters:
kaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching kaleo notification recipient, or
null
if a matching kaleo notification recipient could not be found
-
findByKaleoNotificationId_PrevAndNext
KaleoNotificationRecipient[] findByKaleoNotificationId_PrevAndNext(long kaleoNotificationRecipientId, long kaleoNotificationId, com.liferay.portal.kernel.util.OrderByComparator<KaleoNotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException Returns the kaleo notification recipients before and after the current kaleo notification recipient in the ordered set where kaleoNotificationId = ?.- Parameters:
kaleoNotificationRecipientId
- the primary key of the current kaleo notification recipientkaleoNotificationId
- the kaleo notification IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be found
-
removeByKaleoNotificationId
void removeByKaleoNotificationId(long kaleoNotificationId) Removes all the kaleo notification recipients where kaleoNotificationId = ? from the database.- Parameters:
kaleoNotificationId
- the kaleo notification ID
-
countByKaleoNotificationId
int countByKaleoNotificationId(long kaleoNotificationId) Returns the number of kaleo notification recipients where kaleoNotificationId = ?.- Parameters:
kaleoNotificationId
- the kaleo notification ID- Returns:
- the number of matching kaleo notification recipients
-
cacheResult
Caches the kaleo notification recipient in the entity cache if it is enabled.- Parameters:
kaleoNotificationRecipient
- the kaleo notification recipient
-
cacheResult
Caches the kaleo notification recipients in the entity cache if it is enabled.- Parameters:
kaleoNotificationRecipients
- the kaleo notification recipients
-
create
Creates a new kaleo notification recipient with the primary key. Does not add the kaleo notification recipient to the database.- Parameters:
kaleoNotificationRecipientId
- the primary key for the new kaleo notification recipient- Returns:
- the new kaleo notification recipient
-
remove
KaleoNotificationRecipient remove(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException Removes the kaleo notification recipient with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
kaleoNotificationRecipientId
- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient that was removed
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
KaleoNotificationRecipient findByPrimaryKey(long kaleoNotificationRecipientId) throws NoSuchNotificationRecipientException Returns the kaleo notification recipient with the primary key or throws aNoSuchNotificationRecipientException
if it could not be found.- Parameters:
kaleoNotificationRecipientId
- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient
- Throws:
NoSuchNotificationRecipientException
- if a kaleo notification recipient with the primary key could not be found
-
fetchByPrimaryKey
Returns the kaleo notification recipient with the primary key or returnsnull
if it could not be found.- Parameters:
kaleoNotificationRecipientId
- the primary key of the kaleo notification recipient- Returns:
- the kaleo notification recipient, or
null
if a kaleo notification recipient with the primary key could not be found
-
findAll
List<KaleoNotificationRecipient> findAll()Returns all the kaleo notification recipients.- Returns:
- the kaleo notification recipients
-
findAll
Returns a range of all the kaleo notification recipients.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
start
- the lower bound of the range of kaleo notification recipientsend
- the upper bound of the range of kaleo notification recipients (not inclusive)- Returns:
- the range of kaleo notification recipients
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of kaleo notification recipients
-
findAll
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.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromKaleoNotificationRecipientModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of kaleo notification recipients
-
removeAll
void removeAll()Removes all the kaleo notification recipients from the database. -
countAll
int countAll()Returns the number of kaleo notification recipients.- Returns:
- the number of kaleo notification recipients
-