Interface NotificationRecipientSettingPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationRecipientSetting>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(NotificationRecipientSetting notificationRecipientSetting) Caches the notification recipient setting in the entity cache if it is enabled.voidcacheResult(List<NotificationRecipientSetting> notificationRecipientSettings) Caches the notification recipient settings in the entity cache if it is enabled.intcountAll()Returns the number of notification recipient settings.intcountByNotificationRecipientId(long notificationRecipientId) Returns the number of notification recipient settings where notificationRecipientId = ?.intcountByNRI_N(long notificationRecipientId, String name) Returns the number of notification recipient settings where notificationRecipientId = ? and name = ?.intcountByUuid(String uuid) Returns the number of notification recipient settings where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of notification recipient settings where uuid = ? and companyId = ?.create(long notificationRecipientSettingId) Creates a new notification recipient setting with the primary key.fetchByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.fetchByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.fetchByNRI_N(long notificationRecipientId, String name) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returnsnullif it could not be found.fetchByNRI_N(long notificationRecipientId, String name, boolean useFinderCache) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.fetchByPrimaryKey(long notificationRecipientSettingId) Returns the notification recipient setting with the primary key or returnsnullif it could not be found.fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ? and companyId = ?.fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ?.fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ?.findAll()Returns all the notification recipient settings.findAll(int start, int end) Returns a range of all the notification recipient settings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings.findByNotificationRecipientId(long notificationRecipientId) Returns all the notification recipient settings where notificationRecipientId = ?.findByNotificationRecipientId(long notificationRecipientId, int start, int end) Returns a range of all the notification recipient settings where notificationRecipientId = ?.findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where notificationRecipientId = ?.findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where notificationRecipientId = ?.findByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.findByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.findByNotificationRecipientId_PrevAndNext(long notificationRecipientSettingId, long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where notificationRecipientId = ?.findByNRI_N(long notificationRecipientId, String name) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.findByPrimaryKey(long notificationRecipientSettingId) Returns the notification recipient setting with the primary key or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.findByUuid(String uuid) Returns all the notification recipient settings where uuid = ?.findByUuid(String uuid, int start, int end) Returns a range of all the notification recipient settings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where uuid = ?.findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where uuid = ?.findByUuid_C(String uuid, long companyId) Returns all the notification recipient settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the notification recipient settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where uuid = ? and companyId = ?.findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where uuid = ? and companyId = ?.findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ? and companyId = ?.findByUuid_C_PrevAndNext(long notificationRecipientSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where uuid = ? and companyId = ?.findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ?.findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ?.findByUuid_PrevAndNext(long notificationRecipientSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where uuid = ?.remove(long notificationRecipientSettingId) Removes the notification recipient setting with the primary key from the database.voidRemoves all the notification recipient settings from the database.voidremoveByNotificationRecipientId(long notificationRecipientId) Removes all the notification recipient settings where notificationRecipientId = ? from the database.removeByNRI_N(long notificationRecipientId, String name) Removes the notification recipient setting where notificationRecipientId = ? and name = ? from the database.voidremoveByUuid(String uuid) Removes all the notification recipient settings where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the notification recipient settings where uuid = ? and companyId = ? from the database.updateImpl(NotificationRecipientSetting notificationRecipientSetting) 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
-
Method Details
-
findByUuid
Returns all the notification recipient settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the matching notification recipient settings
-
findByUuid
Returns a range of all the notification recipient settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)- Returns:
- the range of matching notification recipient settings
-
findByUuid
List<NotificationRecipientSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification recipient settings
-
findByUuid
List<NotificationRecipientSetting> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where uuid = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification recipient settings
-
findByUuid_First
NotificationRecipientSetting findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the first notification recipient setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByUuid_First
NotificationRecipientSetting fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByUuid_Last
NotificationRecipientSetting findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the last notification recipient setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByUuid_Last
NotificationRecipientSetting fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ?.- Parameters:
uuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByUuid_PrevAndNext
NotificationRecipientSetting[] findByUuid_PrevAndNext(long notificationRecipientSettingId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where uuid = ?.- Parameters:
notificationRecipientSettingId- the primary key of the current notification recipient settinguuid- the uuidorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a notification recipient setting with the primary key could not be found
-
removeByUuid
Removes all the notification recipient settings where uuid = ? from the database.- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of notification recipient settings where uuid = ?.- Parameters:
uuid- the uuid- Returns:
- the number of matching notification recipient settings
-
findByUuid_C
Returns all the notification recipient settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the matching notification recipient settings
-
findByUuid_C
Returns a range of all the notification recipient settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)- Returns:
- the range of matching notification recipient settings
-
findByUuid_C
List<NotificationRecipientSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification recipient settings
-
findByUuid_C
List<NotificationRecipientSetting> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
uuid- the uuidcompanyId- the company IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification recipient settings
-
findByUuid_C_First
NotificationRecipientSetting findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the first notification recipient setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByUuid_C_First
NotificationRecipientSetting fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByUuid_C_Last
NotificationRecipientSetting findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the last notification recipient setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByUuid_C_Last
NotificationRecipientSetting fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByUuid_C_PrevAndNext
NotificationRecipientSetting[] findByUuid_C_PrevAndNext(long notificationRecipientSettingId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where uuid = ? and companyId = ?.- Parameters:
notificationRecipientSettingId- the primary key of the current notification recipient settinguuid- the uuidcompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a notification recipient setting with the primary key could not be found
-
removeByUuid_C
Removes all the notification recipient settings where uuid = ? and companyId = ? from the database.- Parameters:
uuid- the uuidcompanyId- the company ID
-
countByUuid_C
Returns the number of notification recipient settings where uuid = ? and companyId = ?.- Parameters:
uuid- the uuidcompanyId- the company ID- Returns:
- the number of matching notification recipient settings
-
findByNotificationRecipientId
Returns all the notification recipient settings where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient ID- Returns:
- the matching notification recipient settings
-
findByNotificationRecipientId
List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end) Returns a range of all the notification recipient settings where notificationRecipientId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
notificationRecipientId- the notification recipient IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)- Returns:
- the range of matching notification recipient settings
-
findByNotificationRecipientId
List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings where notificationRecipientId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
notificationRecipientId- the notification recipient IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification recipient settings
-
findByNotificationRecipientId
List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings where notificationRecipientId = ?.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
notificationRecipientId- the notification recipient IDstart- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of matching notification recipient settings
-
findByNotificationRecipientId_First
NotificationRecipientSetting findByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByNotificationRecipientId_First
NotificationRecipientSetting fetchByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByNotificationRecipientId_Last
NotificationRecipientSetting findByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByNotificationRecipientId_Last
NotificationRecipientSetting fetchByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
findByNotificationRecipientId_PrevAndNext
NotificationRecipientSetting[] findByNotificationRecipientId_PrevAndNext(long notificationRecipientSettingId, long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException Returns the notification recipient settings before and after the current notification recipient setting in the ordered set where notificationRecipientId = ?.- Parameters:
notificationRecipientSettingId- the primary key of the current notification recipient settingnotificationRecipientId- the notification recipient IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a notification recipient setting with the primary key could not be found
-
removeByNotificationRecipientId
void removeByNotificationRecipientId(long notificationRecipientId) Removes all the notification recipient settings where notificationRecipientId = ? from the database.- Parameters:
notificationRecipientId- the notification recipient ID
-
countByNotificationRecipientId
int countByNotificationRecipientId(long notificationRecipientId) Returns the number of notification recipient settings where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient ID- Returns:
- the number of matching notification recipient settings
-
findByNRI_N
NotificationRecipientSetting findByNRI_N(long notificationRecipientId, String name) throws NoSuchNotificationRecipientSettingException Returns the notification recipient setting where notificationRecipientId = ? and name = ? or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.- Parameters:
notificationRecipientId- the notification recipient IDname- the name- Returns:
- the matching notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a matching notification recipient setting could not be found
-
fetchByNRI_N
Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returnsnullif it could not be found. Uses the finder cache.- Parameters:
notificationRecipientId- the notification recipient IDname- the name- Returns:
- the matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
fetchByNRI_N
NotificationRecipientSetting fetchByNRI_N(long notificationRecipientId, String name, boolean useFinderCache) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returnsnullif it could not be found, optionally using the finder cache.- Parameters:
notificationRecipientId- the notification recipient IDname- the nameuseFinderCache- whether to use the finder cache- Returns:
- the matching notification recipient setting, or
nullif a matching notification recipient setting could not be found
-
removeByNRI_N
NotificationRecipientSetting removeByNRI_N(long notificationRecipientId, String name) throws NoSuchNotificationRecipientSettingException Removes the notification recipient setting where notificationRecipientId = ? and name = ? from the database.- Parameters:
notificationRecipientId- the notification recipient IDname- the name- Returns:
- the notification recipient setting that was removed
- Throws:
NoSuchNotificationRecipientSettingException
-
countByNRI_N
Returns the number of notification recipient settings where notificationRecipientId = ? and name = ?.- Parameters:
notificationRecipientId- the notification recipient IDname- the name- Returns:
- the number of matching notification recipient settings
-
cacheResult
Caches the notification recipient setting in the entity cache if it is enabled.- Parameters:
notificationRecipientSetting- the notification recipient setting
-
cacheResult
Caches the notification recipient settings in the entity cache if it is enabled.- Parameters:
notificationRecipientSettings- the notification recipient settings
-
create
Creates a new notification recipient setting with the primary key. Does not add the notification recipient setting to the database.- Parameters:
notificationRecipientSettingId- the primary key for the new notification recipient setting- Returns:
- the new notification recipient setting
-
remove
NotificationRecipientSetting remove(long notificationRecipientSettingId) throws NoSuchNotificationRecipientSettingException Removes the notification recipient setting with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
notificationRecipientSettingId- the primary key of the notification recipient setting- Returns:
- the notification recipient setting that was removed
- Throws:
NoSuchNotificationRecipientSettingException- if a notification recipient setting with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
NotificationRecipientSetting findByPrimaryKey(long notificationRecipientSettingId) throws NoSuchNotificationRecipientSettingException Returns the notification recipient setting with the primary key or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.- Parameters:
notificationRecipientSettingId- the primary key of the notification recipient setting- Returns:
- the notification recipient setting
- Throws:
NoSuchNotificationRecipientSettingException- if a notification recipient setting with the primary key could not be found
-
fetchByPrimaryKey
Returns the notification recipient setting with the primary key or returnsnullif it could not be found.- Parameters:
notificationRecipientSettingId- the primary key of the notification recipient setting- Returns:
- the notification recipient setting, or
nullif a notification recipient setting with the primary key could not be found
-
findAll
List<NotificationRecipientSetting> findAll()Returns all the notification recipient settings.- Returns:
- the notification recipient settings
-
findAll
Returns a range of all the notification recipient settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
start- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)- Returns:
- the range of notification recipient settings
-
findAll
List<NotificationRecipientSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns an ordered range of all the notification recipient settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
start- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of notification recipient settings
-
findAll
List<NotificationRecipientSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification recipient settings.Useful when paginating results. Returns a maximum of
end - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromNotificationRecipientSettingModelImpl.- Parameters:
start- the lower bound of the range of notification recipient settingsend- the upper bound of the range of notification recipient settings (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of notification recipient settings
-
removeAll
void removeAll()Removes all the notification recipient settings from the database. -
countAll
int countAll()Returns the number of notification recipient settings.- Returns:
- the number of notification recipient settings
-