@ProviderType public interface NotificationQueueEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<NotificationQueueEntry>
Caching information and settings can be found in portal.properties
NotificationQueueEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(java.util.List<NotificationQueueEntry> notificationQueueEntries)
Caches the notification queue entries in the entity cache if it is enabled.
|
void |
cacheResult(NotificationQueueEntry notificationQueueEntry)
Caches the notification queue entry in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of notification queue entries.
|
int |
countByLtSentDate(java.util.Date sentDate)
Returns the number of notification queue entries where sentDate < ?.
|
int |
countByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries where notificationTemplateId = ?.
|
int |
countByT_S(java.lang.String type,
int status)
Returns the number of notification queue entries where type = ? and status = ?.
|
NotificationQueueEntry |
create(long notificationQueueEntryId)
Creates a new notification queue entry with the primary key.
|
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 < ?.
|
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 < ?.
|
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 = ?.
|
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 = ?.
|
NotificationQueueEntry |
fetchByPrimaryKey(long notificationQueueEntryId)
Returns the notification queue entry with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
int |
filterCountByLtSentDate(java.util.Date sentDate)
Returns the number of notification queue entries that the user has permission to view where sentDate < ?.
|
int |
filterCountByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
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 = ?.
|
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 < ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByLtSentDate(java.util.Date sentDate)
Returns all the notification queue entries that the user has permission to view where sentDate < ?.
|
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 < ?.
|
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 < ?.
|
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 = ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByNotificationTemplateId(long notificationTemplateId)
Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<NotificationQueueEntry> |
findAll()
Returns all the notification queue entries.
|
java.util.List<NotificationQueueEntry> |
findAll(int start,
int end)
Returns a range of all the notification queue entries.
|
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.
|
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.
|
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 < ?.
|
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 < ?.
|
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 < ?.
|
java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate)
Returns all the notification queue entries where sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate,
int start,
int end)
Returns a range of all the notification queue entries where sentDate < ?.
|
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 < ?.
|
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 < ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<NotificationQueueEntry> |
findByNotificationTemplateId(long notificationTemplateId)
Returns all the notification queue entries where notificationTemplateId = ?.
|
java.util.List<NotificationQueueEntry> |
findByNotificationTemplateId(long notificationTemplateId,
int start,
int end)
Returns a range of all the notification queue entries where notificationTemplateId = ?.
|
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 = ?.
|
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 = ?.
|
NotificationQueueEntry |
findByPrimaryKey(long notificationQueueEntryId)
Returns the notification queue entry with the primary key or throws a
NoSuchNotificationQueueEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<NotificationQueueEntry> |
findByT_S(java.lang.String type,
int status)
Returns all the notification queue entries where type = ? and status = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
NotificationQueueEntry |
remove(long notificationQueueEntryId)
Removes the notification queue entry with the primary key from the database.
|
void |
removeAll()
Removes all the notification queue entries from the database.
|
void |
removeByLtSentDate(java.util.Date sentDate)
Removes all the notification queue entries where sentDate < ? from the database.
|
void |
removeByNotificationTemplateId(long notificationTemplateId)
Removes all the notification queue entries where notificationTemplateId = ? from the database.
|
void |
removeByT_S(java.lang.String type,
int status)
Removes all the notification queue entries where type = ? and status = ? from the database.
|
NotificationQueueEntry |
updateImpl(NotificationQueueEntry notificationQueueEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDjava.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)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
)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 cacheNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry[] 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 foundjava.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDjava.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)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
)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 foundvoid removeByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDint countByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDint filterCountByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDjava.util.List<NotificationQueueEntry> findByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datejava.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)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
)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 cacheNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry[] 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 foundjava.util.List<NotificationQueueEntry> filterFindByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datejava.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)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
)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 foundvoid removeByLtSentDate(java.util.Date sentDate)
sentDate
- the sent dateint countByLtSentDate(java.util.Date sentDate)
sentDate
- the sent dateint filterCountByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datejava.util.List<NotificationQueueEntry> findByT_S(java.lang.String type, int status)
type
- the typestatus
- the statusjava.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)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
)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 cacheNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry 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 foundNotificationQueueEntry[] 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 foundjava.util.List<NotificationQueueEntry> filterFindByT_S(java.lang.String type, int status)
type
- the typestatus
- the statusjava.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)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
)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 foundvoid removeByT_S(java.lang.String type, int status)
type
- the typestatus
- the statusint countByT_S(java.lang.String type, int status)
type
- the typestatus
- the statusint filterCountByT_S(java.lang.String type, int status)
type
- the typestatus
- the statusvoid cacheResult(NotificationQueueEntry notificationQueueEntry)
notificationQueueEntry
- the notification queue entryvoid cacheResult(java.util.List<NotificationQueueEntry> notificationQueueEntries)
notificationQueueEntries
- the notification queue entriesNotificationQueueEntry create(long notificationQueueEntryId)
notificationQueueEntryId
- the primary key for the new notification queue entryNotificationQueueEntry 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 foundNotificationQueueEntry updateImpl(NotificationQueueEntry notificationQueueEntry)
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 foundNotificationQueueEntry 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 foundjava.util.List<NotificationQueueEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()