Class NotificationRecipientSettingUtil
com.liferay.notification.service.persistence.impl.NotificationRecipientSettingPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(NotificationRecipientSetting notificationRecipientSetting) Caches the notification recipient setting in the entity cache if it is enabled.static voidcacheResult(List<NotificationRecipientSetting> notificationRecipientSettings) Caches the notification recipient settings in the entity cache if it is enabled.static voidstatic voidclearCache(NotificationRecipientSetting notificationRecipientSetting) static intcountAll()Returns the number of notification recipient settings.static intcountByNotificationRecipientId(long notificationRecipientId) Returns the number of notification recipient settings where notificationRecipientId = ?.static intcountByNRI_N(long notificationRecipientId, String name) Returns the number of notification recipient settings where notificationRecipientId = ? and name = ?.static intcountByUuid(String uuid) Returns the number of notification recipient settings where uuid = ?.static intcountByUuid_C(String uuid, long companyId) Returns the number of notification recipient settings where uuid = ? and companyId = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static NotificationRecipientSettingcreate(long notificationRecipientSettingId) Creates a new notification recipient setting with the primary key.static NotificationRecipientSettingfetchByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.static NotificationRecipientSettingfetchByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.static NotificationRecipientSettingfetchByNRI_N(long notificationRecipientId, String name) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returnsnullif it could not be found.static NotificationRecipientSettingfetchByNRI_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.static NotificationRecipientSettingfetchByPrimaryKey(long notificationRecipientSettingId) Returns the notification recipient setting with the primary key or returnsnullif it could not be found.fetchByPrimaryKeys(Set<Serializable> primaryKeys) static NotificationRecipientSettingfetchByUuid_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 = ?.static NotificationRecipientSettingfetchByUuid_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 = ?.static NotificationRecipientSettingfetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ?.static NotificationRecipientSettingfetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ?.static List<NotificationRecipientSetting> findAll()Returns all the notification recipient settings.static List<NotificationRecipientSetting> findAll(int start, int end) Returns a range of all the notification recipient settings.static 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.static 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.static List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId) Returns all the notification recipient settings where notificationRecipientId = ?.static List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end) Returns a range of all the notification recipient settings where notificationRecipientId = ?.static 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 = ?.static 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 = ?.static NotificationRecipientSettingfindByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.static NotificationRecipientSettingfindByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.static NotificationRecipientSetting[]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 = ?.static NotificationRecipientSettingfindByNRI_N(long notificationRecipientId, String name) Returns the notification recipient setting where notificationRecipientId = ? and name = ? or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.static NotificationRecipientSettingfindByPrimaryKey(long notificationRecipientSettingId) Returns the notification recipient setting with the primary key or throws aNoSuchNotificationRecipientSettingExceptionif it could not be found.static List<NotificationRecipientSetting> findByUuid(String uuid) Returns all the notification recipient settings where uuid = ?.static List<NotificationRecipientSetting> findByUuid(String uuid, int start, int end) Returns a range of all the notification recipient settings where uuid = ?.static 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 = ?.static 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 = ?.static List<NotificationRecipientSetting> findByUuid_C(String uuid, long companyId) Returns all the notification recipient settings where uuid = ? and companyId = ?.static List<NotificationRecipientSetting> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the notification recipient settings where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static NotificationRecipientSettingfindByUuid_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 = ?.static NotificationRecipientSettingfindByUuid_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 = ?.static NotificationRecipientSetting[]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 = ?.static NotificationRecipientSettingfindByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the first notification recipient setting in the ordered set where uuid = ?.static NotificationRecipientSettingfindByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) Returns the last notification recipient setting in the ordered set where uuid = ?.static NotificationRecipientSetting[]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 = ?.static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) static NotificationRecipientSettingremove(long notificationRecipientSettingId) Removes the notification recipient setting with the primary key from the database.static voidRemoves all the notification recipient settings from the database.static voidremoveByNotificationRecipientId(long notificationRecipientId) Removes all the notification recipient settings where notificationRecipientId = ? from the database.static NotificationRecipientSettingremoveByNRI_N(long notificationRecipientId, String name) Removes the notification recipient setting where notificationRecipientId = ? and name = ? from the database.static voidremoveByUuid(String uuid) Removes all the notification recipient settings where uuid = ? from the database.static voidremoveByUuid_C(String uuid, long companyId) Removes all the notification recipient settings where uuid = ? and companyId = ? from the database.static voidsetPersistence(NotificationRecipientSettingPersistence persistence) static NotificationRecipientSettingupdate(NotificationRecipientSetting notificationRecipientSetting) static NotificationRecipientSettingupdate(NotificationRecipientSetting notificationRecipientSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) static NotificationRecipientSettingupdateImpl(NotificationRecipientSetting notificationRecipientSetting)
-
Constructor Details
-
NotificationRecipientSettingUtil
public NotificationRecipientSettingUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,NotificationRecipientSetting> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<NotificationRecipientSetting> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) - See Also:
-
update
public static NotificationRecipientSetting update(NotificationRecipientSetting notificationRecipientSetting) - See Also:
-
update
public static NotificationRecipientSetting update(NotificationRecipientSetting notificationRecipientSetting, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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
public static 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
public static 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
public static 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
-
fetchByUuid_First
public static 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
public static 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
-
fetchByUuid_Last
public static 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
public static 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
-
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
public static List<NotificationRecipientSetting> findByUuid_C(String uuid, long companyId, int start, int end) 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
public static 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
public static 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
public static 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
-
fetchByUuid_C_First
public static 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
public static 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
-
fetchByUuid_C_Last
public static 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
public static 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
-
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
public static List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId) Returns all the notification recipient settings where notificationRecipientId = ?.- Parameters:
notificationRecipientId- the notification recipient ID- Returns:
- the matching notification recipient settings
-
findByNotificationRecipientId
public static 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
public static 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
public static 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
public static 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
-
fetchByNotificationRecipientId_First
public static 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
public static 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
-
fetchByNotificationRecipientId_Last
public static 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
public static 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
-
removeByNotificationRecipientId
public static void removeByNotificationRecipientId(long notificationRecipientId) Removes all the notification recipient settings where notificationRecipientId = ? from the database.- Parameters:
notificationRecipientId- the notification recipient ID
-
countByNotificationRecipientId
public static 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
public static 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
-
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
public static 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
public static 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
public static 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
-
updateImpl
public static NotificationRecipientSetting updateImpl(NotificationRecipientSetting notificationRecipientSetting) -
findByPrimaryKey
public static 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
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the notification recipient settings from the database. -
countAll
public static int countAll()Returns the number of notification recipient settings.- Returns:
- the number of notification recipient settings
-
getPersistence
-
setPersistence
-