@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 |
countByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns the number of notification queue entries where companyId = ? and sentDate < ?.
|
int |
countByC_T_S(long companyId,
java.lang.String type,
int status)
Returns the number of notification queue entries where companyId = ? and type = ? and status = ?.
|
int |
countByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries where notificationTemplateId = ?.
|
NotificationQueueEntry |
create(long notificationQueueEntryId)
Creates a new notification queue entry with the primary key.
|
NotificationQueueEntry |
fetchByC_LtSentDate_First(long companyId,
java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where companyId = ? and sentDate < ?.
|
NotificationQueueEntry |
fetchByC_LtSentDate_Last(long companyId,
java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where companyId = ? and sentDate < ?.
|
NotificationQueueEntry |
fetchByC_T_S_First(long companyId,
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 companyId = ? and type = ? and status = ?.
|
NotificationQueueEntry |
fetchByC_T_S_Last(long companyId,
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 companyId = ? and type = ? and status = ?.
|
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. |
int |
filterCountByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns the number of notification queue entries that the user has permission to view where companyId = ? and sentDate < ?.
|
int |
filterCountByC_T_S(long companyId,
java.lang.String type,
int status)
Returns the number of notification queue entries that the user has permission to view where companyId = ? and type = ? and status = ?.
|
int |
filterCountByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
NotificationQueueEntry[] |
filterFindByC_LtSentDate_PrevAndNext(long notificationQueueEntryId,
long companyId,
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 companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns all the notification queue entries that the user has permission to view where companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_LtSentDate(long companyId,
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 companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_LtSentDate(long companyId,
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 companyId = ? and sentDate < ?.
|
NotificationQueueEntry[] |
filterFindByC_T_S_PrevAndNext(long notificationQueueEntryId,
long companyId,
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 companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_T_S(long companyId,
java.lang.String type,
int status)
Returns all the notification queue entries that the user has permission to view where companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_T_S(long companyId,
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 companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
filterFindByC_T_S(long companyId,
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 companyId = ? and type = ? and status = ?.
|
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 = ?.
|
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 |
findByC_LtSentDate_First(long companyId,
java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the first notification queue entry in the ordered set where companyId = ? and sentDate < ?.
|
NotificationQueueEntry |
findByC_LtSentDate_Last(long companyId,
java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Returns the last notification queue entry in the ordered set where companyId = ? and sentDate < ?.
|
NotificationQueueEntry[] |
findByC_LtSentDate_PrevAndNext(long notificationQueueEntryId,
long companyId,
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 companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
findByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns all the notification queue entries where companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
findByC_LtSentDate(long companyId,
java.util.Date sentDate,
int start,
int end)
Returns a range of all the notification queue entries where companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
findByC_LtSentDate(long companyId,
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 companyId = ? and sentDate < ?.
|
java.util.List<NotificationQueueEntry> |
findByC_LtSentDate(long companyId,
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 companyId = ? and sentDate < ?.
|
NotificationQueueEntry |
findByC_T_S_First(long companyId,
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 companyId = ? and type = ? and status = ?.
|
NotificationQueueEntry |
findByC_T_S_Last(long companyId,
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 companyId = ? and type = ? and status = ?.
|
NotificationQueueEntry[] |
findByC_T_S_PrevAndNext(long notificationQueueEntryId,
long companyId,
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 companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
findByC_T_S(long companyId,
java.lang.String type,
int status)
Returns all the notification queue entries where companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
findByC_T_S(long companyId,
java.lang.String type,
int status,
int start,
int end)
Returns a range of all the notification queue entries where companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
findByC_T_S(long companyId,
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 companyId = ? and type = ? and status = ?.
|
java.util.List<NotificationQueueEntry> |
findByC_T_S(long companyId,
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 companyId = ? and type = ? and status = ?.
|
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 |
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 |
removeByC_LtSentDate(long companyId,
java.util.Date sentDate)
Removes all the notification queue entries where companyId = ? and sentDate < ? from the database.
|
void |
removeByC_T_S(long companyId,
java.lang.String type,
int status)
Removes all the notification queue entries where companyId = ? and type = ? and status = ? from the database.
|
void |
removeByNotificationTemplateId(long notificationTemplateId)
Removes all the notification queue entries where notificationTemplateId = ? 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> findByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datejava.util.List<NotificationQueueEntry> findByC_LtSentDate(long companyId, 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
.
companyId
- the company IDsentDate
- 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> findByC_LtSentDate(long companyId, 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
.
companyId
- the company IDsentDate
- 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> findByC_LtSentDate(long companyId, 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
.
companyId
- the company IDsentDate
- 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 findByC_LtSentDate_First(long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
companyId
- the company IDsentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundNotificationQueueEntry fetchByC_LtSentDate_First(long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
companyId
- the company IDsentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundNotificationQueueEntry findByC_LtSentDate_Last(long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
companyId
- the company IDsentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundNotificationQueueEntry fetchByC_LtSentDate_Last(long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
companyId
- the company IDsentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundNotificationQueueEntry[] findByC_LtSentDate_PrevAndNext(long notificationQueueEntryId, long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrycompanyId
- the company IDsentDate
- 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> filterFindByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datejava.util.List<NotificationQueueEntry> filterFindByC_LtSentDate(long companyId, 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
.
companyId
- the company IDsentDate
- 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> filterFindByC_LtSentDate(long companyId, 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
.
companyId
- the company IDsentDate
- 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[] filterFindByC_LtSentDate_PrevAndNext(long notificationQueueEntryId, long companyId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrycompanyId
- the company IDsentDate
- 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 removeByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent dateint countByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent dateint filterCountByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datejava.util.List<NotificationQueueEntry> findByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statusjava.util.List<NotificationQueueEntry> findByC_T_S(long companyId, 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
.
companyId
- the company IDtype
- 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> findByC_T_S(long companyId, 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
.
companyId
- the company IDtype
- 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> findByC_T_S(long companyId, 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
.
companyId
- the company IDtype
- 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 findByC_T_S_First(long companyId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundNotificationQueueEntry fetchByC_T_S_First(long companyId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundNotificationQueueEntry findByC_T_S_Last(long companyId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundNotificationQueueEntry fetchByC_T_S_Last(long companyId, java.lang.String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
companyId
- the company IDtype
- the typestatus
- the statusorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundNotificationQueueEntry[] findByC_T_S_PrevAndNext(long notificationQueueEntryId, long companyId, 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 entrycompanyId
- the company IDtype
- 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> filterFindByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statusjava.util.List<NotificationQueueEntry> filterFindByC_T_S(long companyId, 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
.
companyId
- the company IDtype
- 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> filterFindByC_T_S(long companyId, 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
.
companyId
- the company IDtype
- 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[] filterFindByC_T_S_PrevAndNext(long notificationQueueEntryId, long companyId, 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 entrycompanyId
- the company IDtype
- 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 removeByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statusint countByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statusint filterCountByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- 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()