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 |
countByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns the number of notification queue entries where companyId = ? and sentDate < ?.
|
static 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 = ?.
|
static int |
countByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries where notificationTemplateId = ?.
|
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 |
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 < ?.
|
static 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 < ?.
|
static 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 = ?.
|
static 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 = ?.
|
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 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 < ?.
|
static 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 = ?.
|
static int |
filterCountByNotificationTemplateId(long notificationTemplateId)
Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.
|
static 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 < ?.
|
static 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 < ?.
|
static 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 < ?.
|
static 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 < ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
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 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 |
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 < ?.
|
static 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 < ?.
|
static 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 < ?.
|
static java.util.List<NotificationQueueEntry> |
findByC_LtSentDate(long companyId,
java.util.Date sentDate)
Returns all the notification queue entries where companyId = ? and sentDate < ?.
|
static 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 < ?.
|
static 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 < ?.
|
static 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 < ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
static 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 = ?.
|
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 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 |
removeByC_LtSentDate(long companyId,
java.util.Date sentDate)
Removes all the notification queue entries where companyId = ? and sentDate < ? from the database.
|
static 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.
|
static void |
removeByNotificationTemplateId(long notificationTemplateId)
Removes all the notification queue entries where notificationTemplateId = ? from the database.
|
static NotificationQueueEntry |
update(NotificationQueueEntry notificationQueueEntry) |
static NotificationQueueEntry |
update(NotificationQueueEntry notificationQueueEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static NotificationQueueEntry |
updateImpl(NotificationQueueEntry notificationQueueEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(NotificationQueueEntry notificationQueueEntry)
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.countWithDynamicQuery(DynamicQuery)
public static java.util.Map<java.io.Serializable,NotificationQueueEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDpublic static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl
.
notificationTemplateId
- the notification template IDstart
- the lower bound of the range of notification queue entriesend
- the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl
.
notificationTemplateId
- the notification template IDstart
- the lower bound of the range of notification queue entriesend
- the upper bound of the range of notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl
.
notificationTemplateId
- the notification template IDstart
- the lower bound of the range of notification queue entriesend
- the upper bound of the range of notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static NotificationQueueEntry findByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
notificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundpublic static NotificationQueueEntry findByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching notification queue entry could not be foundpublic static NotificationQueueEntry fetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
notificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching notification queue entry could not be foundpublic static NotificationQueueEntry[] findByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrynotificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a notification queue entry with the primary key could not be foundpublic static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDpublic static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl
.
notificationTemplateId
- the notification template IDstart
- the lower bound of the range of notification queue entriesend
- the upper bound of the range of notification queue entries (not inclusive)public static java.util.List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl
.
notificationTemplateId
- the notification template IDstart
- the lower bound of the range of notification queue entriesend
- the upper bound of the range of notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static NotificationQueueEntry[] filterFindByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
notificationQueueEntryId
- the primary key of the current notification queue entrynotificationTemplateId
- the notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a notification queue entry with the primary key could not be foundpublic static void removeByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDpublic static int countByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDpublic static int filterCountByNotificationTemplateId(long notificationTemplateId)
notificationTemplateId
- the notification template IDpublic static java.util.List<NotificationQueueEntry> findByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datepublic static java.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)public static 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
)public static 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 cachepublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry[] 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 foundpublic static java.util.List<NotificationQueueEntry> filterFindByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datepublic static java.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)public static 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
)public static 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 foundpublic static void removeByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datepublic static int countByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datepublic static int filterCountByC_LtSentDate(long companyId, java.util.Date sentDate)
companyId
- the company IDsentDate
- the sent datepublic static java.util.List<NotificationQueueEntry> findByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static java.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)public static 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
)public static 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 cachepublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry 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 foundpublic static NotificationQueueEntry[] 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 foundpublic static java.util.List<NotificationQueueEntry> filterFindByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static java.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)public static 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
)public static 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 foundpublic static void removeByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static int countByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- the typestatus
- the statuspublic static int filterCountByC_T_S(long companyId, java.lang.String type, int status)
companyId
- the company IDtype
- 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()