@ProviderType public interface NotificationRecipientPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationRecipient>
Caching information and settings can be found in portal.properties
NotificationRecipientUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<NotificationRecipient> notificationRecipients)
Caches the notification recipients in the entity cache if it is enabled.
|
void |
cacheResult(NotificationRecipient notificationRecipient)
Caches the notification recipient in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of notification recipients.
|
int |
countByClassPK(long classPK)
Returns the number of notification recipients where classPK = ?.
|
int |
countByUuid_C(java.lang.String uuid,
long companyId)
Returns the number of notification recipients where uuid = ? and companyId = ?.
|
int |
countByUuid(java.lang.String uuid)
Returns the number of notification recipients where uuid = ?.
|
NotificationRecipient |
create(long notificationRecipientId)
Creates a new notification recipient with the primary key.
|
NotificationRecipient |
fetchByClassPK(long classPK)
Returns the notification recipient where classPK = ? or returns
null if it could not be found. |
NotificationRecipient |
fetchByClassPK(long classPK,
boolean useFinderCache)
Returns the notification recipient where classPK = ? or returns
null if it could not be found, optionally using the finder cache. |
NotificationRecipient |
fetchByPrimaryKey(long notificationRecipientId)
Returns the notification recipient with the primary key or returns
null if it could not be found. |
NotificationRecipient |
fetchByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the first notification recipient in the ordered set where uuid = ? and companyId = ?.
|
NotificationRecipient |
fetchByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the last notification recipient in the ordered set where uuid = ? and companyId = ?.
|
NotificationRecipient |
fetchByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the first notification recipient in the ordered set where uuid = ?.
|
NotificationRecipient |
fetchByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the last notification recipient in the ordered set where uuid = ?.
|
java.util.List<NotificationRecipient> |
findAll()
Returns all the notification recipients.
|
java.util.List<NotificationRecipient> |
findAll(int start,
int end)
Returns a range of all the notification recipients.
|
java.util.List<NotificationRecipient> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns an ordered range of all the notification recipients.
|
java.util.List<NotificationRecipient> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the notification recipients.
|
NotificationRecipient |
findByClassPK(long classPK)
Returns the notification recipient where classPK = ? or throws a
NoSuchNotificationRecipientException if it could not be found. |
NotificationRecipient |
findByPrimaryKey(long notificationRecipientId)
Returns the notification recipient with the primary key or throws a
NoSuchNotificationRecipientException if it could not be found. |
NotificationRecipient |
findByUuid_C_First(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the first notification recipient in the ordered set where uuid = ? and companyId = ?.
|
NotificationRecipient |
findByUuid_C_Last(java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the last notification recipient in the ordered set where uuid = ? and companyId = ?.
|
NotificationRecipient[] |
findByUuid_C_PrevAndNext(long notificationRecipientId,
java.lang.String uuid,
long companyId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the notification recipients before and after the current notification recipient in the ordered set where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipient> |
findByUuid_C(java.lang.String uuid,
long companyId)
Returns all the notification recipients where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipient> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end)
Returns a range of all the notification recipients where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipient> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns an ordered range of all the notification recipients where uuid = ? and companyId = ?.
|
java.util.List<NotificationRecipient> |
findByUuid_C(java.lang.String uuid,
long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the notification recipients where uuid = ? and companyId = ?.
|
NotificationRecipient |
findByUuid_First(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the first notification recipient in the ordered set where uuid = ?.
|
NotificationRecipient |
findByUuid_Last(java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the last notification recipient in the ordered set where uuid = ?.
|
NotificationRecipient[] |
findByUuid_PrevAndNext(long notificationRecipientId,
java.lang.String uuid,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns the notification recipients before and after the current notification recipient in the ordered set where uuid = ?.
|
java.util.List<NotificationRecipient> |
findByUuid(java.lang.String uuid)
Returns all the notification recipients where uuid = ?.
|
java.util.List<NotificationRecipient> |
findByUuid(java.lang.String uuid,
int start,
int end)
Returns a range of all the notification recipients where uuid = ?.
|
java.util.List<NotificationRecipient> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
Returns an ordered range of all the notification recipients where uuid = ?.
|
java.util.List<NotificationRecipient> |
findByUuid(java.lang.String uuid,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the notification recipients where uuid = ?.
|
NotificationRecipient |
remove(long notificationRecipientId)
Removes the notification recipient with the primary key from the database.
|
void |
removeAll()
Removes all the notification recipients from the database.
|
NotificationRecipient |
removeByClassPK(long classPK)
Removes the notification recipient where classPK = ? from the database.
|
void |
removeByUuid_C(java.lang.String uuid,
long companyId)
Removes all the notification recipients where uuid = ? and companyId = ? from the database.
|
void |
removeByUuid(java.lang.String uuid)
Removes all the notification recipients where uuid = ? from the database.
|
NotificationRecipient |
updateImpl(NotificationRecipient notificationRecipient) |
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<NotificationRecipient> findByUuid(java.lang.String uuid)
uuid
- the uuidjava.util.List<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)java.util.List<NotificationRecipient> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<NotificationRecipient> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheNotificationRecipient findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching notification recipient could not be foundNotificationRecipient fetchByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient could not be foundNotificationRecipient findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching notification recipient could not be foundNotificationRecipient fetchByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient could not be foundNotificationRecipient[] findByUuid_PrevAndNext(long notificationRecipientId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
notificationRecipientId
- the primary key of the current notification recipientuuid
- the uuidorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a notification recipient 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<NotificationRecipient> findByUuid_C(java.lang.String uuid, long companyId)
uuid
- the uuidcompanyId
- the company IDjava.util.List<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)java.util.List<NotificationRecipient> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<NotificationRecipient> findByUuid_C(java.lang.String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cacheNotificationRecipient findByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching notification recipient could not be foundNotificationRecipient fetchByUuid_C_First(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient could not be foundNotificationRecipient findByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a matching notification recipient could not be foundNotificationRecipient fetchByUuid_C_Last(java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator)
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification recipient could not be foundNotificationRecipient[] findByUuid_C_PrevAndNext(long notificationRecipientId, java.lang.String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> orderByComparator) throws NoSuchNotificationRecipientException
notificationRecipientId
- the primary key of the current notification recipientuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationRecipientException
- if a notification recipient 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 IDNotificationRecipient findByClassPK(long classPK) throws NoSuchNotificationRecipientException
NoSuchNotificationRecipientException
if it could not be found.classPK
- the class pkNoSuchNotificationRecipientException
- if a matching notification recipient could not be foundNotificationRecipient fetchByClassPK(long classPK)
null
if it could not be found. Uses the finder cache.classPK
- the class pknull
if a matching notification recipient could not be foundNotificationRecipient fetchByClassPK(long classPK, boolean useFinderCache)
null
if it could not be found, optionally using the finder cache.classPK
- the class pkuseFinderCache
- whether to use the finder cachenull
if a matching notification recipient could not be foundNotificationRecipient removeByClassPK(long classPK) throws NoSuchNotificationRecipientException
classPK
- the class pkNoSuchNotificationRecipientException
int countByClassPK(long classPK)
classPK
- the class pkvoid cacheResult(NotificationRecipient notificationRecipient)
notificationRecipient
- the notification recipientvoid cacheResult(java.util.List<NotificationRecipient> notificationRecipients)
notificationRecipients
- the notification recipientsNotificationRecipient create(long notificationRecipientId)
notificationRecipientId
- the primary key for the new notification recipientNotificationRecipient remove(long notificationRecipientId) throws NoSuchNotificationRecipientException
notificationRecipientId
- the primary key of the notification recipientNoSuchNotificationRecipientException
- if a notification recipient with the primary key could not be foundNotificationRecipient updateImpl(NotificationRecipient notificationRecipient)
NotificationRecipient findByPrimaryKey(long notificationRecipientId) throws NoSuchNotificationRecipientException
NoSuchNotificationRecipientException
if it could not be found.notificationRecipientId
- the primary key of the notification recipientNoSuchNotificationRecipientException
- if a notification recipient with the primary key could not be foundNotificationRecipient fetchByPrimaryKey(long notificationRecipientId)
null
if it could not be found.notificationRecipientId
- the primary key of the notification recipientnull
if a notification recipient with the primary key could not be foundjava.util.List<NotificationRecipient> findAll()
java.util.List<NotificationRecipient> 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 NotificationRecipientModelImpl
.
start
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)java.util.List<NotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
start
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)java.util.List<NotificationRecipient> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationRecipient> 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 NotificationRecipientModelImpl
.
start
- the lower bound of the range of notification recipientsend
- the upper bound of the range of notification recipients (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachevoid removeAll()
int countAll()