Class CommerceNotificationQueueEntryUtil
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
- See Also:
- Generated:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.Caches the commerce notification queue entry in the entity cache if it is enabled.static void
cacheResult
(List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) Deprecated.Caches the commerce notification queue entries in the entity cache if it is enabled.static void
Deprecated.static void
clearCache
(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.static int
countAll()
Deprecated.Returns the number of commerce notification queue entries.static int
countByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification queue entries where commerceNotificationTemplateId = ?.static int
countByG_C_C_S
(long groupId, long classNameId, long classPK, boolean sent) Deprecated.Returns the number of commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.static int
countByGroupId
(long groupId) Deprecated.Returns the number of commerce notification queue entries where groupId = ?.static int
countByLtSentDate
(Date sentDate) Deprecated.Returns the number of commerce notification queue entries where sentDate < ?.static int
countBySent
(boolean sent) Deprecated.Returns the number of commerce notification queue entries where sent = ?.static long
countWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.create
(long commerceNotificationQueueEntryId) Deprecated.Creates a new commerce notification queue entry with the primary key.fetchByCommerceNotificationTemplateId_First
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.fetchByCommerceNotificationTemplateId_Last
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.fetchByG_C_C_S_First
(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.fetchByG_C_C_S_Last
(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.fetchByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ?.fetchByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ?.fetchByLtSentDate_First
(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sentDate < ?.fetchByLtSentDate_Last
(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where sentDate < ?.fetchByPrimaryKey
(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or returnsnull
if it could not be found.fetchByPrimaryKeys
(Set<Serializable> primaryKeys) Deprecated.fetchBySent_First
(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sent = ?.fetchBySent_Last
(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where sent = ?.static List<CommerceNotificationQueueEntry>
findAll()
Deprecated.Returns all the commerce notification queue entries.static List<CommerceNotificationQueueEntry>
findAll
(int start, int end) Deprecated.Returns a range of all the commerce notification queue entries.static List<CommerceNotificationQueueEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries.static List<CommerceNotificationQueueEntry>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries.static List<CommerceNotificationQueueEntry>
findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.Returns all the commerce notification queue entries where commerceNotificationTemplateId = ?.static List<CommerceNotificationQueueEntry>
findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.static List<CommerceNotificationQueueEntry>
findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.static List<CommerceNotificationQueueEntry>
findByCommerceNotificationTemplateId
(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId_First
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.findByCommerceNotificationTemplateId_Last
(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.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) Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.static List<CommerceNotificationQueueEntry>
findByG_C_C_S
(long groupId, long classNameId, long classPK, boolean sent) Deprecated.Returns all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.static List<CommerceNotificationQueueEntry>
findByG_C_C_S
(long groupId, long classNameId, long classPK, boolean sent, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.static 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) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.static 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) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.findByG_C_C_S_First
(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.findByG_C_C_S_Last
(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.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) Deprecated.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 List<CommerceNotificationQueueEntry>
findByGroupId
(long groupId) Deprecated.Returns all the commerce notification queue entries where groupId = ?.static List<CommerceNotificationQueueEntry>
findByGroupId
(long groupId, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where groupId = ?.static List<CommerceNotificationQueueEntry>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ?.static List<CommerceNotificationQueueEntry>
findByGroupId
(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ?.findByGroupId_First
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ?.findByGroupId_Last
(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.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) Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where groupId = ?.static List<CommerceNotificationQueueEntry>
findByLtSentDate
(Date sentDate) Deprecated.Returns all the commerce notification queue entries where sentDate < ?.static List<CommerceNotificationQueueEntry>
findByLtSentDate
(Date sentDate, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where sentDate < ?.static List<CommerceNotificationQueueEntry>
findByLtSentDate
(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where sentDate < ?.static List<CommerceNotificationQueueEntry>
findByLtSentDate
(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where sentDate < ?.findByLtSentDate_First
(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sentDate < ?.findByLtSentDate_Last
(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where sentDate < ?.static CommerceNotificationQueueEntry[]
findByLtSentDate_PrevAndNext
(long commerceNotificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sentDate < ?.findByPrimaryKey
(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryException
if it could not be found.static List<CommerceNotificationQueueEntry>
findBySent
(boolean sent) Deprecated.Returns all the commerce notification queue entries where sent = ?.static List<CommerceNotificationQueueEntry>
findBySent
(boolean sent, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where sent = ?.static List<CommerceNotificationQueueEntry>
findBySent
(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where sent = ?.static List<CommerceNotificationQueueEntry>
findBySent
(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where sent = ?.findBySent_First
(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sent = ?.findBySent_Last
(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.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) Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sent = ?.static List<CommerceNotificationQueueEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.static List<CommerceNotificationQueueEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.static List<CommerceNotificationQueueEntry>
findWithDynamicQuery
(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Deprecated.remove
(long commerceNotificationQueueEntryId) Deprecated.Removes the commerce notification queue entry with the primary key from the database.static void
Deprecated.Removes all the commerce notification queue entries from the database.static void
removeByCommerceNotificationTemplateId
(long commerceNotificationTemplateId) Deprecated.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) Deprecated.Removes all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ? from the database.static void
removeByGroupId
(long groupId) Deprecated.Removes all the commerce notification queue entries where groupId = ? from the database.static void
removeByLtSentDate
(Date sentDate) Deprecated.Removes all the commerce notification queue entries where sentDate < ? from the database.static void
removeBySent
(boolean sent) Deprecated.Removes all the commerce notification queue entries where sent = ? from the database.static void
setPersistence
(CommerceNotificationQueueEntryPersistence persistence) Deprecated.update
(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.update
(CommerceNotificationQueueEntry commerceNotificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.updateImpl
(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.
-
Constructor Details
-
CommerceNotificationQueueEntryUtil
public CommerceNotificationQueueEntryUtil()Deprecated.
-
-
Method Details
-
clearCache
public static void clearCache()Deprecated.- See Also:
-
BasePersistence.clearCache()
-
clearCache
Deprecated.- See Also:
-
BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
BasePersistence.countWithDynamicQuery(DynamicQuery)
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceNotificationQueueEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.- See Also:
-
BasePersistence.fetchByPrimaryKeys(Set)
-
findWithDynamicQuery
public static List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery)
-
findWithDynamicQuery
public static List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
-
findWithDynamicQuery
public static List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.- See Also:
-
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
-
update
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
-
update
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- See Also:
-
BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
-
findByGroupId
Deprecated.Returns all the commerce notification queue entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the matching commerce notification queue entries
-
findByGroupId
Deprecated.Returns a range of all the commerce notification queue entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce notification queue entries
-
findByGroupId
public static List<CommerceNotificationQueueEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce notification queue entries
-
findByGroupId
public static List<CommerceNotificationQueueEntry> findByGroupId(long groupId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification queue entries
-
findByGroupId_First
public static CommerceNotificationQueueEntry findByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByGroupId_First
public static CommerceNotificationQueueEntry fetchByGroupId_First(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByGroupId_Last
public static CommerceNotificationQueueEntry findByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByGroupId_Last
public static CommerceNotificationQueueEntry fetchByGroupId_Last(long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ?.- Parameters:
groupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByGroupId_PrevAndNext
public static CommerceNotificationQueueEntry[] findByGroupId_PrevAndNext(long commerceNotificationQueueEntryId, long groupId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where groupId = ?.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrygroupId
- the group IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
removeByGroupId
public static void removeByGroupId(long groupId) Deprecated.Removes all the commerce notification queue entries where groupId = ? from the database.- Parameters:
groupId
- the group ID
-
countByGroupId
public static int countByGroupId(long groupId) Deprecated.Returns the number of commerce notification queue entries where groupId = ?.- Parameters:
groupId
- the group ID- Returns:
- the number of matching commerce notification queue entries
-
findByCommerceNotificationTemplateId
public static List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Returns all the commerce notification queue entries where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID- Returns:
- the matching commerce notification queue entries
-
findByCommerceNotificationTemplateId
public static List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce notification queue entries
-
findByCommerceNotificationTemplateId
public static List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce notification queue entries
-
findByCommerceNotificationTemplateId
public static List<CommerceNotificationQueueEntry> findByCommerceNotificationTemplateId(long commerceNotificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where commerceNotificationTemplateId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification queue entries
-
findByCommerceNotificationTemplateId_First
public static CommerceNotificationQueueEntry findByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByCommerceNotificationTemplateId_First
public static CommerceNotificationQueueEntry fetchByCommerceNotificationTemplateId_First(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByCommerceNotificationTemplateId_Last
public static CommerceNotificationQueueEntry findByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the last commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByCommerceNotificationTemplateId_Last
public static CommerceNotificationQueueEntry fetchByCommerceNotificationTemplateId_Last(long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByCommerceNotificationTemplateId_PrevAndNext
public static CommerceNotificationQueueEntry[] findByCommerceNotificationTemplateId_PrevAndNext(long commerceNotificationQueueEntryId, long commerceNotificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrycommerceNotificationTemplateId
- the commerce notification template IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
removeByCommerceNotificationTemplateId
public static void removeByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Removes all the commerce notification queue entries where commerceNotificationTemplateId = ? from the database.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID
-
countByCommerceNotificationTemplateId
public static int countByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification queue entries where commerceNotificationTemplateId = ?.- Parameters:
commerceNotificationTemplateId
- the commerce notification template ID- Returns:
- the number of matching commerce notification queue entries
-
findBySent
Deprecated.Returns all the commerce notification queue entries where sent = ?.- Parameters:
sent
- the sent- Returns:
- the matching commerce notification queue entries
-
findBySent
Deprecated.Returns a range of all the commerce notification queue entries where sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce notification queue entries
-
findBySent
public static List<CommerceNotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce notification queue entries
-
findBySent
public static List<CommerceNotificationQueueEntry> findBySent(boolean sent, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification queue entries
-
findBySent_First
public static CommerceNotificationQueueEntry findBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the first commerce notification queue entry in the ordered set where sent = ?.- Parameters:
sent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchBySent_First
public static CommerceNotificationQueueEntry fetchBySent_First(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sent = ?.- Parameters:
sent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findBySent_Last
public static CommerceNotificationQueueEntry findBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the last commerce notification queue entry in the ordered set where sent = ?.- Parameters:
sent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchBySent_Last
public static CommerceNotificationQueueEntry fetchBySent_Last(boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where sent = ?.- Parameters:
sent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findBySent_PrevAndNext
public static CommerceNotificationQueueEntry[] findBySent_PrevAndNext(long commerceNotificationQueueEntryId, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sent = ?.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrysent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
removeBySent
public static void removeBySent(boolean sent) Deprecated.Removes all the commerce notification queue entries where sent = ? from the database.- Parameters:
sent
- the sent
-
countBySent
public static int countBySent(boolean sent) Deprecated.Returns the number of commerce notification queue entries where sent = ?.- Parameters:
sent
- the sent- Returns:
- the number of matching commerce notification queue entries
-
findByLtSentDate
Deprecated.Returns all the commerce notification queue entries where sentDate < ?.- Parameters:
sentDate
- the sent date- Returns:
- the matching commerce notification queue entries
-
findByLtSentDate
public static List<CommerceNotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where sentDate < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce notification queue entries
-
findByLtSentDate
public static List<CommerceNotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries where sentDate < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce notification queue entries
-
findByLtSentDate
public static List<CommerceNotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries where sentDate < ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification queue entries
-
findByLtSentDate_First
public static CommerceNotificationQueueEntry findByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the first commerce notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByLtSentDate_First
public static CommerceNotificationQueueEntry fetchByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByLtSentDate_Last
public static CommerceNotificationQueueEntry findByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the last commerce notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByLtSentDate_Last
public static CommerceNotificationQueueEntry fetchByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where sentDate < ?.- Parameters:
sentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByLtSentDate_PrevAndNext
public static CommerceNotificationQueueEntry[] findByLtSentDate_PrevAndNext(long commerceNotificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException Deprecated.Returns the commerce notification queue entries before and after the current commerce notification queue entry in the ordered set where sentDate < ?.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the current commerce notification queue entrysentDate
- the sent dateorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
removeByLtSentDate
Deprecated.Removes all the commerce notification queue entries where sentDate < ? from the database.- Parameters:
sentDate
- the sent date
-
countByLtSentDate
Deprecated.Returns the number of commerce notification queue entries where sentDate < ?.- Parameters:
sentDate
- the sent date- Returns:
- the number of matching commerce notification queue entries
-
findByG_C_C_S
public static List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent) Deprecated.Returns all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sent- Returns:
- the matching commerce notification queue entries
-
findByG_C_C_S
public static List<CommerceNotificationQueueEntry> findByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent, int start, int end) Deprecated.Returns a range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of matching commerce notification queue entries
-
findByG_C_C_S
public static 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) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of matching commerce notification queue entries
-
findByG_C_C_S
public static 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) Deprecated.Returns an ordered range of all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching commerce notification queue entries
-
findByG_C_C_S_First
public 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 Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByG_C_C_S_First
public static CommerceNotificationQueueEntry fetchByG_C_C_S_First(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the first commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByG_C_C_S_Last
public 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 Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a matching commerce notification queue entry could not be foundNoSuchNotificationQueueEntryException
-
fetchByG_C_C_S_Last
public static CommerceNotificationQueueEntry fetchByG_C_C_S_Last(long groupId, long classNameId, long classPK, boolean sent, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns the last commerce notification queue entry in the ordered set where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sentorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching commerce notification queue entry, or
null
if a matching commerce notification queue entry could not be found
-
findByG_C_C_S_PrevAndNext
public 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 Deprecated.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 = ?.- Parameters:
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 (optionallynull
)- Returns:
- the previous, current, and next commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
removeByG_C_C_S
public static void removeByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent) Deprecated.Removes all the commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ? from the database.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sent
-
countByG_C_C_S
public static int countByG_C_C_S(long groupId, long classNameId, long classPK, boolean sent) Deprecated.Returns the number of commerce notification queue entries where groupId = ? and classNameId = ? and classPK = ? and sent = ?.- Parameters:
groupId
- the group IDclassNameId
- the class name IDclassPK
- the class pksent
- the sent- Returns:
- the number of matching commerce notification queue entries
-
cacheResult
Deprecated.Caches the commerce notification queue entry in the entity cache if it is enabled.- Parameters:
commerceNotificationQueueEntry
- the commerce notification queue entry
-
cacheResult
public static void cacheResult(List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) Deprecated.Caches the commerce notification queue entries in the entity cache if it is enabled.- Parameters:
commerceNotificationQueueEntries
- the commerce notification queue entries
-
create
Deprecated.Creates a new commerce notification queue entry with the primary key. Does not add the commerce notification queue entry to the database.- Parameters:
commerceNotificationQueueEntryId
- the primary key for the new commerce notification queue entry- Returns:
- the new commerce notification queue entry
-
remove
public static CommerceNotificationQueueEntry remove(long commerceNotificationQueueEntryId) throws NoSuchNotificationQueueEntryException Deprecated.Removes the commerce notification queue entry with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entry- Returns:
- the commerce notification queue entry that was removed
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
updateImpl
public static CommerceNotificationQueueEntry updateImpl(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated. -
findByPrimaryKey
public static CommerceNotificationQueueEntry findByPrimaryKey(long commerceNotificationQueueEntryId) throws NoSuchNotificationQueueEntryException Deprecated.Returns the commerce notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryException
if it could not be found.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entry- Returns:
- the commerce notification queue entry
- Throws:
NoSuchNotificationQueueEntryException
- if a commerce notification queue entry with the primary key could not be foundNoSuchNotificationQueueEntryException
-
fetchByPrimaryKey
public static CommerceNotificationQueueEntry fetchByPrimaryKey(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or returnsnull
if it could not be found.- Parameters:
commerceNotificationQueueEntryId
- the primary key of the commerce notification queue entry- Returns:
- the commerce notification queue entry, or
null
if a commerce notification queue entry with the primary key could not be found
-
findAll
Deprecated.Returns all the commerce notification queue entries.- Returns:
- the commerce notification queue entries
-
findAll
Deprecated.Returns a range of all the commerce notification queue entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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)- Returns:
- the range of commerce notification queue entries
-
findAll
public static List<CommerceNotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator) Deprecated.Returns an ordered range of all the commerce notification queue entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)- Returns:
- the ordered range of commerce notification queue entries
-
findAll
public static List<CommerceNotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceNotificationQueueEntry> orderByComparator, boolean useFinderCache) Deprecated.Returns an ordered range of all the commerce notification queue entries.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromCommerceNotificationQueueEntryModelImpl
.- Parameters:
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 (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of commerce notification queue entries
-
removeAll
public static void removeAll()Deprecated.Removes all the commerce notification queue entries from the database. -
countAll
public static int countAll()Deprecated.Returns the number of commerce notification queue entries.- Returns:
- the number of commerce notification queue entries
-
getPersistence
Deprecated. -
setPersistence
Deprecated.
-