Class UserNotificationEventPersistenceImpl

Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
com.liferay.portal.service.persistence.impl.UserNotificationEventPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>, com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence

public class UserNotificationEventPersistenceImpl extends com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent> implements com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
The persistence implementation for the user notification event service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
{$generated.description}
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
    static final String
     

    Fields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Initializes the user notification event persistence.
    void
    cacheResult(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
    Caches the user notification event in the entity cache if it is enabled.
    void
    cacheResult(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents)
    Caches the user notification events in the entity cache if it is enabled.
    void
    Clears the cache for all user notification events.
    void
    clearCache(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
    Clears the cache for the user notification event.
    void
    clearCache(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents)
     
    void
    clearCache(Set<Serializable> primaryKeys)
     
    int
    Returns the number of user notification events.
    int
    Returns the number of user notification events where type = ?.
    int
    countByU_A(long userId, boolean archived)
    Returns the number of user notification events where userId = ? and archived = ?.
    int
    countByU_AR_A(long userId, boolean actionRequired, boolean archived)
    Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.
    int
    countByU_D(long userId, boolean delivered)
    Returns the number of user notification events where userId = ? and delivered = ?.
    int
    countByU_D_A(long userId, boolean delivered, boolean archived)
    Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.
    int
    countByU_D_AR(long userId, boolean delivered, boolean actionRequired)
    Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.
    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 = ?.
    int
    countByU_DT(long userId, int deliveryType)
    Returns the number of user notification events where userId = ? and deliveryType = ?.
    int
    countByU_DT_A(long userId, int deliveryType, boolean archived)
    Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.
    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 = ?.
    int
    countByU_DT_D(long userId, int deliveryType, boolean delivered)
    Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    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 = ?.
    int
    countByUserId(long userId)
    Returns the number of user notification events where userId = ?.
    int
    Returns the number of user notification events where uuid = ?.
    int
    countByUuid_C(String uuid, long companyId)
    Returns the number of user notification events where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    create(long userNotificationEventId)
    Creates a new user notification event with the primary key.
    void
     
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByPrimaryKey(long userNotificationEventId)
    Returns the user notification event with the primary key or returns null if it could not be found.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where type = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where type = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where uuid = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    Returns all the user notification events.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findAll(int start, int end)
    Returns a range of all the user notification events.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByPrimaryKey(long userNotificationEventId)
    Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found.
    com.liferay.portal.kernel.model.UserNotificationEvent
    Returns the user notification event with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    Returns all the user notification events where type = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByType(String type, int start, int end)
    Returns a range of all the user notification events where type = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where type = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where type = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where type = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where type = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByType_PrevAndNext(long userNotificationEventId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where type = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_A(long userId, boolean archived)
    Returns all the user notification events where userId = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_A(long userId, boolean archived, int start, int end)
    Returns a range of all the user notification events where userId = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_AR_A(long userId, boolean actionRequired, boolean archived)
    Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D(long userId, boolean delivered)
    Returns all the user notification events where userId = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D(long userId, boolean delivered, int start, int end)
    Returns a range of all the user notification events where userId = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_A(long userId, boolean delivered, boolean archived)
    Returns all the user notification events where userId = ? and delivered = ? and archived = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_AR(long userId, boolean delivered, boolean actionRequired)
    Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_D_AR_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT(long userId, int deliveryType)
    Returns all the user notification events where userId = ? and deliveryType = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT(long userId, int deliveryType, int start, int end)
    Returns a range of all the user notification events where userId = ? and deliveryType = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_A(long userId, int deliveryType, boolean archived)
    Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D(long userId, int deliveryType, boolean delivered)
    Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_D_AR_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_T_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByU_T_GteT_D_PrevAndNext(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    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 = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUserId(long userId)
    Returns all the user notification events where userId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUserId(long userId, int start, int end)
    Returns a range of all the user notification events where userId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where userId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where userId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where userId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByUserId_PrevAndNext(long userNotificationEventId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    Returns all the user notification events where uuid = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid(String uuid, int start, int end)
    Returns a range of all the user notification events where uuid = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where uuid = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where uuid = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid_C(String uuid, long companyId)
    Returns all the user notification events where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid_C(String uuid, long companyId, int start, int end)
    Returns a range of all the user notification events where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.
    List<com.liferay.portal.kernel.model.UserNotificationEvent>
    findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache)
    Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the first user notification event in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent
    findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the last user notification event in the ordered set where uuid = ?.
    com.liferay.portal.kernel.model.UserNotificationEvent[]
    findByUuid_PrevAndNext(long userNotificationEventId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_DT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_T_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_T_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByU_T_GteT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
     
    protected com.liferay.portal.kernel.dao.orm.EntityCache
     
    protected com.liferay.portal.kernel.dao.orm.FinderCache
     
    protected String
     
    protected String
     
    protected Map<String,Integer>
     
    com.liferay.portal.kernel.model.UserNotificationEvent
    remove(long userNotificationEventId)
    Removes the user notification event with the primary key from the database.
    com.liferay.portal.kernel.model.UserNotificationEvent
    remove(Serializable primaryKey)
    Removes the user notification event with the primary key from the database.
    void
    Removes all the user notification events from the database.
    void
    Removes all the user notification events where type = ? from the database.
    void
    removeByU_A(long userId, boolean archived)
    Removes all the user notification events where userId = ? and archived = ? from the database.
    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.
    void
    removeByU_D(long userId, boolean delivered)
    Removes all the user notification events where userId = ? and delivered = ? from the database.
    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.
    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.
    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.
    void
    removeByU_DT(long userId, int deliveryType)
    Removes all the user notification events where userId = ? and deliveryType = ? from the database.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    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.
    void
    removeByUserId(long userId)
    Removes all the user notification events where userId = ? from the database.
    void
    Removes all the user notification events where uuid = ? from the database.
    void
    removeByUuid_C(String uuid, long companyId)
    Removes all the user notification events where uuid = ? and companyId = ? from the database.
    protected com.liferay.portal.kernel.model.UserNotificationEvent
    removeImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
     
    com.liferay.portal.kernel.model.UserNotificationEvent
    updateImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
     

    Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl

    appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence

    closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
  • Field Details

    • FINDER_CLASS_NAME_ENTITY

      public static final String FINDER_CLASS_NAME_ENTITY
    • FINDER_CLASS_NAME_LIST_WITH_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
    • FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

      public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
  • Constructor Details

    • UserNotificationEventPersistenceImpl

      public UserNotificationEventPersistenceImpl()
  • Method Details

    • findByUuid

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid)
      Returns all the user notification events where uuid = ?.
      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the matching user notification events
    • findByUuid

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where uuid = ?.
      Specified by:
      findByUuid_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where uuid = ?.
      Specified by:
      findByUuid_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where uuid = ?.
      Specified by:
      fetchByUuid_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.
      Specified by:
      findByUuid_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByUuid_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByUuid

      public void removeByUuid(String uuid)
      Removes all the user notification events where uuid = ? from the database.
      Specified by:
      removeByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
    • countByUuid

      public int countByUuid(String uuid)
      Returns the number of user notification events where uuid = ?.
      Specified by:
      countByUuid in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      Returns:
      the number of matching user notification events
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId)
      Returns all the user notification events where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the matching user notification events
    • findByUuid_C

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_C_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUuid_C_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      fetchByUuid_C_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.
      Specified by:
      findByUuid_C_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByUuid_C_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByUuid_C

      public void removeByUuid_C(String uuid, long companyId)
      Removes all the user notification events where uuid = ? and companyId = ? from the database.
      Specified by:
      removeByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
    • countByUuid_C

      public int countByUuid_C(String uuid, long companyId)
      Returns the number of user notification events where uuid = ? and companyId = ?.
      Specified by:
      countByUuid_C in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      uuid - the uuid
      companyId - the company ID
      Returns:
      the number of matching user notification events
    • findByUserId

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId)
      Returns all the user notification events where userId = ?.
      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      Returns:
      the matching user notification events
    • findByUserId

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ?.
      Specified by:
      findByUserId_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUserId_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ?.
      Specified by:
      fetchByUserId_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ?.
      Specified by:
      findByUserId_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByUserId_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ?.
      Specified by:
      fetchByUserId_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.
      Specified by:
      findByUserId_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByUserId_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByUserId

      public void removeByUserId(long userId)
      Removes all the user notification events where userId = ? from the database.
      Specified by:
      removeByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
    • countByUserId

      public int countByUserId(long userId)
      Returns the number of user notification events where userId = ?.
      Specified by:
      countByUserId in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      Returns:
      the number of matching user notification events
    • findByType

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type)
      Returns all the user notification events where type = ?.
      Specified by:
      findByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      type - the type
      Returns:
      the matching user notification events
    • findByType

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where type = ?.
      Specified by:
      findByType_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the first matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByType_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where type = ?.
      Specified by:
      fetchByType_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where type = ?.
      Specified by:
      findByType_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      type - the type
      orderByComparator - the comparator to order the set by (optionally null)
      Returns:
      the last matching user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByType_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where type = ?.
      Specified by:
      fetchByType_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where type = ?.
      Specified by:
      findByType_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByType_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByType

      public void removeByType(String type)
      Removes all the user notification events where type = ? from the database.
      Specified by:
      removeByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      type - the type
    • countByType

      public int countByType(String type)
      Returns the number of user notification events where type = ?.
      Specified by:
      countByType in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      type - the type
      Returns:
      the number of matching user notification events
    • findByU_DT

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType)
      Returns all the user notification events where userId = ? and deliveryType = ?.
      Specified by:
      findByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      Returns:
      the matching user notification events
    • findByU_DT

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
      Specified by:
      findByU_DT_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
      Specified by:
      fetchByU_DT_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
      Specified by:
      findByU_DT_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
      Specified by:
      fetchByU_DT_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.
      Specified by:
      findByU_DT_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT

      public void removeByU_DT(long userId, int deliveryType)
      Removes all the user notification events where userId = ? and deliveryType = ? from the database.
      Specified by:
      removeByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
    • countByU_DT

      public int countByU_DT(long userId, int deliveryType)
      Returns the number of user notification events where userId = ? and deliveryType = ?.
      Specified by:
      countByU_DT in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      Returns:
      the number of matching user notification events
    • findByU_D

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered)
      Returns all the user notification events where userId = ? and delivered = ?.
      Specified by:
      findByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_D

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
      Specified by:
      findByU_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
      Specified by:
      fetchByU_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
      Specified by:
      findByU_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
      Specified by:
      fetchByU_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.
      Specified by:
      findByU_D_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_D_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_D

      public void removeByU_D(long userId, boolean delivered)
      Removes all the user notification events where userId = ? and delivered = ? from the database.
      Specified by:
      removeByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
    • countByU_D

      public int countByU_D(long userId, boolean delivered)
      Returns the number of user notification events where userId = ? and delivered = ?.
      Specified by:
      countByU_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_A

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived)
      Returns all the user notification events where userId = ? and archived = ?.
      Specified by:
      findByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_A

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and archived = ?.
      Specified by:
      findByU_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and archived = ?.
      Specified by:
      fetchByU_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and archived = ?.
      Specified by:
      findByU_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and archived = ?.
      Specified by:
      fetchByU_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.
      Specified by:
      findByU_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_A

      public void removeByU_A(long userId, boolean archived)
      Removes all the user notification events where userId = ? and archived = ? from the database.
      Specified by:
      removeByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      archived - the archived
    • countByU_A

      public int countByU_A(long userId, boolean archived)
      Returns the number of user notification events where userId = ? and archived = ?.
      Specified by:
      countByU_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_DT_D

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered)
      Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the matching user notification events
    • findByU_DT_D

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_DT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      fetchByU_DT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_DT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      fetchByU_DT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_DT_D_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_D_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_D

      public 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.
      Specified by:
      removeByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
    • countByU_DT_D

      public int countByU_DT_D(long userId, int deliveryType, boolean delivered)
      Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.
      Specified by:
      countByU_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      Returns:
      the number of matching user notification events
    • findByU_DT_A

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived)
      Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      findByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_DT_A

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      findByU_DT_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      fetchByU_DT_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      findByU_DT_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      fetchByU_DT_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      findByU_DT_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_A

      public 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.
      Specified by:
      removeByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
    • countByU_DT_A

      public int countByU_DT_A(long userId, int deliveryType, boolean archived)
      Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.
      Specified by:
      countByU_DT_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_D_AR

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired)
      Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the matching user notification events
    • findByU_D_AR

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_D_AR_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      fetchByU_D_AR_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_D_AR_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      fetchByU_D_AR_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_AR_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_D_AR_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_D_AR_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_D_AR

      public 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.
      Specified by:
      removeByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
    • countByU_D_AR

      public int countByU_D_AR(long userId, boolean delivered, boolean actionRequired)
      Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.
      Specified by:
      countByU_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      Returns:
      the number of matching user notification events
    • findByU_D_A

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived)
      Returns all the user notification events where userId = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_D_A

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_D_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_D_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_D_A

      public 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.
      Specified by:
      removeByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
    • countByU_D_A

      public int countByU_D_A(long userId, boolean delivered, boolean archived)
      Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.
      Specified by:
      countByU_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      archived - the archived
      Returns:
      the number of matching user notification events
    • findByU_AR_A

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived)
      Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
      Returns:
      the matching user notification events
    • findByU_AR_A

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_AR_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_AR_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_AR_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_AR_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_AR_A

      public 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.
      Specified by:
      removeByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      actionRequired - the action required
      archived - the archived
    • countByU_AR_A

      public int countByU_AR_A(long userId, boolean actionRequired, boolean archived)
      Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.
      Specified by:
      countByU_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Specified by:
      findByU_T_GteT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_GteT_D_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Specified by:
      fetchByU_T_GteT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Specified by:
      findByU_T_GteT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_GteT_D_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.
      Specified by:
      fetchByU_T_GteT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_GteT_D_PrevAndNext(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_T_GteT_D_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_T_GteT_D_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_GteT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_T_GteT_D

      public 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.
      Specified by:
      removeByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      type - the type
      timestamp - the timestamp
      delivered - the delivered
    • countByU_T_GteT_D

      public 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 = ?.
      Specified by:
      countByU_T_GteT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_T_DT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Specified by:
      fetchByU_T_DT_D_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Specified by:
      findByU_T_DT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
      Specified by:
      fetchByU_T_DT_D_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_T_DT_D_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_T_DT_D_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_T_DT_D

      public 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.
      Specified by:
      removeByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
    • countByU_T_DT_D

      public 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 = ?.
      Specified by:
      countByU_T_DT_D in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_DT_D_AR_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Specified by:
      fetchByU_DT_D_AR_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Specified by:
      findByU_DT_D_AR_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
      Specified by:
      fetchByU_DT_D_AR_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_AR_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_DT_D_AR_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_D_AR_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_D_AR

      public 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.
      Specified by:
      removeByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      actionRequired - the action required
    • countByU_DT_D_AR

      public 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 = ?.
      Specified by:
      countByU_DT_D_AR in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_DT_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_DT_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_DT_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_DT_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_DT_D_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_D_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_D_A

      public 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.
      Specified by:
      removeByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
    • countByU_DT_D_A

      public 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 = ?.
      Specified by:
      countByU_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_DT_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_AR_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_DT_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_DT_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_AR_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_DT_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_DT_AR_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_AR_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_AR_A

      public 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.
      Specified by:
      removeByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      deliveryType - the delivery type
      actionRequired - the action required
      archived - the archived
    • countByU_DT_AR_A

      public 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 = ?.
      Specified by:
      countByU_DT_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_D_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_D_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_D_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_D_AR_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_D_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_D_AR_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_D_AR_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_D_AR_A

      public 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.
      Specified by:
      removeByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      delivered - the delivered
      actionRequired - the action required
      archived - the archived
    • countByU_D_AR_A

      public 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 = ?.
      Specified by:
      countByU_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_T_DT_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_T_DT_D_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      findByU_T_DT_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_T_DT_D_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.
      Specified by:
      fetchByU_T_DT_D_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_T_DT_D_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_T_DT_D_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_T_DT_D_A

      public 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.
      Specified by:
      removeByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userId - the user ID
      type - the type
      deliveryType - the delivery type
      delivered - the delivered
      archived - the archived
    • countByU_T_DT_D_A

      public 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 = ?.
      Specified by:
      countByU_T_DT_D_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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 = ?.
      Specified by:
      findByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_DT_D_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_A_First

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_DT_D_AR_A_First in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      findByU_DT_D_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a matching user notification event could not be found
    • fetchByU_DT_D_AR_A_Last

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
      Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.
      Specified by:
      fetchByU_DT_D_AR_A_Last in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.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 = ?.
      Specified by:
      findByU_DT_D_AR_A_PrevAndNext in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • getByU_DT_D_AR_A_PrevAndNext

      protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous)
    • removeByU_DT_D_AR_A

      public 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.
      Specified by:
      removeByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 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 = ?.
      Specified by:
      countByU_DT_D_AR_A in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 void cacheResult(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
      Caches the user notification event in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Overrides:
      cacheResult in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
      Parameters:
      userNotificationEvent - the user notification event
    • cacheResult

      public void cacheResult(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents)
      Caches the user notification events in the entity cache if it is enabled.
      Specified by:
      cacheResult in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userNotificationEvents - the user notification events
    • clearCache

      public void clearCache()
      Clears the cache for all user notification events.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • clearCache

      public void clearCache(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
      Clears the cache for the user notification event.

      The EntityCache and FinderCache are both cleared by this method.

      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • clearCache

      public void clearCache(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      clearCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • clearCache

      public void clearCache(Set<Serializable> primaryKeys)
      Specified by:
      clearCache in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
    • create

      public com.liferay.portal.kernel.model.UserNotificationEvent create(long userNotificationEventId)
      Creates a new user notification event with the primary key. Does not add the user notification event to the database.
      Specified by:
      create in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userNotificationEventId - the primary key for the new user notification event
      Returns:
      the new user notification event
    • remove

      public com.liferay.portal.kernel.model.UserNotificationEvent remove(long userNotificationEventId) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userNotificationEventId - the primary key of the user notification event
      Returns:
      the user notification event that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • remove

      public com.liferay.portal.kernel.model.UserNotificationEvent remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.
      Specified by:
      remove in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      remove in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
      Parameters:
      primaryKey - the primary key of the user notification event
      Returns:
      the user notification event that was removed
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • removeImpl

      protected com.liferay.portal.kernel.model.UserNotificationEvent removeImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
      Overrides:
      removeImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • updateImpl

      public com.liferay.portal.kernel.model.UserNotificationEvent updateImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent)
      Specified by:
      updateImpl in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Overrides:
      updateImpl in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.UserNotificationEvent findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification event with the primary key or throws a com.liferay.portal.kernel.exception.NoSuchModelException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      findByPrimaryKey in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
      Parameters:
      primaryKey - the primary key of the user notification event
      Returns:
      the user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • findByPrimaryKey

      public com.liferay.portal.kernel.model.UserNotificationEvent findByPrimaryKey(long userNotificationEventId) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
      Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found.
      Specified by:
      findByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Parameters:
      userNotificationEventId - the primary key of the user notification event
      Returns:
      the user notification event
      Throws:
      com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
    • fetchByPrimaryKey

      public com.liferay.portal.kernel.model.UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId)
      Returns the user notification event with the primary key or returns null if it could not be found.
      Specified by:
      fetchByPrimaryKey in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findAll()
      Returns all the user notification events.
      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Returns:
      the user notification events
    • findAll

      public List<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.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.

      Specified by:
      findAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      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 void removeAll()
      Removes all the user notification events from the database.
      Specified by:
      removeAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
    • countAll

      public int countAll()
      Returns the number of user notification events.
      Specified by:
      countAll in interface com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
      Returns:
      the number of user notification events
    • getBadColumnNames

      public Set<String> getBadColumnNames()
      Specified by:
      getBadColumnNames in interface com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
      Overrides:
      getBadColumnNames in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getEntityCache

      protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()
      Overrides:
      getEntityCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getPKDBName

      protected String getPKDBName()
      Overrides:
      getPKDBName in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getSelectSQL

      protected String getSelectSQL()
      Overrides:
      getSelectSQL in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • getTableColumnsMap

      protected Map<String,Integer> getTableColumnsMap()
      Overrides:
      getTableColumnsMap in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
    • afterPropertiesSet

      public void afterPropertiesSet()
      Initializes the user notification event persistence.
    • destroy

      public void destroy()
    • getFinderCache

      protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()
      Overrides:
      getFinderCache in class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>