@ProviderType public interface CommerceNotificationQueueEntryPersistence extends com.liferay.portal.kernel.service.persistence.BasePersistence<CommerceNotificationQueueEntry>
Caching information and settings can be found in portal.properties
CommerceNotificationQueueEntryUtil
Modifier and Type | Method and Description |
---|---|
void |
cacheResult(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
Caches the commerce notification queue entry in the entity cache if it is enabled.
|
void |
cacheResult(java.util.List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries)
Caches the commerce notification queue entries in the entity cache if it is enabled.
|
int |
countAll()
Returns the number of commerce notification queue entries.
|
int |
countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns the number of commerce notification queue entries where commerceNotificationTemplateId = ?.
|
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 = ?.
|
int |
countByGroupId(long groupId)
Returns the number of commerce notification queue entries where groupId = ?.
|
int |
countByLtSentDate(java.util.Date sentDate)
Returns the number of commerce notification queue entries where sentDate < ?.
|
int |
countBySent(boolean sent)
Returns the number of commerce notification queue entries where sent = ?.
|
CommerceNotificationQueueEntry |
create(long commerceNotificationQueueEntryId)
Creates a new commerce notification queue entry with the primary key.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 < ?.
|
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 < ?.
|
CommerceNotificationQueueEntry |
fetchByPrimaryKey(long commerceNotificationQueueEntryId)
Returns the commerce notification queue entry with the primary key or returns
null if it could not be found. |
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findAll()
Returns all the commerce notification queue entries.
|
java.util.List<CommerceNotificationQueueEntry> |
findAll(int start,
int end)
Returns a range of all the commerce notification queue entries.
|
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.
|
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.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Returns all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findByCommerceNotificationTemplateId(long commerceNotificationTemplateId,
int start,
int end)
Returns a range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId)
Returns all the commerce notification queue entries where groupId = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findByGroupId(long groupId,
int start,
int end)
Returns a range of all the commerce notification queue entries where groupId = ?.
|
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 = ?.
|
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 = ?.
|
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 < ?.
|
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 < ?.
|
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 < ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findByLtSentDate(java.util.Date sentDate)
Returns all the commerce notification queue entries where sentDate < ?.
|
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 < ?.
|
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 < ?.
|
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 < ?.
|
CommerceNotificationQueueEntry |
findByPrimaryKey(long commerceNotificationQueueEntryId)
Returns the commerce notification queue entry with the primary key or throws a
NoSuchNotificationQueueEntryException if it could not be found. |
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 = ?.
|
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 = ?.
|
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 = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent)
Returns all the commerce notification queue entries where sent = ?.
|
java.util.List<CommerceNotificationQueueEntry> |
findBySent(boolean sent,
int start,
int end)
Returns a range of all the commerce notification queue entries where sent = ?.
|
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 = ?.
|
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 = ?.
|
CommerceNotificationQueueEntry |
remove(long commerceNotificationQueueEntryId)
Removes the commerce notification queue entry with the primary key from the database.
|
void |
removeAll()
Removes all the commerce notification queue entries from the database.
|
void |
removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
Removes all the commerce notification queue entries where commerceNotificationTemplateId = ? from the database.
|
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.
|
void |
removeByGroupId(long groupId)
Removes all the commerce notification queue entries where groupId = ? from the database.
|
void |
removeByLtSentDate(java.util.Date sentDate)
Removes all the commerce notification queue entries where sentDate < ? from the database.
|
void |
removeBySent(boolean sent)
Removes all the commerce notification queue entries where sent = ? from the database.
|
CommerceNotificationQueueEntry |
updateImpl(CommerceNotificationQueueEntry commerceNotificationQueueEntry) |
clearCache, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getBadColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update
java.util.List<CommerceNotificationQueueEntry> findByGroupId(long groupId)
groupId
- the group IDjava.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)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
)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 cacheCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry[] 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 foundvoid removeByGroupId(long groupId)
groupId
- the group IDint countByGroupId(long groupId)
groupId
- the group IDjava.util.List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDjava.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)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
)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 cacheCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry[] 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 foundvoid removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDint countByCommerceNotificationTemplateId(long commerceNotificationTemplateId)
commerceNotificationTemplateId
- the commerce notification template IDjava.util.List<CommerceNotificationQueueEntry> findBySent(boolean sent)
sent
- the sentjava.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)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
)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 cacheCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry[] 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 foundvoid removeBySent(boolean sent)
sent
- the sentint countBySent(boolean sent)
sent
- the sentjava.util.List<CommerceNotificationQueueEntry> findByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datejava.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)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
)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 cacheCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry[] 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 foundvoid removeByLtSentDate(java.util.Date sentDate)
sentDate
- the sent dateint countByLtSentDate(java.util.Date sentDate)
sentDate
- the sent datejava.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 sentjava.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)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
)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 cacheCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry[] 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 foundvoid removeByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentint countByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent)
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentvoid cacheResult(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
commerceNotificationQueueEntry
- the commerce notification queue entryvoid cacheResult(java.util.List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries)
commerceNotificationQueueEntries
- the commerce notification queue entriesCommerceNotificationQueueEntry create(long commerceNotificationQueueEntryId)
commerceNotificationQueueEntryId
- the primary key for the new commerce notification queue entryCommerceNotificationQueueEntry 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 foundCommerceNotificationQueueEntry updateImpl(CommerceNotificationQueueEntry commerceNotificationQueueEntry)
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 foundCommerceNotificationQueueEntry 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 foundjava.util.List<CommerceNotificationQueueEntry> findAll()
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)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
)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 cachevoid removeAll()
int countAll()