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 voidcacheResult(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.static voidcacheResult(List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) Deprecated.static voidDeprecated.static voidclearCache(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.static intcountByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Returns the number of commerce notification queue entries where commerceNotificationTemplateId = ?.static intcountByG_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 intcountByGroupId(long groupId) Deprecated.Returns the number of commerce notification queue entries where groupId = ?.static intcountByLtSentDate(Date sentDate) Deprecated.Returns the number of commerce notification queue entries where sentDate < ?.static intcountBySent(boolean sent) Deprecated.Returns the number of commerce notification queue entries where sent = ?.static longcountWithDynamicQuery(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 = ?.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 = ?.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 = ?.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 < ?.fetchByPrimaryKey(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or returnsnullif 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 = ?.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 = ?.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 = ?.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 = ?.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 < ?.findByPrimaryKey(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or throws aNoSuchNotificationQueueEntryExceptionif 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 = ?.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 voidremoveByCommerceNotificationTemplateId(long commerceNotificationTemplateId) Deprecated.Removes all the commerce notification queue entries where commerceNotificationTemplateId = ? from the database.static voidremoveByG_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 voidremoveByGroupId(long groupId) Deprecated.Removes all the commerce notification queue entries where groupId = ? from the database.static voidremoveByLtSentDate(Date sentDate) Deprecated.Removes all the commerce notification queue entries where sentDate < ? from the database.static voidremoveBySent(boolean sent) Deprecated.Removes all the commerce notification queue entries where sent = ? from the database.static voidsetPersistence(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
-
cacheResult
public static void cacheResult(List<CommerceNotificationQueueEntry> commerceNotificationQueueEntries) Deprecated.- See Also:
-
cacheResult
Deprecated.- See Also:
-
clearCache
public static void clearCache()Deprecated.- See Also:
-
clearCache
Deprecated.- See Also:
-
countWithDynamicQuery
public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
fetchByPrimaryKeys
public static Map<Serializable,CommerceNotificationQueueEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys) Deprecated.- See Also:
-
findWithDynamicQuery
public static List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) Deprecated.- See Also:
-
findWithDynamicQuery
public static List<CommerceNotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) Deprecated.- See Also:
-
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:
-
update
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry) Deprecated.- See Also:
-
update
public static CommerceNotificationQueueEntry update(CommerceNotificationQueueEntry commerceNotificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext) Deprecated.- See Also:
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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
nullif a matching commerce notification queue entry could not be found
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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
nullif a matching commerce notification queue entry could not be found
-
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
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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
nullif a matching commerce notification queue entry could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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
nullif a matching commerce notification queue entry could not be found
-
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, 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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
nullif a matching commerce notification queue entry could not be found
-
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
-
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
-
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 aNoSuchNotificationQueueEntryExceptionif it could not be found.- Parameters:
commerceNotificationQueueEntryId- the primary key of the commerce notification queue entry- Returns:
- the commerce notification queue entry
-
fetchByPrimaryKey
public static CommerceNotificationQueueEntry fetchByPrimaryKey(long commerceNotificationQueueEntryId) Deprecated.Returns the commerce notification queue entry with the primary key or returnsnullif it could not be found.- Parameters:
commerceNotificationQueueEntryId- the primary key of the commerce notification queue entry- Returns:
- the commerce notification queue entry, or
nullif a commerce notification queue entry with the primary key could not be found
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtocom.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromcom.liferay.commerce.notification.model.impl.CommerceNotificationQueueEntryModelImpl.- 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
-
getPersistence
Deprecated. -
setPersistence
Deprecated.
-