public class CommerceNotificationQueueEntryUtil
extends java.lang.Object
com.liferay.commerce.notification.service.persistence.impl.CommerceNotificationQueueEntryPersistenceImpl
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
CommerceNotificationQueueEntryPersistence
Constructor and Description |
---|
CommerceNotificationQueueEntryUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
cacheResult(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
Caches the commerce notification queue entry in the entity cache if it is enabled.
|
static void |
cacheResult(java.util.List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries)
Caches the commerce notification queue entries in the entity cache if it is enabled.
|
static void |
clearCache() |
static void |
clearCache(CommerceNotificationQueueEntry commerceNotificationQueueEntry) |
static int |
countAll()
Returns the number of commerce notification queue entries.
|
static int |
countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns the number of commerce notification queue entries where commerceNotificationTemplateId = ?.
|
static int |
countByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent)
Returns the number of commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static int |
countByGroupId(long groupId)
Returns the number of commerce notification queue entries where groupId = ?.
|
static int |
countByLtSentDate(java.util.Date sentDate)
Returns the number of commerce notification queue entries where sentDate < ?.
|
static int |
countBySent(boolean sent)
Returns the number of commerce notification queue entries where sent = ?.
|
static long |
countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static CommerceNotificationQueueEntry |
create(long commerceNotificationQueueEntryId)
Creates a new commerce notification queue entry with the primary key.
|
static CommerceNotificationQueueEntry |
fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.
|
static CommerceNotificationQueueEntry |
fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.
|
static CommerceNotificationQueueEntry |
fetchByG_C_C_S_First(long groupId,
long classNameId,
long classPK,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static CommerceNotificationQueueEntry |
fetchByG_C_C_S_Last(long groupId,
long classNameId,
long classPK,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static CommerceNotificationQueueEntry |
fetchByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where groupId = ?.
|
static CommerceNotificationQueueEntry |
fetchByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where groupId = ?.
|
static CommerceNotificationQueueEntry |
fetchByLtSentDate_First(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where sentDate < ?.
|
static CommerceNotificationQueueEntry |
fetchByLtSentDate_Last(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where sentDate < ?.
|
static CommerceNotificationQueueEntry |
fetchByPrimaryKey(long commerceNotificationQueueEntryId)
Returns the commerce notification queue entry with the primary key or returns
null if it could not be found. |
static java.util.Map<java.io.Serializable,CommerceNotificationQueueEntry> |
fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys) |
static CommerceNotificationQueueEntry |
fetchBySent_First(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where sent = ?.
|
static CommerceNotificationQueueEntry |
fetchBySent_Last(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findAll()
Returns all the commerce notification queue entries.
|
static java.util.List<CommerceNotificationQueueEntry> |
findAll(int start,
int end)
Returns a range of all the commerce notification queue entries.
|
static java.util.List<CommerceNotificationQueueEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries.
|
static java.util.List<CommerceNotificationQueueEntry> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries.
|
static CommerceNotificationQueueEntry |
findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.
|
static CommerceNotificationQueueEntry |
findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.
|
static CommerceNotificationQueueEntry[] |
findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationQueueEntryId,
long commerceNotificationTemplateId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end)
Returns a range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
static CommerceNotificationQueueEntry |
findByG_C_C_S_First(long groupId,
long classNameId,
long classPK,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static CommerceNotificationQueueEntry |
findByG_C_C_S_Last(long groupId,
long classNameId,
long classPK,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static CommerceNotificationQueueEntry[] |
findByG_C_C_S_PrevAndNext(long commerceNotificationQueueEntryId,
long groupId,
long classNameId,
long classPK,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent)
Returns all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent,
int start,
int end)
Returns a range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.
|
static CommerceNotificationQueueEntry |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where groupId = ?.
|
static CommerceNotificationQueueEntry |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where groupId = ?.
|
static CommerceNotificationQueueEntry[] |
findByGroupId_PrevAndNext(long commerceNotificationQueueEntryId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where groupId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId)
Returns all the commerce notification queue entries where groupId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce notification queue entries where groupId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries where groupId = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries where groupId = ?.
|
static CommerceNotificationQueueEntry |
findByLtSentDate_First(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where sentDate < ?.
|
static CommerceNotificationQueueEntry |
findByLtSentDate_Last(java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where sentDate < ?.
|
static CommerceNotificationQueueEntry[] |
findByLtSentDate_PrevAndNext(long commerceNotificationQueueEntryId,
java.util.Date sentDate,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sentDate < ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate)
Returns all the commerce notification queue entries where sentDate < ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate,
int start,
int end)
Returns a range of all the commerce notification queue entries where sentDate < ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries where sentDate < ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries where sentDate < ?.
|
static CommerceNotificationQueueEntry |
findByPrimaryKey(long commerceNotificationQueueEntryId)
Returns the commerce notification queue entry with the primary key or throws a
NoSuchNotificationQueueEntryException if it could not be found. |
static CommerceNotificationQueueEntry |
findBySent_First(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the first commerce notification queue entry in the ordered set where sent = ?.
|
static CommerceNotificationQueueEntry |
findBySent_Last(boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the last commerce notification queue entry in the ordered set where sent = ?.
|
static CommerceNotificationQueueEntry[] |
findBySent_PrevAndNext(long commerceNotificationQueueEntryId,
boolean sent,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent)
Returns all the commerce notification queue entries where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end)
Returns a range of all the commerce notification queue entries where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
Returns an ordered range of all the commerce notification queue entries where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator,
boolean useFinderCache)
Returns an ordered range of all the commerce notification queue entries where sent = ?.
|
static java.util.List<CommerceNotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) |
static java.util.List<CommerceNotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end) |
static java.util.List<CommerceNotificationQueueEntry> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) |
static CommerceNotificationQueueEntryPersistence |
getPersistence() |
static CommerceNotificationQueueEntry |
remove(long commerceNotificationQueueEntryId)
Removes the commerce notification queue entry with the primary key from the database.
|
static void |
removeAll()
Removes all the commerce notification queue entries from the database.
|
static void |
removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Removes all the commerce notification queue entries where commerceNotificationTemplateId = ? from the database.
|
static void |
removeByG_C_C_S(long groupId,
long classNameId,
long classPK,
boolean sent)
Removes all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ? from the database.
|
static void |
removeByGroupId(long groupId)
Removes all the commerce notification queue entries where groupId = ? from the database.
|
static void |
removeByLtSentDate(java.util.Date sentDate)
Removes all the commerce notification queue entries where sentDate < ? from the database.
|
static void |
removeBySent(boolean sent)
Removes all the commerce notification queue entries where sent = ? from the database.
|
static CommerceNotificationQueueEntry |
update(CommerceNotificationQueueEntry commerceNotificationQueueEntry) |
static CommerceNotificationQueueEntry |
update(CommerceNotificationQueueEntry commerceNotificationQueueEntry,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static CommerceNotificationQueueEntry |
updateImpl(CommerceNotificationQueueEntry commerceNotificationQueueEntry) |
public static void clearCache()
BasePersistence.clearCache()
public static void clearCache(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
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,CommerceNotificationQueueEntry> fetchByPrimaryKeys(java.util.Set<java.io.Serializable> primaryKeys)
BasePersistence.fetchByPrimaryKeys(Set)
public static java.util.List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
BasePersistence.findWithDynamicQuery(DynamicQuery)
public static java.util.List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
public static java.util.List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
public static java.util.List<CommerceNotificationQueueEntry> findByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceNotificationQueueEntry> findByGroupId(long groupId, 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 CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationQueueEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry[] findByGroupId_PrevAndNext(long commerceNotificationQueueEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static void removeByGroupId(long groupId)
groupId
- the group IDpublic static int countByGroupId(long groupId)
groupId
- the group IDpublic static java.util.List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static java.util.List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, 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 CommerceNotificationQueueEntryModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
commerceNotificationTemplateId
- the commerce notification template IDstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationQueueEntry findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry[] findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationQueueEntryId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrycommerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static void removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static int countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDpublic static java.util.List<CommerceNotificationQueueEntry> findBySent(boolean sent)
sent
- the sentpublic static java.util.List<CommerceNotificationQueueEntry> findBySent(boolean sent, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceNotificationQueueEntryModelImpl
.
sent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
sent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
sent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationQueueEntry findBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
sent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry findBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
sent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry[] findBySent_PrevAndNext(long commerceNotificationQueueEntryId, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrysent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static void removeBySent(boolean sent)
sent
- the sentpublic static int countBySent(boolean sent)
sent
- the sentpublic static java.util.List<CommerceNotificationQueueEntry> findByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datepublic static java.util.List<CommerceNotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceNotificationQueueEntryModelImpl
.
sentDate
- the sent datestart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
sentDate
- the sent datestart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findByLtSentDate(java.util.Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
sentDate
- the sent datestart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationQueueEntry findByLtSentDate_First(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByLtSentDate_First(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry findByLtSentDate_Last(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByLtSentDate_Last(java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry[] findByLtSentDate_PrevAndNext(long commerceNotificationQueueEntryId, java.util.Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrysentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static void removeByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datepublic static int countByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datepublic static java.util.List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentpublic static java.util.List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent, int start, int end)
Useful when paginating results. Returns a maximum of end - start
instances. start
and end
are not primary keys, they are indexes in the result set. Thus, 0
refers to the first result in the set. Setting both start
and end
to QueryUtil#ALL_POS
will return the full result set. If orderByComparator
is specified, then the query will include the given ORDER BY logic. If orderByComparator
is absent, then the query will include the default ORDER BY logic from CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentstart
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)useFinderCache
- whether to use the finder cachepublic static CommerceNotificationQueueEntry findByG_C_C_S_First(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByG_C_C_S_First(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry findByG_C_C_S_Last(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry fetchByG_C_C_S_Last(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)null
if a matching commerce notification queue entry could not be foundpublic static CommerceNotificationQueueEntry[] findByG_C_C_S_PrevAndNext(long commerceNotificationQueueEntryId, long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrygroupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionally null
)NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static void removeByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentpublic static int countByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentpublic static void cacheResult(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
commerceNotificationQueueEntry
- the commerce notification queue entrypublic static void cacheResult(java.util.List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries)
commerceNotificationQueueEntries
- the commerce notification queue entriespublic static CommerceNotificationQueueEntry create(long commerceNotificationQueueEntryId)
commerceNotificationQueueEntryId
- the primary key for the new commerce notification queue entrypublic static CommerceNotificationQueueEntry remove(long commerceNotificationQueueEntryId) throws NoSuchNotificationQueueEntryException
commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entryNoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static CommerceNotificationQueueEntry updateImpl(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
public static CommerceNotificationQueueEntry findByPrimaryKey(long commerceNotificationQueueEntryId) throws NoSuchNotificationQueueEntryException
NoSuchNotificationQueueEntryException
if it could not be found.commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entryNoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundpublic static CommerceNotificationQueueEntry fetchByPrimaryKey(long commerceNotificationQueueEntryId)
null
if it could not be found.commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entrynull
if a commerce notification queue entry with the primary key could not be foundpublic static java.util.List<CommerceNotificationQueueEntry> findAll()
public static java.util.List<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
start
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)public static java.util.List<CommerceNotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
start
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce notification queue entries (not inclusive)orderByComparator
- the comparator to order the results by (optionally null
)public static java.util.List<CommerceNotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> 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 CommerceNotificationQueueEntryModelImpl
.
start
- the lower bound of the range of commerce notification queue entriesend
- the upper bound of the range of commerce 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 CommerceNotificationQueueEntryPersistence getPersistence()