public class NotificationQueueEntryUtil
extends java.lang.Object
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
NotificationQueueEntryPersistence| Constructor and Description |
|---|
NotificationQueueEntryUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cacheResult(java.util.List<NotificationQueueEntry> notificationQueueEntries)
Caches the notification queue entries in the entity cache if it is enabled.
|
static void |
cacheResult(NotificationQueueEntry notificationQueueEntry)
Caches the notification queue entry in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(NotificationQueueEntry notificationQueueEntry) |
static int |
countAll()
Returns the number of notification queue entries.
|
static int |
countByLtSentDate(java.util.Date sentDate)
Returns the number of notification queue entries where sentDate < ?.
|
static int |
countByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries where notificationTemplateId = ?.
|
static int |
countBySent(boolean sent)
Returns the number of notification queue entries where sent = ?.
|
static int |
countByStatus(int status)
Returns the number of notification queue entries where status = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static NotificationQueueEntry |
create(long notificationQueueEntryId)
Creates a new notification queue entry with the primary key.
|
static NotificationQueueEntry |
fetchByLtSentDate_First(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where sentDate < ?.
|
static NotificationQueueEntry |
fetchByLtSentDate_Last(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where sentDate < ?.
|
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 = ?.
|
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 = ?.
|
static NotificationQueueEntry |
fetchByPrimaryKey(long notificationQueueEntryId)
Returns the notification queue entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,NotificationQueueEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static NotificationQueueEntry |
fetchBySent_First(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where sent = ?.
|
static NotificationQueueEntry |
fetchBySent_Last(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where sent = ?.
|
static NotificationQueueEntry |
fetchByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where status = ?.
|
static NotificationQueueEntry |
fetchByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where status = ?.
|
static int |
filterCountByLtSentDate(java.util.Date sentDate)
Returns the number of notification queue entries that the user has permission to view where sentDate < ?.
|
static int |
filterCountByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
static int |
filterCountBySent(boolean sent)
Returns the number of notification queue entries that the user has permission to view where sent = ?.
|
static int |
filterCountByStatus(int status)
Returns the number of notification queue entries that the user has permission to view where status = ?.
|
static NotificationQueueEntry[] |
filterFindByLtSentDate_PrevAndNext(long notificationQueueEntryId,
java.util.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 java.util.List<NotificationQueueEntry> |
filterFindByLtSentDate(java.util.Date sentDate)
Returns all the notification queue entries that the user has permission to view where sentDate < ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindByLtSentDate(java.util.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 java.util.List<NotificationQueueEntry> |
filterFindByLtSentDate(java.util.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[] |
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 java.util.List<NotificationQueueEntry> |
filterFindByNotificationTemplateId(long notificationTemplateId)
Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
static java.util.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 java.util.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[] |
filterFindBySent_PrevAndNext(long notificationQueueEntryId,
boolean sent,
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 sent = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindBySent(boolean sent)
Returns all the notification queue entries that the user has permission to view where sent = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindBySent(boolean sent,
int start,
int end)
Returns a range of all the notification queue entries that the user has permission to view where sent = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindBySent(boolean sent,
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 sent = ?.
|
static NotificationQueueEntry[] |
filterFindByStatus_PrevAndNext(long notificationQueueEntryId,
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 status = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindByStatus(int status)
Returns all the notification queue entries that the user has permission to view where status = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindByStatus(int status,
int start,
int end)
Returns a range of all the notification queue entries that the user has permission to view where status = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindByStatus(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 status = ?.
|
static java.util.List<NotificationQueueEntry> |
findAll()
Returns all the notification queue entries.
|
static java.util.List<NotificationQueueEntry> |
findAll(int start,
int end)
Returns a range of all the notification queue entries.
|
static java.util.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 java.util.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 NotificationQueueEntry |
findByLtSentDate_First(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where sentDate < ?.
|
static NotificationQueueEntry |
findByLtSentDate_Last(java.util.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,
java.util.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 java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate)
Returns all the notification queue entries where sentDate < ?.
|
static java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate,
int start,
int end)
Returns a range of all the notification queue entries where sentDate < ?.
|
static java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.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 java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.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 NotificationQueueEntry |
findByNotificationTemplateId_First(long notificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.
|
static NotificationQueueEntry |
findByNotificationTemplateId_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 java.util.List<NotificationQueueEntry> |
findByNotificationTemplateId(long notificationTemplateId)
Returns all the notification queue entries where notificationTemplateId = ?.
|
static java.util.List<NotificationQueueEntry> |
findByNotificationTemplateId(long notificationTemplateId,
int start,
int end)
Returns a range of all the notification queue entries where notificationTemplateId = ?.
|
static java.util.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 java.util.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 NotificationQueueEntry |
findByPrimaryKey(long notificationQueueEntryId)
Returns the notification queue entry with the primary key or throws a
NoSuchNotificationQueueEntryException if it could not be found. |
static NotificationQueueEntry |
findBySent_First(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where sent = ?.
|
static NotificationQueueEntry |
findBySent_Last(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where sent = ?.
|
static NotificationQueueEntry[] |
findBySent_PrevAndNext(long notificationQueueEntryId,
boolean sent,
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 sent = ?.
|
static java.util.List<NotificationQueueEntry> |
findBySent(boolean sent)
Returns all the notification queue entries where sent = ?.
|
static java.util.List<NotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end)
Returns a range of all the notification queue entries where sent = ?.
|
static java.util.List<NotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns an ordered range of all the notification queue entries where sent = ?.
|
static java.util.List<NotificationQueueEntry> |
findBySent(boolean sent,
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 sent = ?.
|
static NotificationQueueEntry |
findByStatus_First(int status,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where status = ?.
|
static NotificationQueueEntry |
findByStatus_Last(int status,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where status = ?.
|
static NotificationQueueEntry[] |
findByStatus_PrevAndNext(long notificationQueueEntryId,
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 status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByStatus(int status)
Returns all the notification queue entries where status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByStatus(int status,
int start,
int end)
Returns a range of all the notification queue entries where status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByStatus(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 status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByStatus(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 status = ?.
|
static java.util.List<NotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<NotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<NotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) |
static NotificationQueueEntryPersistence |
getPersistence() |
static NotificationQueueEntry |
remove(long notificationQueueEntryId)
Removes the notification queue entry with the primary key from the database.
|
static void |
removeAll()
Removes all the notification queue entries from the database.
|
static void |
removeByLtSentDate(java.util.Date sentDate)
Removes all the notification queue entries where sentDate < ? from the database.
|
static void |
removeByNotificationTemplateId(long notificationTemplateId)
Removes all the notification queue entries where notificationTemplateId = ? from the database.
|
static void |
removeBySent(boolean sent)
Removes all the notification queue entries where sent = ? from the database.
|
static void |
removeByStatus(int status)
Removes all the notification queue entries where status = ? from the database.
|
static NotificationQueueEntry |
update(NotificationQueueEntry notificationQueueEntry) |
static NotificationQueueEntry |
update(NotificationQueueEntry notificationQueueEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static NotificationQueueEntry |
updateImpl(NotificationQueueEntry notificationQueueEntry) |
public static void clearCache()
BasePersistence.clearCache()public static void clearCache(NotificationQueueEntry notificationQueueEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)public static java.util.Map<java.io.Serializable,NotificationQueueEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId - the notification template IDpublic static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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)public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)useFinderCache - whether to use the finder cachepublic static NotificationQueueEntry findByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
notificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
notificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrynotificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId - the notification template IDpublic static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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)public static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)public static NotificationQueueEntry[] filterFindByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrynotificationTemplateId - the notification template IDorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static void removeByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId - the notification template IDpublic static int countByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId - the notification template IDpublic static int filterCountByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId - the notification template IDpublic static java.util.List<NotificationQueueEntry> findBySent(boolean sent)
sent - the sentpublic static java.util.List<NotificationQueueEntry> findBySent(boolean sent, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
sent - the sentstart - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
sent - the sentstart - 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 (optionally null)public static java.util.List<NotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
sent - the sentstart - 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 (optionally null)useFinderCache - whether to use the finder cachepublic static NotificationQueueEntry findBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sent - the sentorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
sent - the sentorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sent - the sentorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
sent - the sentorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findBySent_PrevAndNext(long notificationQueueEntryId, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrysent - the sentorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> filterFindBySent(boolean sent)
sent - the sentpublic static java.util.List<NotificationQueueEntry> filterFindBySent(boolean sent, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
sent - the sentstart - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> filterFindBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
sent - the sentstart - 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 (optionally null)public static NotificationQueueEntry[] filterFindBySent_PrevAndNext(long notificationQueueEntryId, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrysent - the sentorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static void removeBySent(boolean sent)
sent - the sentpublic static int countBySent(boolean sent)
sent - the sentpublic static int filterCountBySent(boolean sent)
sent - the sentpublic static java.util.List<NotificationQueueEntry> findByLtSentDate(java.util.Date sentDate)
sentDate - the sent datepublic static java.util.List<NotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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)public static java.util.List<NotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)public static java.util.List<NotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)useFinderCache - whether to use the finder cachepublic static NotificationQueueEntry findByLtSentDate_First(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByLtSentDate_First(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
sentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findByLtSentDate_Last(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByLtSentDate_Last(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
sentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findByLtSentDate_PrevAndNext(long notificationQueueEntryId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrysentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> filterFindByLtSentDate(java.util.Date sentDate)
sentDate - the sent datepublic static java.util.List<NotificationQueueEntry> filterFindByLtSentDate(java.util.Date sentDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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)public static java.util.List<NotificationQueueEntry> filterFindByLtSentDate(java.util.Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)public static NotificationQueueEntry[] filterFindByLtSentDate_PrevAndNext(long notificationQueueEntryId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrysentDate - the sent dateorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static void removeByLtSentDate(java.util.Date sentDate)
sentDate - the sent datepublic static int countByLtSentDate(java.util.Date sentDate)
sentDate - the sent datepublic static int filterCountByLtSentDate(java.util.Date sentDate)
sentDate - the sent datepublic static java.util.List<NotificationQueueEntry> findByStatus(int status)
status - the statuspublic static java.util.List<NotificationQueueEntry> findByStatus(int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
status - the statusstart - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
status - 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 (optionally null)public static java.util.List<NotificationQueueEntry> findByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
status - 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 (optionally null)useFinderCache - whether to use the finder cachepublic static NotificationQueueEntry findByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
status - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByStatus_First(int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
status - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
status - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByStatus_Last(int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
status - the statusorderByComparator - the comparator to order the set by (optionally null)null if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findByStatus_PrevAndNext(long notificationQueueEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrystatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> filterFindByStatus(int status)
status - the statuspublic static java.util.List<NotificationQueueEntry> filterFindByStatus(int status, int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
status - the statusstart - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> filterFindByStatus(int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
status - 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 (optionally null)public static NotificationQueueEntry[] filterFindByStatus_PrevAndNext(long notificationQueueEntryId, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the current notification queue entrystatus - the statusorderByComparator - the comparator to order the set by (optionally null)NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static void removeByStatus(int status)
status - the statuspublic static int countByStatus(int status)
status - the statuspublic static int filterCountByStatus(int status)
status - the statuspublic static void cacheResult(NotificationQueueEntry notificationQueueEntry)
notificationQueueEntry - the notification queue entrypublic static void cacheResult(java.util.List<NotificationQueueEntry> notificationQueueEntries)
notificationQueueEntries - the notification queue entriespublic static NotificationQueueEntry create(long notificationQueueEntryId)
notificationQueueEntryId - the primary key for the new notification queue entrypublic static NotificationQueueEntry remove(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId - the primary key of the notification queue entryNoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static NotificationQueueEntry updateImpl(NotificationQueueEntry notificationQueueEntry)
public static NotificationQueueEntry findByPrimaryKey(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException
NoSuchNotificationQueueEntryException if it could not be found.notificationQueueEntryId - the primary key of the notification queue entryNoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be foundpublic static NotificationQueueEntry fetchByPrimaryKey(long notificationQueueEntryId)
null if it could not be found.notificationQueueEntryId - the primary key of the notification queue entrynull if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> findAll()
public static java.util.List<NotificationQueueEntry> findAll(int start, int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
start - the lower bound of the range of notification queue entriesend - the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)public static java.util.List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.
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 (optionally null)useFinderCache - whether to use the finder cachepublic static void removeAll()
public static int countAll()
public static NotificationQueueEntryPersistence getPersistence()