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

    • cacheResult

      public static void cacheResult(List<NotificationQueueEntry> notificationQueueEntries)
      See Also:
      • BasePersistence.cacheResult(List)
    • cacheResult

      public static void cacheResult(NotificationQueueEntry notificationQueueEntry)
      See Also:
      • BasePersistence.cacheResult(com.liferay.portal.kernel.model.BaseModel)
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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, 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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
    • 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
    • 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
    • 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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • 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 com.liferay.portal.kernel.dao.orm.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 com.liferay.notification.model.impl.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
    • getPersistence

      public static NotificationQueueEntryPersistence getPersistence()
    • setPersistence

      public static void setPersistence(NotificationQueueEntryPersistence persistence)