Interface NotificationQueueEntryPersistence
- All Superinterfaces:
com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntry>
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionvoidcacheResult(NotificationQueueEntry notificationQueueEntry) Caches the notification queue entry in the entity cache if it is enabled.voidcacheResult(List<NotificationQueueEntry> notificationQueueEntries) Caches the notification queue entries in the entity cache if it is enabled.intcountAll()Returns the number of notification queue entries.intcountByCompanyId(long companyId) Returns the number of notification queue entries where companyId = ?.intcountByLtSentDate(Date sentDate) Returns the number of notification queue entries where sentDate < ?.intcountByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries where notificationTemplateId = ?.intcountByT_S(String type, int status) Returns the number of notification queue entries where type = ? and status = ?.create(long notificationQueueEntryId) Creates a new notification queue entry with the primary key.fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where companyId = ?.fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where companyId = ?.fetchByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where sentDate < ?.fetchByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where sentDate < ?.fetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.fetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.fetchByPrimaryKey(long notificationQueueEntryId) Returns the notification queue entry with the primary key or returnsnullif it could not be found.fetchByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where type = ? and status = ?.fetchByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where type = ? and status = ?.intfilterCountByCompanyId(long companyId) Returns the number of notification queue entries that the user has permission to view where companyId = ?.intfilterCountByLtSentDate(Date sentDate) Returns the number of notification queue entries that the user has permission to view where sentDate < ?.intfilterCountByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.intfilterCountByT_S(String type, int status) Returns the number of notification queue entries that the user has permission to view where type = ? and status = ?.filterFindByCompanyId(long companyId) Returns all the notification queue entries that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end) Returns a range of all the notification queue entries that the user has permission to view where companyId = ?.filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where companyId = ?.filterFindByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where companyId = ?.filterFindByLtSentDate(Date sentDate) Returns all the notification queue entries that the user has permission to view where sentDate < ?.filterFindByLtSentDate(Date sentDate, int start, int end) Returns a range of all the notification queue entries that the user has permission to view where sentDate < ?.filterFindByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where sentDate < ?.filterFindByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where sentDate < ?.filterFindByNotificationTemplateId(long notificationTemplateId) Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end) Returns a range of all the notification queue entries that the user has permission to view where notificationTemplateId = ?.filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where notificationTemplateId = ?.filterFindByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where notificationTemplateId = ?.filterFindByT_S(String type, int status) Returns all the notification queue entries that the user has permission to view where type = ? and status = ?.filterFindByT_S(String type, int status, int start, int end) Returns a range of all the notification queue entries that the user has permission to view where type = ? and status = ?.filterFindByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where type = ? and status = ?.filterFindByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where type = ? and status = ?.findAll()Returns all the notification queue entries.findAll(int start, int end) Returns a range of all the notification queue entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries.findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries.findByCompanyId(long companyId) Returns all the notification queue entries where companyId = ?.findByCompanyId(long companyId, int start, int end) Returns a range of all the notification queue entries where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where companyId = ?.findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where companyId = ?.findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where companyId = ?.findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where companyId = ?.findByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set where companyId = ?.findByLtSentDate(Date sentDate) Returns all the notification queue entries where sentDate < ?.findByLtSentDate(Date sentDate, int start, int end) Returns a range of all the notification queue entries where sentDate < ?.findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where sentDate < ?.findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where sentDate < ?.findByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where sentDate < ?.findByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where sentDate < ?.findByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set where sentDate < ?.findByNotificationTemplateId(long notificationTemplateId) Returns all the notification queue entries where notificationTemplateId = ?.findByNotificationTemplateId(long notificationTemplateId, int start, int end) Returns a range of all the notification queue entries where notificationTemplateId = ?.findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.findByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.findByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.findByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set where notificationTemplateId = ?.findByPrimaryKey(long notificationQueueEntryId) Returns the notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryExceptionif it could not be found.Returns all the notification queue entries where type = ? and status = ?.Returns a range of all the notification queue entries where type = ? and status = ?.findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where type = ? and status = ?.findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where type = ? and status = ?.findByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where type = ? and status = ?.findByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where type = ? and status = ?.findByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the notification queue entries before and after the current notification queue entry in the ordered set where type = ? and status = ?.remove(long notificationQueueEntryId) Removes the notification queue entry with the primary key from the database.voidRemoves all the notification queue entries from the database.voidremoveByCompanyId(long companyId) Removes all the notification queue entries where companyId = ? from the database.voidremoveByLtSentDate(Date sentDate) Removes all the notification queue entries where sentDate < ? from the database.voidremoveByNotificationTemplateId(long notificationTemplateId) Removes all the notification queue entries where notificationTemplateId = ? from the database.voidremoveByT_S(String type, int status) Removes all the notification queue entries where type = ? and status = ? from the database.updateImpl(NotificationQueueEntry notificationQueueEntry) Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Method Details
-
findByCompanyId
Returns all the notification queue entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching notification queue entries
-
findByCompanyId
Returns a range of all the notification queue entries where 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 fromNotificationQueueEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries
-
findByCompanyId
List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where 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 fromNotificationQueueEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries
-
findByCompanyId
List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where 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 fromNotificationQueueEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (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 queue entries
-
findByCompanyId_First
NotificationQueueEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the first notification queue entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByCompanyId_First
NotificationQueueEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByCompanyId_Last
NotificationQueueEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the last notification queue entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByCompanyId_Last
NotificationQueueEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where companyId = ?.- Parameters:
companyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByCompanyId_PrevAndNext
NotificationQueueEntry[] findByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set where companyId = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
filterFindByCompanyId
Returns all the notification queue entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the matching notification queue entries that the user has permission to view
-
filterFindByCompanyId
Returns a range of all the notification queue entries that the user has permission to view where 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 fromNotificationQueueEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries that the user has permission to view
-
filterFindByCompanyId
List<NotificationQueueEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where 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 fromNotificationQueueEntryModelImpl.- Parameters:
companyId- the company IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries that the user has permission to view
-
filterFindByCompanyId_PrevAndNext
NotificationQueueEntry[] filterFindByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where companyId = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrycompanyId- the company IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
removeByCompanyId
void removeByCompanyId(long companyId) Removes all the notification queue entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
int countByCompanyId(long companyId) Returns the number of notification queue entries where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching notification queue entries
-
filterCountByCompanyId
int filterCountByCompanyId(long companyId) Returns the number of notification queue entries that the user has permission to view where companyId = ?.- Parameters:
companyId- the company ID- Returns:
- the number of matching notification queue entries that the user has permission to view
-
findByNotificationTemplateId
Returns all the notification queue entries where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template ID- Returns:
- the matching notification queue entries
-
findByNotificationTemplateId
List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end) Returns a range of all the notification queue entries where notificationTemplateId = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
notificationTemplateId- the notification template IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries
-
findByNotificationTemplateId
List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
notificationTemplateId- the notification template IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries
-
findByNotificationTemplateId
List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
notificationTemplateId- the notification template IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (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 queue entries
-
findByNotificationTemplateId_First
NotificationQueueEntry findByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByNotificationTemplateId_First
NotificationQueueEntry fetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByNotificationTemplateId_Last
NotificationQueueEntry findByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByNotificationTemplateId_Last
NotificationQueueEntry fetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByNotificationTemplateId_PrevAndNext
NotificationQueueEntry[] findByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set where notificationTemplateId = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrynotificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
filterFindByNotificationTemplateId
Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template ID- Returns:
- the matching notification queue entries that the user has permission to view
-
filterFindByNotificationTemplateId
List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end) Returns a range of all the notification queue entries that the user has permission to view where notificationTemplateId = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
notificationTemplateId- the notification template IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries that the user has permission to view
-
filterFindByNotificationTemplateId
List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where notificationTemplateId = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
notificationTemplateId- the notification template IDstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries that the user has permission to view
-
filterFindByNotificationTemplateId_PrevAndNext
NotificationQueueEntry[] filterFindByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where notificationTemplateId = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrynotificationTemplateId- the notification template IDorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
removeByNotificationTemplateId
void removeByNotificationTemplateId(long notificationTemplateId) Removes all the notification queue entries where notificationTemplateId = ? from the database.- Parameters:
notificationTemplateId- the notification template ID
-
countByNotificationTemplateId
int countByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template ID- Returns:
- the number of matching notification queue entries
-
filterCountByNotificationTemplateId
int filterCountByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template ID- Returns:
- the number of matching notification queue entries that the user has permission to view
-
findByLtSentDate
Returns all the notification queue entries where sentDate < ?.- Parameters:
sentDate- the sent date- Returns:
- the matching notification queue entries
-
findByLtSentDate
Returns a range of all the notification queue entries where sentDate < ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
sentDate- the sent datestart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries
-
findByLtSentDate
List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where sentDate < ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
sentDate- the sent datestart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries
-
findByLtSentDate
List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where sentDate < ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
sentDate- the sent datestart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (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 queue entries
-
findByLtSentDate_First
NotificationQueueEntry findByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the first notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByLtSentDate_First
NotificationQueueEntry fetchByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByLtSentDate_Last
NotificationQueueEntry findByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the last notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByLtSentDate_Last
NotificationQueueEntry fetchByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByLtSentDate_PrevAndNext
NotificationQueueEntry[] findByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set where sentDate < ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrysentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
filterFindByLtSentDate
Returns all the notification queue entries that the user has permission to view where sentDate < ?.- Parameters:
sentDate- the sent date- Returns:
- the matching notification queue entries that the user has permission to view
-
filterFindByLtSentDate
Returns a range of all the notification queue entries that the user has permission to view where sentDate < ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
sentDate- the sent datestart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries that the user has permission to view
-
filterFindByLtSentDate
List<NotificationQueueEntry> filterFindByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where sentDate < ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
sentDate- the sent datestart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries that the user has permission to view
-
filterFindByLtSentDate_PrevAndNext
NotificationQueueEntry[] filterFindByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where sentDate < ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrysentDate- the sent dateorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
removeByLtSentDate
Removes all the notification queue entries where sentDate < ? from the database.- Parameters:
sentDate- the sent date
-
countByLtSentDate
Returns the number of notification queue entries where sentDate < ?.- Parameters:
sentDate- the sent date- Returns:
- the number of matching notification queue entries
-
filterCountByLtSentDate
Returns the number of notification queue entries that the user has permission to view where sentDate < ?.- Parameters:
sentDate- the sent date- Returns:
- the number of matching notification queue entries that the user has permission to view
-
findByT_S
Returns all the notification queue entries where type = ? and status = ?.- Parameters:
type- the typestatus- the status- Returns:
- the matching notification queue entries
-
findByT_S
Returns a range of all the notification queue entries where type = ? and status = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
type- the typestatus- the statusstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries
-
findByT_S
List<NotificationQueueEntry> findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries where type = ? and status = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
type- the typestatus- the statusstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries
-
findByT_S
List<NotificationQueueEntry> findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries where type = ? and status = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
type- the typestatus- the statusstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (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 queue entries
-
findByT_S_First
NotificationQueueEntry findByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the first notification queue entry in the ordered set where type = ? and status = ?.- Parameters:
type- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByT_S_First
NotificationQueueEntry fetchByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where type = ? and status = ?.- Parameters:
type- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the first matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByT_S_Last
NotificationQueueEntry findByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the last notification queue entry in the ordered set where type = ? and status = ?.- Parameters:
type- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a matching notification queue entry could not be found
-
fetchByT_S_Last
NotificationQueueEntry fetchByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where type = ? and status = ?.- Parameters:
type- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the last matching notification queue entry, or
nullif a matching notification queue entry could not be found
-
findByT_S_PrevAndNext
NotificationQueueEntry[] findByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set where type = ? and status = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrytype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
filterFindByT_S
Returns all the notification queue entries that the user has permission to view where type = ? and status = ?.- Parameters:
type- the typestatus- the status- Returns:
- the matching notification queue entries that the user has permission to view
-
filterFindByT_S
Returns a range of all the notification queue entries that the user has permission to view where type = ? and status = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
type- the typestatus- the statusstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of matching notification queue entries that the user has permission to view
-
filterFindByT_S
List<NotificationQueueEntry> filterFindByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries that the user has permissions to view where type = ? and status = ?.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 fromNotificationQueueEntryModelImpl.- Parameters:
type- the typestatus- the statusstart- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of matching notification queue entries that the user has permission to view
-
filterFindByT_S_PrevAndNext
NotificationQueueEntry[] filterFindByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where type = ? and status = ?.- Parameters:
notificationQueueEntryId- the primary key of the current notification queue entrytype- the typestatus- the statusorderByComparator- the comparator to order the set by (optionallynull)- Returns:
- the previous, current, and next notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
removeByT_S
Removes all the notification queue entries where type = ? and status = ? from the database.- Parameters:
type- the typestatus- the status
-
countByT_S
Returns the number of notification queue entries where type = ? and status = ?.- Parameters:
type- the typestatus- the status- Returns:
- the number of matching notification queue entries
-
filterCountByT_S
Returns the number of notification queue entries that the user has permission to view where type = ? and status = ?.- Parameters:
type- the typestatus- the status- Returns:
- the number of matching notification queue entries that the user has permission to view
-
cacheResult
Caches the notification queue entry in the entity cache if it is enabled.- Parameters:
notificationQueueEntry- the notification queue entry
-
cacheResult
Caches the notification queue entries in the entity cache if it is enabled.- Parameters:
notificationQueueEntries- the notification queue entries
-
create
Creates a new notification queue entry with the primary key. Does not add the notification queue entry to the database.- Parameters:
notificationQueueEntryId- the primary key for the new notification queue entry- Returns:
- the new notification queue entry
-
remove
NotificationQueueEntry remove(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException Removes the notification queue entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
notificationQueueEntryId- the primary key of the notification queue entry- Returns:
- the notification queue entry that was removed
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
updateImpl
-
findByPrimaryKey
NotificationQueueEntry findByPrimaryKey(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException Returns the notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryExceptionif it could not be found.- Parameters:
notificationQueueEntryId- the primary key of the notification queue entry- Returns:
- the notification queue entry
- Throws:
NoSuchNotificationQueueEntryException- if a notification queue entry with the primary key could not be found
-
fetchByPrimaryKey
Returns the notification queue entry with the primary key or returnsnullif it could not be found.- Parameters:
notificationQueueEntryId- the primary key of the notification queue entry- Returns:
- the notification queue entry, or
nullif a notification queue entry with the primary key could not be found
-
findAll
List<NotificationQueueEntry> findAll()Returns all the notification queue entries.- Returns:
- the notification queue entries
-
findAll
Returns a range of all the notification queue entries.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 fromNotificationQueueEntryModelImpl.- Parameters:
start- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)- Returns:
- the range of notification queue entries
-
findAll
List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns an ordered range of all the notification queue entries.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 fromNotificationQueueEntryModelImpl.- Parameters:
start- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)- Returns:
- the ordered range of notification queue entries
-
findAll
List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache) Returns an ordered range of all the notification queue entries.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 fromNotificationQueueEntryModelImpl.- Parameters:
start- the lower bound of the range of notification queue entriesend- the upper bound of the range of notification queue entries (not inclusive)orderByComparator- the comparator to order the results by (optionallynull)useFinderCache- whether to use the finder cache- Returns:
- the ordered range of notification queue entries
-
removeAll
void removeAll()Removes all the notification queue entries from the database. -
countAll
int countAll()Returns the number of notification queue entries.- Returns:
- the number of notification queue entries
-