Class UserNotificationEventUtil

Object
com.liferay.portal.kernel.service.persistence.UserNotificationEventUtil

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

Caching information and settings can be found in portal.properties

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

    • UserNotificationEventUtil

      public UserNotificationEventUtil()
  • Method Details

    • clearCache

      public static void clearCache()
      See Also:
    • clearCache

      public static void clearCache(UserNotificationEvent userNotificationEvent)
      See Also:
    • countWithDynamicQuery

      public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • fetchByPrimaryKeys

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

      public static List<UserNotificationEvent> findWithDynamicQuery(DynamicQuery dynamicQuery)
      See Also:
    • findWithDynamicQuery

      public static List<UserNotificationEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
      See Also:
    • findWithDynamicQuery

      public static List<UserNotificationEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
      See Also:
    • update

      public static UserNotificationEvent update(UserNotificationEvent userNotificationEvent)
      See Also:
    • update

      public static UserNotificationEvent update(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext)
      See Also:
    • findByUuid

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

      public static 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

      public static 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

      public static 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

      public static UserNotificationEvent findByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      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
      NoSuchUserNotificationEventException
    • fetchByUuid_First

      public static 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

      public static UserNotificationEvent findByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      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
      NoSuchUserNotificationEventException
    • fetchByUuid_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByUuid

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByUuid_C_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByUuid_C_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByUuid_C

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByUserId_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByUserId_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByUserId

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

      public static 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

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

      public static 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

      public static 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

      public static 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

      public static UserNotificationEvent findByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      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
      NoSuchUserNotificationEventException
    • fetchByType_First

      public static 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

      public static UserNotificationEvent findByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException
      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
      NoSuchUserNotificationEventException
    • fetchByType_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByType

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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_D

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_D

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_AR_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_AR_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_D_AR

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_D_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_AR_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_AR_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_AR_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_GteT_D_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_GteT_D_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_T_GteT_D

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_DT_D_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_DT_D_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_T_DT_D

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_AR_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_AR_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_D_AR

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_D_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_AR_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_AR_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_AR_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_AR_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_D_AR_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_D_AR_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_DT_D_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_T_DT_D_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_T_DT_D_A

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_AR_A_First

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • fetchByU_DT_D_AR_A_Last

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • removeByU_DT_D_AR_A

      public static 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

      public static 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

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

      public static 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

      public static 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

      public static 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
      NoSuchUserNotificationEventException
    • updateImpl

      public static UserNotificationEvent updateImpl(UserNotificationEvent userNotificationEvent)
    • findByPrimaryKey

      public static 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
      NoSuchUserNotificationEventException
    • fetchByPrimaryKey

      public static 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

      public static List<UserNotificationEvent> findAll()
      Returns all the user notification events.
      Returns:
      the user notification events
    • findAll

      public static 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

      public static 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

      public static 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

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

      public static int countAll()
      Returns the number of user notification events.
      Returns:
      the number of user notification events
    • getPersistence

      public static UserNotificationEventPersistence getPersistence()
    • setPersistence

      public static void setPersistence(UserNotificationEventPersistence persistence)