Interface UserNotificationEventPersistence

All Superinterfaces:
BasePersistence<UserNotificationEvent>

@ProviderType public interface UserNotificationEventPersistence extends BasePersistence<UserNotificationEvent>
The persistence interface for the user notification event service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
{$generated.description}
  • Method Details

    • findByUuid

      List<UserNotificationEvent> findByUuid(String uuid)
      Returns all the user notification events where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the matching user notification events
    • findByUuid

      List<UserNotificationEvent> findByUuid(String uuid, int start, int end)
      Returns a range of all the user notification events where uuid = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByUuid

      List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where uuid = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByUuid

      List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where uuid = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      uuid - the uuid
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByUuid_First

      Returns the first user notification event in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_First

      UserNotificationEvent fetchByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByUuid_Last

      Returns the last user notification event in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_Last

      UserNotificationEvent fetchByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where uuid = ?.
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByUuid_PrevAndNext

      UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId, String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByUuid

      void removeByUuid(String uuid)
      Removes all the user notification events where uuid = ? from the database.
      Parameters:
      uuid - the uuid
    • countByUuid

      int countByUuid(String uuid)
      Returns the number of user notification events where uuid = ?.
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching user notification events
    • findByUuid_C

      List<UserNotificationEvent> findByUuid_C(String uuid, long companyId)
      Returns all the user notification events where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching user notification events
    • findByUuid_C

      List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end)
      Returns a range of all the user notification events where uuid = ? and 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 UserNotificationEventModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByUuid_C

      List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where uuid = ? and 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 UserNotificationEventModelImpl.

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

      List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where uuid = ? and 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 UserNotificationEventModelImpl.

      Parameters:
      uuid - the uuid
      companyId - the company ID
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByUuid_C_First

      UserNotificationEvent findByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_C_First

      UserNotificationEvent fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByUuid_C_Last

      UserNotificationEvent findByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_C_Last

      UserNotificationEvent fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByUuid_C_PrevAndNext

      UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      uuid - the uuid
      companyId - the company ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByUuid_C

      void removeByUuid_C(String uuid, long companyId)
      Removes all the user notification events where uuid = ? and companyId = ? from the database.
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      int countByUuid_C(String uuid, long companyId)
      Returns the number of user notification events where uuid = ? and companyId = ?.
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching user notification events
    • findByUserId

      List<UserNotificationEvent> findByUserId(long userId)
      Returns all the user notification events where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the matching user notification events
    • findByUserId

      List<UserNotificationEvent> findByUserId(long userId, int start, int end)
      Returns a range of all the user notification events where userId = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByUserId

      List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByUserId

      List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByUserId_First

      UserNotificationEvent findByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUserId_First

      UserNotificationEvent fetchByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByUserId_Last

      UserNotificationEvent findByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUserId_Last

      UserNotificationEvent fetchByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ?.
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByUserId_PrevAndNext

      UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId, long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByUserId

      void removeByUserId(long userId)
      Removes all the user notification events where userId = ? from the database.
      Parameters:
      userId - the user ID
    • countByUserId

      int countByUserId(long userId)
      Returns the number of user notification events where userId = ?.
      Parameters:
      userId - the user ID
      Returns:
      the number of matching user notification events
    • findByType

      List<UserNotificationEvent> findByType(String type)
      Returns all the user notification events where type = ?.
      Parameters:
      type - the type
      Returns:
      the matching user notification events
    • findByType

      List<UserNotificationEvent> findByType(String type, int start, int end)
      Returns a range of all the user notification events where type = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      type - the type
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByType

      List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where type = ?.

      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 UserNotificationEventModelImpl.

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

      List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where type = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      type - the type
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByType_First

      Returns the first user notification event in the ordered set where type = ?.
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByType_First

      UserNotificationEvent fetchByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where type = ?.
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByType_Last

      Returns the last user notification event in the ordered set where type = ?.
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByType_Last

      UserNotificationEvent fetchByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where type = ?.
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByType_PrevAndNext

      UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId, String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where type = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByType

      void removeByType(String type)
      Removes all the user notification events where type = ? from the database.
      Parameters:
      type - the type
    • countByType

      int countByType(String type)
      Returns the number of user notification events where type = ?.
      Parameters:
      type - the type
      Returns:
      the number of matching user notification events
    • findByU_DT

      List<UserNotificationEvent> findByU_DT(long userId, int deliveryType)
      Returns all the user notification events where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      Returns:
      the matching user notification events
    • findByU_DT

      List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT

      List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT

      List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_First

      UserNotificationEvent findByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_First

      UserNotificationEvent fetchByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_Last

      UserNotificationEvent findByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_Last

      UserNotificationEvent fetchByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_PrevAndNext

      UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT

      void removeByU_DT(long userId, int deliveryType)
      Removes all the user notification events where userId = ? and deliveryType = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
    • countByU_DT

      int countByU_DT(long userId, int deliveryType)
      Returns the number of user notification events where userId = ? and deliveryType = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      Returns:
      the number of matching user notification events
    • findByU_D

      List<UserNotificationEvent> findByU_D(long userId, boolean delivered)
      Returns all the user notification events where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_D

      List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end)
      Returns a range of all the user notification events where userId = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_D

      List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_D

      List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_D_First

      UserNotificationEvent findByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_First

      UserNotificationEvent fetchByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_Last

      UserNotificationEvent findByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_Last

      UserNotificationEvent fetchByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_PrevAndNext

      UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_D

      void removeByU_D(long userId, boolean delivered)
      Removes all the user notification events where userId = ? and delivered = ? from the database.
      Parameters:
      userId - the user ID
      delivered - the delivered
    • countByU_D

      int countByU_D(long userId, boolean delivered)
      Returns the number of user notification events where userId = ? and delivered = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_A

      List<UserNotificationEvent> findByU_A(long userId, boolean archived)
      Returns all the user notification events where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_A

      List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_A

      List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_A

      List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_A_First

      UserNotificationEvent findByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_A_First

      UserNotificationEvent fetchByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_A_Last

      UserNotificationEvent findByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_A_Last

      UserNotificationEvent fetchByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_A_PrevAndNext

      UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_A

      void removeByU_A(long userId, boolean archived)
      Removes all the user notification events where userId = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      archived - the archived
    • countByU_A

      int countByU_A(long userId, boolean archived)
      Returns the number of user notification events where userId = ? and archived = ?.
      Parameters:
      userId - the user ID
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_DT_D

      List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered)
      Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_DT_D

      List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_D

      List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_D

      List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_D_First

      UserNotificationEvent findByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_First

      UserNotificationEvent fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_Last

      UserNotificationEvent findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_Last

      UserNotificationEvent fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_PrevAndNext

      UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_D

      void removeByU_DT_D(long userId, int deliveryType, boolean delivered)
      Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
    • countByU_DT_D

      int countByU_DT_D(long userId, int deliveryType, boolean delivered)
      Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_DT_A

      List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived)
      Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_DT_A

      List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_A

      List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_A

      List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_A_First

      UserNotificationEvent findByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_A_First

      UserNotificationEvent fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_A_Last

      UserNotificationEvent findByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_A_Last

      UserNotificationEvent fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_A_PrevAndNext

      UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_A

      void removeByU_DT_A(long userId, int deliveryType, boolean archived)
      Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
    • countByU_DT_A

      int countByU_DT_A(long userId, int deliveryType, boolean archived)
      Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_D_AR

      List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired)
      Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the matching user notification events
    • findByU_D_AR

      List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end)
      Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_D_AR

      List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_D_AR

      List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_D_AR_First

      UserNotificationEvent findByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_First

      UserNotificationEvent fetchByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_AR_Last

      UserNotificationEvent findByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_Last

      UserNotificationEvent fetchByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_AR_PrevAndNext

      UserNotificationEvent[] findByU_D_AR_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_D_AR

      void removeByU_D_AR(long userId, boolean delivered, boolean actionRequired)
      Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
    • countByU_D_AR

      int countByU_D_AR(long userId, boolean delivered, boolean actionRequired)
      Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the number of matching user notification events
    • findByU_D_A

      List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived)
      Returns all the user notification events where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_D_A

      List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_D_A

      List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_D_A

      List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_D_A_First

      UserNotificationEvent findByU_D_A_First(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_A_First

      UserNotificationEvent fetchByU_D_A_First(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_A_Last

      UserNotificationEvent findByU_D_A_Last(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_A_Last

      UserNotificationEvent fetchByU_D_A_Last(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_A_PrevAndNext

      UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_D_A

      void removeByU_D_A(long userId, boolean delivered, boolean archived)
      Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
    • countByU_D_A

      int countByU_D_A(long userId, boolean delivered, boolean archived)
      Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_AR_A

      List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived)
      Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_AR_A

      List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_AR_A

      List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_AR_A

      List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_AR_A_First

      UserNotificationEvent findByU_AR_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_AR_A_First

      UserNotificationEvent fetchByU_AR_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_AR_A_Last

      UserNotificationEvent findByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_AR_A_Last

      UserNotificationEvent fetchByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_AR_A_PrevAndNext

      UserNotificationEvent[] findByU_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_AR_A

      void removeByU_AR_A(long userId, boolean actionRequired, boolean archived)
      Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
    • countByU_AR_A

      int countByU_AR_A(long userId, boolean actionRequired, boolean archived)
      Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_T_GteT_D

      List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered)
      Returns all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_T_GteT_D

      List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end)
      Returns a range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_T_GteT_D

      List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_T_GteT_D

      List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_T_GteT_D_First

      UserNotificationEvent findByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_GteT_D_First

      UserNotificationEvent fetchByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_GteT_D_Last

      UserNotificationEvent findByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_GteT_D_Last

      UserNotificationEvent fetchByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_GteT_D_PrevAndNext

      UserNotificationEvent[] findByU_T_GteT_D_PrevAndNext(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_T_GteT_D

      void removeByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered)
      Removes all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ? from the database.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
    • countByU_T_GteT_D

      int countByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered)
      Returns the number of user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_T_DT_D

      List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered)
      Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_T_DT_D

      List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end)
      Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_T_DT_D

      List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_T_DT_D

      List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_T_DT_D_First

      UserNotificationEvent findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_First

      UserNotificationEvent fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_DT_D_Last

      UserNotificationEvent findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_Last

      UserNotificationEvent fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_DT_D_PrevAndNext

      UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_T_DT_D

      void removeByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered)
      Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
    • countByU_T_DT_D

      int countByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered)
      Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_DT_D_AR

      List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired)
      Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the matching user notification events
    • findByU_DT_D_AR

      List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_D_AR

      List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_D_AR

      List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_D_AR_First

      UserNotificationEvent findByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_First

      UserNotificationEvent fetchByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_AR_Last

      UserNotificationEvent findByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_Last

      UserNotificationEvent fetchByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_AR_PrevAndNext

      UserNotificationEvent[] findByU_DT_D_AR_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_D_AR

      void removeByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired)
      Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
    • countByU_DT_D_AR

      int countByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired)
      Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the number of matching user notification events
    • findByU_DT_D_A

      List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived)
      Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_DT_D_A

      List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_D_A

      List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_D_A

      List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_D_A_First

      UserNotificationEvent findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_A_First

      UserNotificationEvent fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_A_Last

      UserNotificationEvent findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_A_Last

      UserNotificationEvent fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_A_PrevAndNext

      UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_D_A

      void removeByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived)
      Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
    • countByU_DT_D_A

      int countByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived)
      Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_DT_AR_A

      List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived)
      Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_DT_AR_A

      List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_AR_A

      List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_AR_A

      List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_AR_A_First

      UserNotificationEvent findByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_AR_A_First

      UserNotificationEvent fetchByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_AR_A_Last

      UserNotificationEvent findByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_AR_A_Last

      UserNotificationEvent fetchByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_AR_A_PrevAndNext

      UserNotificationEvent[] findByU_DT_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_AR_A

      void removeByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived)
      Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
    • countByU_DT_AR_A

      int countByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived)
      Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_D_AR_A

      List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived)
      Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_D_AR_A

      List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_D_AR_A

      List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_D_AR_A

      List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_D_AR_A_First

      UserNotificationEvent findByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_A_First

      UserNotificationEvent fetchByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_AR_A_Last

      UserNotificationEvent findByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_A_Last

      UserNotificationEvent fetchByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_D_AR_A_PrevAndNext

      UserNotificationEvent[] findByU_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_D_AR_A

      void removeByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived)
      Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
    • countByU_D_AR_A

      int countByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived)
      Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_T_DT_D_A

      List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived)
      Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_T_DT_D_A

      List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_T_DT_D_A

      List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_T_DT_D_A

      List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_T_DT_D_A_First

      UserNotificationEvent findByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_A_First

      UserNotificationEvent fetchByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_DT_D_A_Last

      UserNotificationEvent findByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_A_Last

      UserNotificationEvent fetchByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_T_DT_D_A_PrevAndNext

      UserNotificationEvent[] findByU_T_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_T_DT_D_A

      void removeByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived)
      Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
    • countByU_T_DT_D_A

      int countByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived)
      Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_DT_D_AR_A

      List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
      Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_DT_D_AR_A

      List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
      Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      Returns:
      the range of matching user notification events
    • findByU_DT_D_AR_A

      List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (not inclusive)
      orderByComparator - the comparator to order the results by (optionally null)
      Returns:
      the ordered range of matching user notification events
    • findByU_DT_D_AR_A

      List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.

      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 UserNotificationEventModelImpl.

      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      start - the lower bound of the range of user notification events
      end - the upper bound of the range of user notification events (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 user notification events
    • findByU_DT_D_AR_A_First

      UserNotificationEvent findByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_A_First

      UserNotificationEvent fetchByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_AR_A_Last

      UserNotificationEvent findByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_A_Last

      UserNotificationEvent fetchByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event, or null if a matching user notification event could not be found
    • findByU_DT_D_AR_A_PrevAndNext

      UserNotificationEvent[] findByU_DT_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userNotificationEventId - the primary key of the current user notification event
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the previous, current, and next user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeByU_DT_D_AR_A

      void removeByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
      Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ? from the database.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
    • countByU_DT_D_AR_A

      int countByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
      Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
      Returns:
      the number of matching user notification events
    • cacheResult

      void cacheResult(UserNotificationEvent userNotificationEvent)
      Caches the user notification event in the entity cache if it is enabled.
      Parameters:
      userNotificationEvent - the user notification event
    • cacheResult

      void cacheResult(List<UserNotificationEvent> userNotificationEvents)
      Caches the user notification events in the entity cache if it is enabled.
      Parameters:
      userNotificationEvents - the user notification events
    • create

      UserNotificationEvent create(long userNotificationEventId)
      Creates a new user notification event with the primary key. Does not add the user notification event to the database.
      Parameters:
      userNotificationEventId - the primary key for the new user notification event
      Returns:
      the new user notification event
    • remove

      UserNotificationEvent remove(long userNotificationEventId) throws NoSuchUserNotificationEventException
      Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.
      Parameters:
      userNotificationEventId - the primary key of the user notification event
      Returns:
      the user notification event that was removed
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • updateImpl

      UserNotificationEvent updateImpl(UserNotificationEvent userNotificationEvent)
    • findByPrimaryKey

      UserNotificationEvent findByPrimaryKey(long userNotificationEventId) throws NoSuchUserNotificationEventException
      Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found.
      Parameters:
      userNotificationEventId - the primary key of the user notification event
      Returns:
      the user notification event
      Throws:
      NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • fetchByPrimaryKey

      UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId)
      Returns the user notification event with the primary key or returns null if it could not be found.
      Parameters:
      userNotificationEventId - the primary key of the user notification event
      Returns:
      the user notification event, or null if a user notification event with the primary key could not be found
    • findAll

      Returns all the user notification events.
      Returns:
      the user notification events
    • findAll

      List<UserNotificationEvent> findAll(int start, int end)
      Returns a range of all the user notification events.

      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 UserNotificationEventModelImpl.

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

      List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      Returns an ordered range of all the user notification events.

      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 UserNotificationEventModelImpl.

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

      List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache)
      Returns an ordered range of all the user notification events.

      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 UserNotificationEventModelImpl.

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

      void removeAll()
      Removes all the user notification events from the database.
    • countAll

      int countAll()
      Returns the number of user notification events.
      Returns:
      the number of user notification events