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 |
countByT_S(java.lang.String type,
int status)
Returns the number of notification queue entries where type = ? and 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 |
fetchByT_S_First(java.lang.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 NotificationQueueEntry |
fetchByT_S_Last(java.lang.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 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 |
filterCountByT_S(java.lang.String type,
int status)
Returns the number of notification queue entries that the user has permission to view where type = ? and 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[] |
filterFindByT_S_PrevAndNext(long notificationQueueEntryId,
java.lang.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 java.util.List<NotificationQueueEntry> |
filterFindByT_S(java.lang.String type,
int status)
Returns all the notification queue entries that the user has permission to view where type = ? and status = ?.
|
static java.util.List<NotificationQueueEntry> |
filterFindByT_S(java.lang.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 java.util.List<NotificationQueueEntry> |
filterFindByT_S(java.lang.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 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 |
findByT_S_First(java.lang.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 NotificationQueueEntry |
findByT_S_Last(java.lang.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,
java.lang.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 java.util.List<NotificationQueueEntry> |
findByT_S(java.lang.String type,
int status)
Returns all the notification queue entries where type = ? and status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByT_S(java.lang.String type,
int status,
int start,
int end)
Returns a range of all the notification queue entries where type = ? and status = ?.
|
static java.util.List<NotificationQueueEntry> |
findByT_S(java.lang.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 java.util.List<NotificationQueueEntry> |
findByT_S(java.lang.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 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 |
removeByT_S(java.lang.String type,
int status)
Removes all the notification queue entries where type = ? and status = ? from the database.
|
static void |
setPersistence(NotificationQueueEntryPersistence persistence) |
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> 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> findByT_S(java.lang.String type, int status)
type
- the typestatus
- the statuspublic static java.util.List<NotificationQueueEntry> findByT_S(java.lang.String type, 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
.
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)public static java.util.List<NotificationQueueEntry> findByT_S(java.lang.String type, 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
.
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 (optionally null
)public static java.util.List<NotificationQueueEntry> findByT_S(java.lang.String type, 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
.
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 (optionally null
)useFinderCache
- whether to use the finder cachepublic static NotificationQueueEntry findByT_S_First(java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
type
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByT_S_First(java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
type
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findByT_S_Last(java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
type
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByT_S_Last(java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
type
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findByT_S_PrevAndNext(long notificationQueueEntryId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrytype
- the typestatus
- 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> filterFindByT_S(java.lang.String type, int status)
type
- the typestatus
- the statuspublic static java.util.List<NotificationQueueEntry> filterFindByT_S(java.lang.String type, 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
.
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)public static java.util.List<NotificationQueueEntry> filterFindByT_S(java.lang.String type, 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
.
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 (optionally null
)public static NotificationQueueEntry[] filterFindByT_S_PrevAndNext(long notificationQueueEntryId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrytype
- the typestatus
- 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 removeByT_S(java.lang.String type, int status)
type
- the typestatus
- the statuspublic static int countByT_S(java.lang.String type, int status)
type
- the typestatus
- the statuspublic static int filterCountByT_S(java.lang.String type, int status)
type
- the typestatus
- 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()
public static void setPersistence(NotificationQueueEntryPersistence persistence)