@ProviderType public interface NotificationRecipientSettingPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationRecipientSetting>
Caching information and settings can be found in portal.properties
NotificationRecipientSettingUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<NotificationRecipientSetting> notificationRecipientSettings)
Caches the notification recipient settings in the entity cache if it is enabled.
|
void |
cacheResult(NotificationRecipientSetting notificationRecipientSetting)
Caches the notification recipient setting in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of notification recipient settings.
|
int |
countByNotificationRecipientId(long notificationRecipientId)
Returns the number of notification recipient settings where notificationRecipientId = ?.
|
int |
countByNRI_N(long notificationRecipientId,
java.lang.String name)
Returns the number of notification recipient settings where notificationRecipientId = ? and name = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of notification recipient settings where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of notification recipient settings where uuid = ?.
|
NotificationRecipientSetting |
create(long notificationRecipientSettingId)
Creates a new notification recipient setting with the primary key.
|
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 = ?.
|
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 = ?.
|
NotificationRecipientSetting |
fetchByNRI_N(long notificationRecipientId,
java.lang.String name)
Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returns
null if it could not be found. |
NotificationRecipientSetting |
fetchByNRI_N(long notificationRecipientId,
java.lang.String name,
boolean useFinderCache)
Returns the notification recipient setting where notificationRecipientId = ? and name = ? or returns
null if it could not be found, optionally using the finder cache. |
NotificationRecipientSetting |
fetchByPrimaryKey(long notificationRecipientSettingId)
Returns the notification recipient setting with the primary key or returns
null if it could not be found. |
NotificationRecipientSetting |
fetchByUuid_C_First(java.lang.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 = ?.
|
NotificationRecipientSetting |
fetchByUuid_C_Last(java.lang.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 = ?.
|
NotificationRecipientSetting |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the first notification recipient setting in the ordered set where uuid = ?.
|
NotificationRecipientSetting |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the last notification recipient setting in the ordered set where uuid = ?.
|
java.util.List<NotificationRecipientSetting> |
findAll()
Returns all the notification recipient settings.
|
java.util.List<NotificationRecipientSetting> |
findAll(int start,
int end)
Returns a range of all the notification recipient settings.
|
java.util.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.
|
java.util.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.
|
NotificationRecipientSetting |
findByNotificationRecipientId_First(long notificationRecipientId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the first notification recipient setting in the ordered set where notificationRecipientId = ?.
|
NotificationRecipientSetting |
findByNotificationRecipientId_Last(long notificationRecipientId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the last notification recipient setting in the ordered set where notificationRecipientId = ?.
|
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 = ?.
|
java.util.List<NotificationRecipientSetting> |
findByNotificationRecipientId(long notificationRecipientId)
Returns all the notification recipient settings where notificationRecipientId = ?.
|
java.util.List<NotificationRecipientSetting> |
findByNotificationRecipientId(long notificationRecipientId,
int start,
int end)
Returns a range of all the notification recipient settings where notificationRecipientId = ?.
|
java.util.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 = ?.
|
java.util.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 = ?.
|
NotificationRecipientSetting |
findByNRI_N(long notificationRecipientId,
java.lang.String name)
Returns the notification recipient setting where notificationRecipientId = ? and name = ? or throws a
NoSuchNotificationRecipientSettingException if it could not be found. |
NotificationRecipientSetting |
findByPrimaryKey(long notificationRecipientSettingId)
Returns the notification recipient setting with the primary key or throws a
NoSuchNotificationRecipientSettingException if it could not be found. |
NotificationRecipientSetting |
findByUuid_C_First(java.lang.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 = ?.
|
NotificationRecipientSetting |
findByUuid_C_Last(java.lang.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 = ?.
|
NotificationRecipientSetting[] |
findByUuid_C_PrevAndNext(long notificationRecipientSettingId,
java.lang.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 = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the notification recipient settings where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the notification recipient settings where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid_C(java.lang.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 = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid_C(java.lang.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 = ?.
|
NotificationRecipientSetting |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the first notification recipient setting in the ordered set where uuid = ?.
|
NotificationRecipientSetting |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Returns the last notification recipient setting in the ordered set where uuid = ?.
|
NotificationRecipientSetting[] |
findByUuid_PrevAndNext(long notificationRecipientSettingId,
java.lang.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 = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid(java.lang.String uuid)
Returns all the notification recipient settings where uuid = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the notification recipient settings where uuid = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid(java.lang.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 = ?.
|
java.util.List<NotificationRecipientSetting> |
findByUuid(java.lang.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 = ?.
|
NotificationRecipientSetting |
remove(long notificationRecipientSettingId)
Removes the notification recipient setting with the primary key from the database.
|
void |
removeAll()
Removes all the notification recipient settings from the database.
|
void |
removeByNotificationRecipientId(long notificationRecipientId)
Removes all the notification recipient settings where notificationRecipientId = ? from the database.
|
NotificationRecipientSetting |
removeByNRI_N(long notificationRecipientId,
java.lang.String name)
Removes the notification recipient setting where notificationRecipientId = ? and name = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the notification recipient settings where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the notification recipient settings where uuid = ? from the database.
|
NotificationRecipientSetting |
updateImpl(NotificationRecipientSetting notificationRecipientSetting) |
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, setDataSource, unregisterListener, update, update
java.util.List<NotificationRecipientSetting> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<NotificationRecipientSetting> findByUuid(java.lang.String uuid, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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)java.util.List<NotificationRecipientSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)java.util.List<NotificationRecipientSetting> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheNotificationRecipientSetting findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting[] findByUuid_PrevAndNext(long notificationRecipientSettingId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
notificationRecipientSettingId
- the primary key of the current notification recipient settinguuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a notification recipient setting with the primary key could not be foundvoid removeByUuid(java.lang.String uuid)
uuid
- the uuidint countByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<NotificationRecipientSetting> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<NotificationRecipientSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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)java.util.List<NotificationRecipientSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)java.util.List<NotificationRecipientSetting> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheNotificationRecipientSetting findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting[] findByUuid_C_PrevAndNext(long notificationRecipientSettingId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
notificationRecipientSettingId
- the primary key of the current notification recipient settinguuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a notification recipient setting with the primary key could not be foundvoid removeByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDint countByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId)
notificationRecipientId
- the notification recipient IDjava.util.List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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)java.util.List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)java.util.List<NotificationRecipientSetting> findByNotificationRecipientId(long notificationRecipientId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cacheNotificationRecipientSetting findByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
notificationRecipientId
- the notification recipient IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByNotificationRecipientId_First(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
notificationRecipientId
- the notification recipient IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting findByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
notificationRecipientId
- the notification recipient IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByNotificationRecipientId_Last(long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
notificationRecipientId
- the notification recipient IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient setting could not be foundNotificationRecipientSetting[] findByNotificationRecipientId_PrevAndNext(long notificationRecipientSettingId, long notificationRecipientId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator) throws NoSuchNotificationRecipientSettingException
notificationRecipientSettingId
- the primary key of the current notification recipient settingnotificationRecipientId
- the notification recipient IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientSettingException
- if a notification recipient setting with the primary key could not be foundvoid removeByNotificationRecipientId(long notificationRecipientId)
notificationRecipientId
- the notification recipient IDint countByNotificationRecipientId(long notificationRecipientId)
notificationRecipientId
- the notification recipient IDNotificationRecipientSetting findByNRI_N(long notificationRecipientId, java.lang.String name) throws NoSuchNotificationRecipientSettingException
NoSuchNotificationRecipientSettingException
if it could not be found.notificationRecipientId
- the notification recipient IDname
- the nameNoSuchNotificationRecipientSettingException
- if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByNRI_N(long notificationRecipientId, java.lang.String name)
null
if it could not be found. Uses the finder cache.notificationRecipientId
- the notification recipient IDname
- the namenull
if a matching notification recipient setting could not be foundNotificationRecipientSetting fetchByNRI_N(long notificationRecipientId, java.lang.String name, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.notificationRecipientId
- the notification recipient IDname
- the nameuseFinderCache
- whether to use the finder cachenull
if a matching notification recipient setting could not be foundNotificationRecipientSetting removeByNRI_N(long notificationRecipientId, java.lang.String name) throws NoSuchNotificationRecipientSettingException
notificationRecipientId
- the notification recipient IDname
- the nameNoSuchNotificationRecipientSettingException
int countByNRI_N(long notificationRecipientId, java.lang.String name)
notificationRecipientId
- the notification recipient IDname
- the namevoid cacheResult(NotificationRecipientSetting notificationRecipientSetting)
notificationRecipientSetting
- the notification recipient settingvoid cacheResult(java.util.List<NotificationRecipientSetting> notificationRecipientSettings)
notificationRecipientSettings
- the notification recipient settingsNotificationRecipientSetting create(long notificationRecipientSettingId)
notificationRecipientSettingId
- the primary key for the new notification recipient settingNotificationRecipientSetting remove(long notificationRecipientSettingId) throws NoSuchNotificationRecipientSettingException
notificationRecipientSettingId
- the primary key of the notification recipient settingNoSuchNotificationRecipientSettingException
- if a notification recipient setting with the primary key could not be foundNotificationRecipientSetting updateImpl(NotificationRecipientSetting notificationRecipientSetting)
NotificationRecipientSetting findByPrimaryKey(long notificationRecipientSettingId) throws NoSuchNotificationRecipientSettingException
NoSuchNotificationRecipientSettingException
if it could not be found.notificationRecipientSettingId
- the primary key of the notification recipient settingNoSuchNotificationRecipientSettingException
- if a notification recipient setting with the primary key could not be foundNotificationRecipientSetting fetchByPrimaryKey(long notificationRecipientSettingId)
null
if it could not be found.notificationRecipientSettingId
- the primary key of the notification recipient settingnull
if a notification recipient setting with the primary key could not be foundjava.util.List<NotificationRecipientSetting> findAll()
java.util.List<NotificationRecipientSetting> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
start
- the lower bound of the range of notification recipient settingsend
- the upper bound of the range of notification recipient settings (not inclusive)java.util.List<NotificationRecipientSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)java.util.List<NotificationRecipientSetting> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipientSetting> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationRecipientSettingModelImpl
.
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 (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()