Class NotificationQueueEntryUtil

java.lang.Object
com.liferay.notification.service.persistence.NotificationQueueEntryUtil

public class NotificationQueueEntryUtil extends Object
The persistence utility for the notification queue entry service. This utility wraps com.liferay.notification.service.persistence.impl.NotificationQueueEntryPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
Generated:
  • Constructor Details

    • NotificationQueueEntryUtil

      public NotificationQueueEntryUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
      • BasePersistence.clearCache()
    • clearCache

      public static void clearCache(NotificationQueueEntry notificationQueueEntry)
      See Also:
      • BasePersistence.clearCache(com.liferay.portal.kernel.model.BaseModel)
    • countWithDynamicQuery

      public static long countWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.countWithDynamicQuery(DynamicQuery)
    • fetchByPrimaryKeys

      public static Map<Serializable,NotificationQueueEntry> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
      See Also:
      • BasePersistence.fetchByPrimaryKeys(Set)
    • findWithDynamicQuery

      public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery)
    • findWithDynamicQuery

      public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
    • findWithDynamicQuery

      public static List<NotificationQueueEntry> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      See Also:
      • BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
    • update

      public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel)
    • update

      public static NotificationQueueEntry update(NotificationQueueEntry notificationQueueEntry, com.liferay.portal.kernel.service.ServiceContext serviceContext)
      See Also:
      • BasePersistence.update(com.liferay.portal.kernel.model.BaseModel, ServiceContext)
    • findByCompanyId

      public static List<NotificationQueueEntry> findByCompanyId(long companyId)
      Returns all the notification queue entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching notification queue entries
    • findByCompanyId

      public static List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end)
      Returns a range of all the notification queue entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries
    • findByCompanyId

      public static List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries
    • findByCompanyId

      public static List<NotificationQueueEntry> findByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification queue entries where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching notification queue entries
    • findByCompanyId_First

      public static NotificationQueueEntry findByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the first notification queue entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByCompanyId_First

      public static NotificationQueueEntry fetchByCompanyId_First(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the first notification queue entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByCompanyId_Last

      public static NotificationQueueEntry findByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the last notification queue entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByCompanyId_Last

      public static NotificationQueueEntry fetchByCompanyId_Last(long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the last notification queue entry in the ordered set where companyId = ?.
      Parameters:
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByCompanyId_PrevAndNext

      public static NotificationQueueEntry[] findByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set where companyId = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • filterFindByCompanyId

      public static List<NotificationQueueEntry> filterFindByCompanyId(long companyId)
      Returns all the notification queue entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the matching notification queue entries that the user has permission to view
    • filterFindByCompanyId

      public static List<NotificationQueueEntry> filterFindByCompanyId(long companyId, int start, int end)
      Returns a range of all the notification queue entries that the user has permission to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries that the user has permission to view
    • filterFindByCompanyId

      public static List<NotificationQueueEntry> filterFindByCompanyId(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries that the user has permissions to view where companyId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      companyId - the company ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries that the user has permission to view
    • filterFindByCompanyId_PrevAndNext

      public static NotificationQueueEntry[] filterFindByCompanyId_PrevAndNext(long notificationQueueEntryId, long companyId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where companyId = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • removeByCompanyId

      public static void removeByCompanyId(long companyId)
      Removes all the notification queue entries where companyId = ? from the database.
      Parameters:
      companyId - the company ID
    • countByCompanyId

      public static int countByCompanyId(long companyId)
      Returns the number of notification queue entries where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching notification queue entries
    • filterCountByCompanyId

      public static int filterCountByCompanyId(long companyId)
      Returns the number of notification queue entries that the user has permission to view where companyId = ?.
      Parameters:
      companyId - the company ID
      Returns:
      the number of matching notification queue entries that the user has permission to view
    • findByNotificationTemplateId

      public static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId)
      Returns all the notification queue entries where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      Returns:
      the matching notification queue entries
    • findByNotificationTemplateId

      public static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end)
      Returns a range of all the notification queue entries where notificationTemplateId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      notificationTemplateId - the notification template ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries
    • findByNotificationTemplateId

      public static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      notificationTemplateId - the notification template ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries
    • findByNotificationTemplateId

      public static List<NotificationQueueEntry> findByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification queue entries where notificationTemplateId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      notificationTemplateId - the notification template ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching notification queue entries
    • findByNotificationTemplateId_First

      public static NotificationQueueEntry findByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByNotificationTemplateId_First

      public static NotificationQueueEntry fetchByNotificationTemplateId_First(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the first notification queue entry in the ordered set where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByNotificationTemplateId_Last

      public static NotificationQueueEntry findByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByNotificationTemplateId_Last

      public static NotificationQueueEntry fetchByNotificationTemplateId_Last(long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the last notification queue entry in the ordered set where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByNotificationTemplateId_PrevAndNext

      public static NotificationQueueEntry[] findByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set where notificationTemplateId = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • filterFindByNotificationTemplateId

      public static List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId)
      Returns all the notification queue entries that the user has permission to view where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      Returns:
      the matching notification queue entries that the user has permission to view
    • filterFindByNotificationTemplateId

      public static List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end)
      Returns a range of all the notification queue entries that the user has permission to view where notificationTemplateId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      notificationTemplateId - the notification template ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries that the user has permission to view
    • filterFindByNotificationTemplateId

      public static List<NotificationQueueEntry> filterFindByNotificationTemplateId(long notificationTemplateId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries that the user has permissions to view where notificationTemplateId = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      notificationTemplateId - the notification template ID
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries that the user has permission to view
    • filterFindByNotificationTemplateId_PrevAndNext

      public static NotificationQueueEntry[] filterFindByNotificationTemplateId_PrevAndNext(long notificationQueueEntryId, long notificationTemplateId, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where notificationTemplateId = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      notificationTemplateId - the notification template ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • removeByNotificationTemplateId

      public static void removeByNotificationTemplateId(long notificationTemplateId)
      Removes all the notification queue entries where notificationTemplateId = ? from the database.
      Parameters:
      notificationTemplateId - the notification template ID
    • countByNotificationTemplateId

      public static int countByNotificationTemplateId(long notificationTemplateId)
      Returns the number of notification queue entries where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      Returns:
      the number of matching notification queue entries
    • filterCountByNotificationTemplateId

      public static int filterCountByNotificationTemplateId(long notificationTemplateId)
      Returns the number of notification queue entries that the user has permission to view where notificationTemplateId = ?.
      Parameters:
      notificationTemplateId - the notification template ID
      Returns:
      the number of matching notification queue entries that the user has permission to view
    • findByLtSentDate

      public static List<NotificationQueueEntry> findByLtSentDate(Date sentDate)
      Returns all the notification queue entries where sentDate < ?.
      Parameters:
      sentDate - the sent date
      Returns:
      the matching notification queue entries
    • findByLtSentDate

      public static List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end)
      Returns a range of all the notification queue entries where sentDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      sentDate - the sent date
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries
    • findByLtSentDate

      public static List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries where sentDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      sentDate - the sent date
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries
    • findByLtSentDate

      public static List<NotificationQueueEntry> findByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification queue entries where sentDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      sentDate - the sent date
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching notification queue entries
    • findByLtSentDate_First

      public static NotificationQueueEntry findByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the first notification queue entry in the ordered set where sentDate < ?.
      Parameters:
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByLtSentDate_First

      public static NotificationQueueEntry fetchByLtSentDate_First(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the first notification queue entry in the ordered set where sentDate < ?.
      Parameters:
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByLtSentDate_Last

      public static NotificationQueueEntry findByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the last notification queue entry in the ordered set where sentDate < ?.
      Parameters:
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByLtSentDate_Last

      public static NotificationQueueEntry fetchByLtSentDate_Last(Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the last notification queue entry in the ordered set where sentDate < ?.
      Parameters:
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByLtSentDate_PrevAndNext

      public static NotificationQueueEntry[] findByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set where sentDate < ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • filterFindByLtSentDate

      public static List<NotificationQueueEntry> filterFindByLtSentDate(Date sentDate)
      Returns all the notification queue entries that the user has permission to view where sentDate < ?.
      Parameters:
      sentDate - the sent date
      Returns:
      the matching notification queue entries that the user has permission to view
    • filterFindByLtSentDate

      public static List<NotificationQueueEntry> filterFindByLtSentDate(Date sentDate, int start, int end)
      Returns a range of all the notification queue entries that the user has permission to view where sentDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      sentDate - the sent date
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries that the user has permission to view
    • filterFindByLtSentDate

      public static List<NotificationQueueEntry> filterFindByLtSentDate(Date sentDate, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries that the user has permissions to view where sentDate < ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      sentDate - the sent date
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries that the user has permission to view
    • filterFindByLtSentDate_PrevAndNext

      public static NotificationQueueEntry[] filterFindByLtSentDate_PrevAndNext(long notificationQueueEntryId, Date sentDate, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where sentDate < ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      sentDate - the sent date
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • removeByLtSentDate

      public static void removeByLtSentDate(Date sentDate)
      Removes all the notification queue entries where sentDate < ? from the database.
      Parameters:
      sentDate - the sent date
    • countByLtSentDate

      public static int countByLtSentDate(Date sentDate)
      Returns the number of notification queue entries where sentDate < ?.
      Parameters:
      sentDate - the sent date
      Returns:
      the number of matching notification queue entries
    • filterCountByLtSentDate

      public static int filterCountByLtSentDate(Date sentDate)
      Returns the number of notification queue entries that the user has permission to view where sentDate < ?.
      Parameters:
      sentDate - the sent date
      Returns:
      the number of matching notification queue entries that the user has permission to view
    • findByT_S

      public static List<NotificationQueueEntry> findByT_S(String type, int status)
      Returns all the notification queue entries where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      Returns:
      the matching notification queue entries
    • findByT_S

      public static List<NotificationQueueEntry> findByT_S(String type, int status, int start, int end)
      Returns a range of all the notification queue entries where type = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      type - the type
      status - the status
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries
    • findByT_S

      public static List<NotificationQueueEntry> findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries where type = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      type - the type
      status - the status
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries
    • findByT_S

      public static List<NotificationQueueEntry> findByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification queue entries where type = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      type - the type
      status - the status
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of matching notification queue entries
    • findByT_S_First

      public static NotificationQueueEntry findByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the first notification queue entry in the ordered set where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByT_S_First

      public static NotificationQueueEntry fetchByT_S_First(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the first notification queue entry in the ordered set where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByT_S_Last

      public static NotificationQueueEntry findByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the last notification queue entry in the ordered set where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a matching notification queue entry could not be found
      NoSuchNotificationQueueEntryException
    • fetchByT_S_Last

      public static NotificationQueueEntry fetchByT_S_Last(String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns the last notification queue entry in the ordered set where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching notification queue entry, or null if a matching notification queue entry could not be found
    • findByT_S_PrevAndNext

      public static NotificationQueueEntry[] findByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set where type = ? and status = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • filterFindByT_S

      public static List<NotificationQueueEntry> filterFindByT_S(String type, int status)
      Returns all the notification queue entries that the user has permission to view where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      Returns:
      the matching notification queue entries that the user has permission to view
    • filterFindByT_S

      public static List<NotificationQueueEntry> filterFindByT_S(String type, int status, int start, int end)
      Returns a range of all the notification queue entries that the user has permission to view where type = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      type - the type
      status - the status
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of matching notification queue entries that the user has permission to view
    • filterFindByT_S

      public static List<NotificationQueueEntry> filterFindByT_S(String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries that the user has permissions to view where type = ? and status = ?.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      type - the type
      status - the status
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching notification queue entries that the user has permission to view
    • filterFindByT_S_PrevAndNext

      public static NotificationQueueEntry[] filterFindByT_S_PrevAndNext(long notificationQueueEntryId, String type, int status, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entries before and after the current notification queue entry in the ordered set of notification queue entries that the user has permission to view where type = ? and status = ?.
      Parameters:
      notificationQueueEntryId - the primary key of the current notification queue entry
      type - the type
      status - the status
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • removeByT_S

      public static void removeByT_S(String type, int status)
      Removes all the notification queue entries where type = ? and status = ? from the database.
      Parameters:
      type - the type
      status - the status
    • countByT_S

      public static int countByT_S(String type, int status)
      Returns the number of notification queue entries where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      Returns:
      the number of matching notification queue entries
    • filterCountByT_S

      public static int filterCountByT_S(String type, int status)
      Returns the number of notification queue entries that the user has permission to view where type = ? and status = ?.
      Parameters:
      type - the type
      status - the status
      Returns:
      the number of matching notification queue entries that the user has permission to view
    • cacheResult

      public static void cacheResult(NotificationQueueEntry notificationQueueEntry)
      Caches the notification queue entry in the entity cache if it is enabled.
      Parameters:
      notificationQueueEntry - the notification queue entry
    • cacheResult

      public static void cacheResult(List<NotificationQueueEntry> notificationQueueEntries)
      Caches the notification queue entries in the entity cache if it is enabled.
      Parameters:
      notificationQueueEntries - the notification queue entries
    • create

      public static NotificationQueueEntry create(long notificationQueueEntryId)
      Creates a new notification queue entry with the primary key. Does not add the notification queue entry to the database.
      Parameters:
      notificationQueueEntryId - the primary key for the new notification queue entry
      Returns:
      the new notification queue entry
    • remove

      public static NotificationQueueEntry remove(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException
      Removes the notification queue entry with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      notificationQueueEntryId - the primary key of the notification queue entry
      Returns:
      the notification queue entry that was removed
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • updateImpl

      public static NotificationQueueEntry updateImpl(NotificationQueueEntry notificationQueueEntry)
    • findByPrimaryKey

      public static NotificationQueueEntry findByPrimaryKey(long notificationQueueEntryId) throws NoSuchNotificationQueueEntryException
      Returns the notification queue entry with the primary key or throws a NoSuchNotificationQueueEntryException if it could not be found.
      Parameters:
      notificationQueueEntryId - the primary key of the notification queue entry
      Returns:
      the notification queue entry
      Throws:
      NoSuchNotificationQueueEntryException - if a notification queue entry with the primary key could not be found
      NoSuchNotificationQueueEntryException
    • fetchByPrimaryKey

      public static NotificationQueueEntry fetchByPrimaryKey(long notificationQueueEntryId)
      Returns the notification queue entry with the primary key or returns null if it could not be found.
      Parameters:
      notificationQueueEntryId - the primary key of the notification queue entry
      Returns:
      the notification queue entry, or null if a notification queue entry with the primary key could not be found
    • findAll

      public static List<NotificationQueueEntry> findAll()
      Returns all the notification queue entries.
      Returns:
      the notification queue entries
    • findAll

      public static List<NotificationQueueEntry> findAll(int start, int end)
      Returns a range of all the notification queue entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      Returns:
      the range of notification queue entries
    • findAll

      public static List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator)
      Returns an ordered range of all the notification queue entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of notification queue entries
    • findAll

      public static List<NotificationQueueEntry> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<NotificationQueueEntry> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the notification queue entries.

      Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent, then the query will include the default ORDER BY logic from NotificationQueueEntryModelImpl.

      Parameters:
      start - the lower bound of the range of notification queue entries
      end - the upper bound of the range of notification queue entries (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      useFinderCache - whether to use the finder cache
      Returns:
      the ordered range of notification queue entries
    • removeAll

      public static void removeAll()
      Removes all the notification queue entries from the database.
    • countAll

      public static int countAll()
      Returns the number of notification queue entries.
      Returns:
      the number of notification queue entries
    • getPersistence

      public static NotificationQueueEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(NotificationQueueEntryPersistence persistence)