Class NotificationQueueEntryUtil
com.liferay.notification.service.persistence.impl.NotificationQueueEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcacheResult(NotificationQueueEntry notificationQueueEntry) Caches the notification queue entry in the entity cache if it is enabled.static voidcacheResult(List<NotificationQueueEntry> notificationQueueEntries) Caches the notification queue entries in the entity cache if it is enabled.static voidstatic voidclearCache(NotificationQueueEntry notificationQueueEntry) static intcountAll()Returns the number of notification queue entries.static intcountByCompanyId(long companyId) Returns the number of notification queue entries where companyId = ?.static intcountByLtSentDate(Date sentDate) Returns the number of notification queue entries where sentDate < ?.static intcountByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries where notificationTemplateId = ?.static intcountByT_S(String type, int status) Returns the number of notification queue entries where type = ? and status = ?.static longcountWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static NotificationQueueEntrycreate(long notificationQueueEntryId) Creates a new notification queue entry with the primary key.static NotificationQueueEntryfetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where companyId = ?.static NotificationQueueEntryfetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where companyId = ?.static NotificationQueueEntryfetchByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where sentDate < ?.static NotificationQueueEntryfetchByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where sentDate < ?.static NotificationQueueEntryfetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.static NotificationQueueEntryfetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.static NotificationQueueEntryfetchByPrimaryKey(long notificationQueueEntryId) Returns the notification queue entry with the primary key or returnsnullif it could not be found.static Map<Serializable, NotificationQueueEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) static NotificationQueueEntryfetchByT_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 = ?.static NotificationQueueEntryfetchByT_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 = ?.static intfilterCountByCompanyId(long companyId) Returns the number of notification queue entries that the user has permission to view where companyId = ?.static intfilterCountByLtSentDate(Date sentDate) Returns the number of notification queue entries that the user has permission to view where sentDate < ?.static intfilterCountByNotificationTemplateId(long notificationTemplateId) Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.static intfilterCountByT_S(String type, int status) Returns the number of notification queue entries that the user has permission to view where type = ? and status = ?.static List<NotificationQueueEntry> filterFindByCompanyId(long companyId) Returns all the notification queue entries that the user has permission to view where companyId = ?.static List<NotificationQueueEntry> 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 = ?.static 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 = ?.static NotificationQueueEntry[]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 = ?.static List<NotificationQueueEntry> filterFindByLtSentDate(Date sentDate) Returns all the notification queue entries that the user has permission to view where sentDate < ?.static List<NotificationQueueEntry> 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 < ?.static 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 < ?.static NotificationQueueEntry[]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 < ?.static List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId) Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.static 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 = ?.static 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 = ?.static NotificationQueueEntry[]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 = ?.static List<NotificationQueueEntry> filterFindByT_S(String type, int status) Returns all the notification queue entries that the user has permission to view where type = ? and status = ?.static List<NotificationQueueEntry> 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 = ?.static 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 = ?.static NotificationQueueEntry[]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 = ?.static List<NotificationQueueEntry> findAll()Returns all the notification queue entries.static List<NotificationQueueEntry> findAll(int start, int end) Returns a range of all the notification queue entries.static 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.static 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.static List<NotificationQueueEntry> findByCompanyId(long companyId) Returns all the notification queue entries where companyId = ?.static List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end) Returns a range of all the notification queue entries where companyId = ?.static 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 = ?.static 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 = ?.static NotificationQueueEntryfindByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where companyId = ?.static NotificationQueueEntryfindByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where companyId = ?.static NotificationQueueEntry[]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 = ?.static List<NotificationQueueEntry> findByLtSentDate(Date sentDate) Returns all the notification queue entries where sentDate < ?.static List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end) Returns a range of all the notification queue entries where sentDate < ?.static 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 < ?.static 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 < ?.static NotificationQueueEntryfindByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where sentDate < ?.static NotificationQueueEntryfindByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where sentDate < ?.static NotificationQueueEntry[]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 < ?.static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId) Returns all the notification queue entries where notificationTemplateId = ?.static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end) Returns a range of all the notification queue entries where notificationTemplateId = ?.static 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 = ?.static 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 = ?.static NotificationQueueEntryfindByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.static NotificationQueueEntryfindByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.static NotificationQueueEntry[]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 = ?.static NotificationQueueEntryfindByPrimaryKey(long notificationQueueEntryId) Returns the notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryExceptionif it could not be found.static List<NotificationQueueEntry> Returns all the notification queue entries where type = ? and status = ?.static List<NotificationQueueEntry> Returns a range of all the notification queue entries where type = ? and status = ?.static 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 = ?.static 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 = ?.static NotificationQueueEntryfindByT_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 = ?.static NotificationQueueEntryfindByT_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 = ?.static NotificationQueueEntry[]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 = ?.static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) static NotificationQueueEntryremove(long notificationQueueEntryId) Removes the notification queue entry with the primary key from the database.static voidRemoves all the notification queue entries from the database.static voidremoveByCompanyId(long companyId) Removes all the notification queue entries where companyId = ? from the database.static voidremoveByLtSentDate(Date sentDate) Removes all the notification queue entries where sentDate < ? from the database.static voidremoveByNotificationTemplateId(long notificationTemplateId) Removes all the notification queue entries where notificationTemplateId = ? from the database.static voidremoveByT_S(String type, int status) Removes all the notification queue entries where type = ? and status = ? from the database.static voidsetPersistence(NotificationQueueEntryPersistence persistence) static NotificationQueueEntryupdate(NotificationQueueEntry notificationQueueEntry) static NotificationQueueEntryupdate(NotificationQueueEntry notificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) static NotificationQueueEntryupdateImpl(NotificationQueueEntry notificationQueueEntry)
-
Constructor Details
-
NotificationQueueEntryUtil
public NotificationQueueEntryUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,NotificationQueueEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) - See Also:
-
findWithDynamicQuery
public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) - See Also:
-
findWithDynamicQuery
public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) - See Also:
-
update
- See Also:
-
update
public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) - See Also:
-
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
public static 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
public static 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
public static 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
-
fetchByCompanyId_First
public static 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
public static 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
-
fetchByCompanyId_Last
public static 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
public static 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
-
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
public static List<NotificationQueueEntry> 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 = ?.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
public static 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
public static 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
-
removeByCompanyId
public static void removeByCompanyId(long companyId) Removes all the notification queue entries where companyId = ? from the database.- Parameters:
companyId- the company ID
-
countByCompanyId
public static 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
public static 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
public static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId) Returns all the notification queue entries where notificationTemplateId = ?.- Parameters:
notificationTemplateId- the notification template ID- Returns:
- the matching notification queue entries
-
findByNotificationTemplateId
public static 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
public static 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
public static 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
public static 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
-
fetchByNotificationTemplateId_First
public static 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
public static 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
-
fetchByNotificationTemplateId_Last
public static 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
public static 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
-
filterFindByNotificationTemplateId
public static List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId) 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
public static 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
public static 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
public static 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
-
removeByNotificationTemplateId
public static void removeByNotificationTemplateId(long notificationTemplateId) Removes all the notification queue entries where notificationTemplateId = ? from the database.- Parameters:
notificationTemplateId- the notification template ID
-
countByNotificationTemplateId
public static 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
public static 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
public static 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
public static 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
public static 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
-
fetchByLtSentDate_First
public static 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
public static 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
-
fetchByLtSentDate_Last
public static 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
public static 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
-
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
public static List<NotificationQueueEntry> 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 < ?.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
public static 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
public static 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
-
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
public static 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
public static 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
public static 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
-
fetchByT_S_First
public static 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
public static 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
-
fetchByT_S_Last
public static 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
public static 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
-
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
public static List<NotificationQueueEntry> 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 = ?.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
public static 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
public static 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
-
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
public static 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
-
updateImpl
-
findByPrimaryKey
public static 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
-
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
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
public static 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
public static 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
public static void removeAll()Removes all the notification queue entries from the database. -
countAll
public static int countAll()Returns the number of notification queue entries.- Returns:
- the number of notification queue entries
-
getPersistence
-
setPersistence
-