Liferay 7.0-ce-b4

com.liferay.portal.service.persistence
Interface UserNotificationEventPersistence

All Superinterfaces:
BasePersistence<UserNotificationEvent>

@ProviderType
public interface UserNotificationEventPersistence
extends BasePersistence<UserNotificationEvent>

The persistence interface for the user notification event service.

Caching information and settings can be found in portal.properties

See Also:
UserNotificationEventPersistenceImpl, UserNotificationEventUtil

Method Summary
 void cacheResult(List<UserNotificationEvent> userNotificationEvents)
          Caches the user notification events in the entity cache if it is enabled.
 void cacheResult(UserNotificationEvent userNotificationEvent)
          Caches the user notification event in the entity cache if it is enabled.
 int countAll()
          Returns the number of user notification events.
 int countByType(String type)
          Returns the number of user notification events where type = ?.
 int countByU_A_A(long userId, boolean actionRequired, boolean archived)
          Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.
 int countByU_A(long userId, boolean archived)
          Returns the number of user notification events where userId = ? and archived = ?.
 int countByU_D_A(long userId, boolean delivered, boolean actionRequired)
          Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.
 int countByU_D(long userId, boolean delivered)
          Returns the number of user notification events where userId = ? and delivered = ?.
 int countByU_DT_A_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_A(long userId, int deliveryType, boolean archived)
          Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.
 int countByU_DT_D_A(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(long userId, int deliveryType, boolean delivered)
          Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.
 int countByU_DT(long userId, int deliveryType)
          Returns the number of user notification events where userId = ? and deliveryType = ?.
 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 countByUserId(long userId)
          Returns the number of user notification events where userId = ?.
 int countByUuid_C(String uuid, long companyId)
          Returns the number of user notification events where uuid = ? and companyId = ?.
 int countByUuid(String uuid)
          Returns the number of user notification events where uuid = ?.
 UserNotificationEvent create(long userNotificationEventId)
          Creates a new user notification event with the primary key.
 UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId)
          Returns the user notification event with the primary key or returns null if it could not be found.
 Map<Serializable,UserNotificationEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
 UserNotificationEvent fetchByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where type = ?.
 UserNotificationEvent fetchByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where type = ?.
 UserNotificationEvent fetchByU_A_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent fetchByU_A_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent fetchByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and archived = ?.
 UserNotificationEvent fetchByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and archived = ?.
 UserNotificationEvent fetchByU_D_A_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent fetchByU_D_A_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent fetchByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
 UserNotificationEvent fetchByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
 UserNotificationEvent fetchByU_DT_A_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent fetchByU_DT_A_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
 UserNotificationEvent fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
 UserNotificationEvent fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent fetchByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
 UserNotificationEvent fetchByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
 UserNotificationEvent fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent fetchByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ?.
 UserNotificationEvent fetchByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ?.
 UserNotificationEvent fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
 UserNotificationEvent fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
 UserNotificationEvent fetchByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where uuid = ?.
 UserNotificationEvent fetchByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where uuid = ?.
 List<UserNotificationEvent> findAll()
          Returns all the user notification events.
 List<UserNotificationEvent> findAll(int start, int end)
          Returns a range of all the user notification events.
 List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events.
 List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events.
 UserNotificationEvent findByPrimaryKey(long userNotificationEventId)
          Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found.
 UserNotificationEvent findByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where type = ?.
 UserNotificationEvent findByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where type = ?.
 UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId, String type, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where type = ?.
 List<UserNotificationEvent> findByType(String type)
          Returns all the user notification events where type = ?.
 List<UserNotificationEvent> findByType(String type, int start, int end)
          Returns a range of all the user notification events where type = ?.
 List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where type = ?.
 List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where type = ?.
 UserNotificationEvent findByU_A_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent findByU_A_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent[] findByU_A_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, OrderByComparator<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<UserNotificationEvent> findByU_A_A(long userId, boolean actionRequired, boolean archived)
          Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.
 List<UserNotificationEvent> findByU_A_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<UserNotificationEvent> findByU_A_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.
 List<UserNotificationEvent> findByU_A_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent findByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and archived = ?.
 UserNotificationEvent findByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and archived = ?.
 UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.
 List<UserNotificationEvent> findByU_A(long userId, boolean archived)
          Returns all the user notification events where userId = ? and archived = ?.
 List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end)
          Returns a range of all the user notification events where userId = ? and archived = ?.
 List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and archived = ?.
 List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and archived = ?.
 UserNotificationEvent findByU_D_A_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent findByU_D_A_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, OrderByComparator<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 = ?.
 List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean actionRequired)
          Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
 List<UserNotificationEvent> findByU_D_A(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<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
 List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent findByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and delivered = ?.
 UserNotificationEvent findByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and delivered = ?.
 UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.
 List<UserNotificationEvent> findByU_D(long userId, boolean delivered)
          Returns all the user notification events where userId = ? and delivered = ?.
 List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end)
          Returns a range of all the user notification events where userId = ? and delivered = ?.
 List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and delivered = ?.
 List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and delivered = ?.
 UserNotificationEvent findByU_DT_A_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent findByU_DT_A_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent[] findByU_DT_A_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<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<UserNotificationEvent> findByU_DT_A_A(long userId, int deliveryType, boolean actionRequired, boolean archived)
          Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 List<UserNotificationEvent> findByU_DT_A_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<UserNotificationEvent> findByU_DT_A_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 List<UserNotificationEvent> findByU_DT_A_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.
 UserNotificationEvent findByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
 UserNotificationEvent findByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.
 UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, OrderByComparator<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<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived)
          Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.
 List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end)
          Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.
 List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.
 List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.
 UserNotificationEvent findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<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 = ?.
 List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean actionRequired)
          Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 List<UserNotificationEvent> findByU_DT_D_A(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<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.
 UserNotificationEvent findByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, OrderByComparator<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 = ?.
 List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered)
          Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
 List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end)
          Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
 List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
 List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent findByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.
 UserNotificationEvent findByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.
 UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.
 List<UserNotificationEvent> findByU_DT(long userId, int deliveryType)
          Returns all the user notification events where userId = ? and deliveryType = ?.
 List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end)
          Returns a range of all the user notification events where userId = ? and deliveryType = ?.
 List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.
 List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.
 UserNotificationEvent findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, OrderByComparator<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<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<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<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.
 UserNotificationEvent findByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where userId = ?.
 UserNotificationEvent findByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where userId = ?.
 UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId, long userId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.
 List<UserNotificationEvent> findByUserId(long userId)
          Returns all the user notification events where userId = ?.
 List<UserNotificationEvent> findByUserId(long userId, int start, int end)
          Returns a range of all the user notification events where userId = ?.
 List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where userId = ?.
 List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where userId = ?.
 UserNotificationEvent findByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.
 UserNotificationEvent findByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.
 UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.
 List<UserNotificationEvent> findByUuid_C(String uuid, long companyId)
          Returns all the user notification events where uuid = ? and companyId = ?.
 List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end)
          Returns a range of all the user notification events where uuid = ? and companyId = ?.
 List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.
 List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.
 UserNotificationEvent findByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the first user notification event in the ordered set where uuid = ?.
 UserNotificationEvent findByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the last user notification event in the ordered set where uuid = ?.
 UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId, String uuid, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.
 List<UserNotificationEvent> findByUuid(String uuid)
          Returns all the user notification events where uuid = ?.
 List<UserNotificationEvent> findByUuid(String uuid, int start, int end)
          Returns a range of all the user notification events where uuid = ?.
 List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
          Returns an ordered range of all the user notification events where uuid = ?.
 List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean retrieveFromCache)
          Returns an ordered range of all the user notification events where uuid = ?.
 Set<String> getBadColumnNames()
           
 UserNotificationEvent remove(long userNotificationEventId)
          Removes the user notification event with the primary key from the database.
 void removeAll()
          Removes all the user notification events from the database.
 void removeByType(String type)
          Removes all the user notification events where type = ? from the database.
 void removeByU_A_A(long userId, boolean actionRequired, boolean archived)
          Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? 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_D_A(long userId, boolean delivered, boolean actionRequired)
          Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? 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_DT_A_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_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_D_A(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(long userId, int deliveryType, boolean delivered)
          Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? 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_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 removeByUserId(long userId)
          Removes all the user notification events where userId = ? from the database.
 void removeByUuid_C(String uuid, long companyId)
          Removes all the user notification events where uuid = ? and companyId = ? from the database.
 void removeByUuid(String uuid)
          Removes all the user notification events where uuid = ? from the database.
 UserNotificationEvent updateImpl(UserNotificationEvent userNotificationEvent)
           
 
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence
clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, remove, setDataSource, unregisterListener, update, update, update, update
 

Method Detail

findByUuid

List<UserNotificationEvent> findByUuid(String uuid)
Returns all the user notification events where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the matching user notification events

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid

List<UserNotificationEvent> findByUuid(String uuid,
                                       int start,
                                       int end,
                                       OrderByComparator<UserNotificationEvent> orderByComparator,
                                       boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByUuid_First

UserNotificationEvent findByUuid_First(String uuid,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
                                       throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUuid_First

UserNotificationEvent fetchByUuid_First(String uuid,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByUuid_Last

UserNotificationEvent findByUuid_Last(String uuid,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
                                      throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUuid_Last

UserNotificationEvent fetchByUuid_Last(String uuid,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ?.

Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByUuid_PrevAndNext

UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId,
                                               String uuid,
                                               OrderByComparator<UserNotificationEvent> orderByComparator)
                                               throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByUuid

void removeByUuid(String uuid)
Removes all the user notification events where uuid = ? from the database.

Parameters:
uuid - the uuid

countByUuid

int countByUuid(String uuid)
Returns the number of user notification events where uuid = ?.

Parameters:
uuid - the uuid
Returns:
the number of matching user notification events

findByUuid_C

List<UserNotificationEvent> findByUuid_C(String uuid,
                                         long companyId)
Returns all the user notification events where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the matching user notification events

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUuid_C

List<UserNotificationEvent> findByUuid_C(String uuid,
                                         long companyId,
                                         int start,
                                         int end,
                                         OrderByComparator<UserNotificationEvent> orderByComparator,
                                         boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByUuid_C_First

UserNotificationEvent findByUuid_C_First(String uuid,
                                         long companyId,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
                                         throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUuid_C_First

UserNotificationEvent fetchByUuid_C_First(String uuid,
                                          long companyId,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByUuid_C_Last

UserNotificationEvent findByUuid_C_Last(String uuid,
                                        long companyId,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUuid_C_Last

UserNotificationEvent fetchByUuid_C_Last(String uuid,
                                         long companyId,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByUuid_C_PrevAndNext

UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId,
                                                 String uuid,
                                                 long companyId,
                                                 OrderByComparator<UserNotificationEvent> orderByComparator)
                                                 throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
uuid - the uuid
companyId - the company ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByUuid_C

void removeByUuid_C(String uuid,
                    long companyId)
Removes all the user notification events where uuid = ? and companyId = ? from the database.

Parameters:
uuid - the uuid
companyId - the company ID

countByUuid_C

int countByUuid_C(String uuid,
                  long companyId)
Returns the number of user notification events where uuid = ? and companyId = ?.

Parameters:
uuid - the uuid
companyId - the company ID
Returns:
the number of matching user notification events

findByUserId

List<UserNotificationEvent> findByUserId(long userId)
Returns all the user notification events where userId = ?.

Parameters:
userId - the user ID
Returns:
the matching user notification events

findByUserId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUserId

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByUserId

List<UserNotificationEvent> findByUserId(long userId,
                                         int start,
                                         int end,
                                         OrderByComparator<UserNotificationEvent> orderByComparator,
                                         boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByUserId_First

UserNotificationEvent findByUserId_First(long userId,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
                                         throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ?.

Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUserId_First

UserNotificationEvent fetchByUserId_First(long userId,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ?.

Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByUserId_Last

UserNotificationEvent findByUserId_Last(long userId,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ?.

Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByUserId_Last

UserNotificationEvent fetchByUserId_Last(long userId,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ?.

Parameters:
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByUserId_PrevAndNext

UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId,
                                                 long userId,
                                                 OrderByComparator<UserNotificationEvent> orderByComparator)
                                                 throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByUserId

void removeByUserId(long userId)
Removes all the user notification events where userId = ? from the database.

Parameters:
userId - the user ID

countByUserId

int countByUserId(long userId)
Returns the number of user notification events where userId = ?.

Parameters:
userId - the user ID
Returns:
the number of matching user notification events

findByType

List<UserNotificationEvent> findByType(String type)
Returns all the user notification events where type = ?.

Parameters:
type - the type
Returns:
the matching user notification events

findByType

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByType

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByType

List<UserNotificationEvent> findByType(String type,
                                       int start,
                                       int end,
                                       OrderByComparator<UserNotificationEvent> orderByComparator,
                                       boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByType_First

UserNotificationEvent findByType_First(String type,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
                                       throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where type = ?.

Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByType_First

UserNotificationEvent fetchByType_First(String type,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where type = ?.

Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByType_Last

UserNotificationEvent findByType_Last(String type,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
                                      throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where type = ?.

Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByType_Last

UserNotificationEvent fetchByType_Last(String type,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where type = ?.

Parameters:
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByType_PrevAndNext

UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId,
                                               String type,
                                               OrderByComparator<UserNotificationEvent> orderByComparator)
                                               throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where type = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
type - the type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByType

void removeByType(String type)
Removes all the user notification events where type = ? from the database.

Parameters:
type - the type

countByType

int countByType(String type)
Returns the number of user notification events where type = ?.

Parameters:
type - the type
Returns:
the number of matching user notification events

findByU_DT

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

Parameters:
userId - the user ID
deliveryType - the delivery type
Returns:
the matching user notification events

findByU_DT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT

List<UserNotificationEvent> findByU_DT(long userId,
                                       int deliveryType,
                                       int start,
                                       int end,
                                       OrderByComparator<UserNotificationEvent> orderByComparator,
                                       boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_DT_First

UserNotificationEvent findByU_DT_First(long userId,
                                       int deliveryType,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
                                       throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_First

UserNotificationEvent fetchByU_DT_First(long userId,
                                        int deliveryType,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_DT_Last

UserNotificationEvent findByU_DT_Last(long userId,
                                      int deliveryType,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
                                      throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_Last

UserNotificationEvent fetchByU_DT_Last(long userId,
                                       int deliveryType,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_DT_PrevAndNext

UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId,
                                               long userId,
                                               int deliveryType,
                                               OrderByComparator<UserNotificationEvent> orderByComparator)
                                               throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
deliveryType - the delivery type
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_DT

void removeByU_DT(long userId,
                  int deliveryType)
Removes all the user notification events where userId = ? and deliveryType = ? from the database.

Parameters:
userId - the user ID
deliveryType - the delivery type

countByU_DT

int countByU_DT(long userId,
                int deliveryType)
Returns the number of user notification events where userId = ? and deliveryType = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
Returns:
the number of matching user notification events

findByU_D

List<UserNotificationEvent> findByU_D(long userId,
                                      boolean delivered)
Returns all the user notification events where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
Returns:
the matching user notification events

findByU_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_D

List<UserNotificationEvent> findByU_D(long userId,
                                      boolean delivered,
                                      int start,
                                      int end,
                                      OrderByComparator<UserNotificationEvent> orderByComparator,
                                      boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_D_First

UserNotificationEvent findByU_D_First(long userId,
                                      boolean delivered,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
                                      throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_D_First

UserNotificationEvent fetchByU_D_First(long userId,
                                       boolean delivered,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_D_Last

UserNotificationEvent findByU_D_Last(long userId,
                                     boolean delivered,
                                     OrderByComparator<UserNotificationEvent> orderByComparator)
                                     throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_D_Last

UserNotificationEvent fetchByU_D_Last(long userId,
                                      boolean delivered,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_D_PrevAndNext

UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId,
                                              long userId,
                                              boolean delivered,
                                              OrderByComparator<UserNotificationEvent> orderByComparator)
                                              throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_D

void removeByU_D(long userId,
                 boolean delivered)
Removes all the user notification events where userId = ? and delivered = ? from the database.

Parameters:
userId - the user ID
delivered - the delivered

countByU_D

int countByU_D(long userId,
               boolean delivered)
Returns the number of user notification events where userId = ? and delivered = ?.

Parameters:
userId - the user ID
delivered - the delivered
Returns:
the number of matching user notification events

findByU_A

List<UserNotificationEvent> findByU_A(long userId,
                                      boolean archived)
Returns all the user notification events where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
Returns:
the matching user notification events

findByU_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_A

List<UserNotificationEvent> findByU_A(long userId,
                                      boolean archived,
                                      int start,
                                      int end,
                                      OrderByComparator<UserNotificationEvent> orderByComparator,
                                      boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_A_First

UserNotificationEvent findByU_A_First(long userId,
                                      boolean archived,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
                                      throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_A_First

UserNotificationEvent fetchByU_A_First(long userId,
                                       boolean archived,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_A_Last

UserNotificationEvent findByU_A_Last(long userId,
                                     boolean archived,
                                     OrderByComparator<UserNotificationEvent> orderByComparator)
                                     throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_A_Last

UserNotificationEvent fetchByU_A_Last(long userId,
                                      boolean archived,
                                      OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_A_PrevAndNext

UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId,
                                              long userId,
                                              boolean archived,
                                              OrderByComparator<UserNotificationEvent> orderByComparator)
                                              throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_A

void removeByU_A(long userId,
                 boolean archived)
Removes all the user notification events where userId = ? and archived = ? from the database.

Parameters:
userId - the user ID
archived - the archived

countByU_A

int countByU_A(long userId,
               boolean archived)
Returns the number of user notification events where userId = ? and archived = ?.

Parameters:
userId - the user ID
archived - the archived
Returns:
the number of matching user notification events

findByU_DT_D

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

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
Returns:
the matching user notification events

findByU_DT_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT_D

List<UserNotificationEvent> findByU_DT_D(long userId,
                                         int deliveryType,
                                         boolean delivered,
                                         int start,
                                         int end,
                                         OrderByComparator<UserNotificationEvent> orderByComparator,
                                         boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_DT_D_First

UserNotificationEvent findByU_DT_D_First(long userId,
                                         int deliveryType,
                                         boolean delivered,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
                                         throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_D_First

UserNotificationEvent fetchByU_DT_D_First(long userId,
                                          int deliveryType,
                                          boolean delivered,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_DT_D_Last

UserNotificationEvent findByU_DT_D_Last(long userId,
                                        int deliveryType,
                                        boolean delivered,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_D_Last

UserNotificationEvent fetchByU_DT_D_Last(long userId,
                                         int deliveryType,
                                         boolean delivered,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_DT_D_PrevAndNext

UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId,
                                                 long userId,
                                                 int deliveryType,
                                                 boolean delivered,
                                                 OrderByComparator<UserNotificationEvent> orderByComparator)
                                                 throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_DT_D

void removeByU_DT_D(long userId,
                    int deliveryType,
                    boolean delivered)
Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered

countByU_DT_D

int countByU_DT_D(long userId,
                  int deliveryType,
                  boolean delivered)
Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
Returns:
the number of matching user notification events

findByU_DT_A

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

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
Returns:
the matching user notification events

findByU_DT_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_DT_A

List<UserNotificationEvent> findByU_DT_A(long userId,
                                         int deliveryType,
                                         boolean archived,
                                         int start,
                                         int end,
                                         OrderByComparator<UserNotificationEvent> orderByComparator,
                                         boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_DT_A_First

UserNotificationEvent findByU_DT_A_First(long userId,
                                         int deliveryType,
                                         boolean archived,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
                                         throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_A_First

UserNotificationEvent fetchByU_DT_A_First(long userId,
                                          int deliveryType,
                                          boolean archived,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_DT_A_Last

UserNotificationEvent findByU_DT_A_Last(long userId,
                                        int deliveryType,
                                        boolean archived,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_A_Last

UserNotificationEvent fetchByU_DT_A_Last(long userId,
                                         int deliveryType,
                                         boolean archived,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_DT_A_PrevAndNext

UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId,
                                                 long userId,
                                                 int deliveryType,
                                                 boolean archived,
                                                 OrderByComparator<UserNotificationEvent> orderByComparator)
                                                 throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
deliveryType - the delivery type
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_DT_A

void removeByU_DT_A(long userId,
                    int deliveryType,
                    boolean archived)
Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived

countByU_DT_A

int countByU_DT_A(long userId,
                  int deliveryType,
                  boolean archived)
Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
archived - the archived
Returns:
the number of matching user notification events

findByU_D_A

List<UserNotificationEvent> findByU_D_A(long userId,
                                        boolean delivered,
                                        boolean actionRequired)
Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
Returns:
the matching user notification events

findByU_D_A

List<UserNotificationEvent> findByU_D_A(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A

List<UserNotificationEvent> findByU_D_A(long userId,
                                        boolean delivered,
                                        boolean actionRequired,
                                        int start,
                                        int end,
                                        OrderByComparator<UserNotificationEvent> orderByComparator,
                                        boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_D_A_First

UserNotificationEvent findByU_D_A_First(long userId,
                                        boolean delivered,
                                        boolean actionRequired,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_D_A_First

UserNotificationEvent fetchByU_D_A_First(long userId,
                                         boolean delivered,
                                         boolean actionRequired,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_D_A_Last

UserNotificationEvent findByU_D_A_Last(long userId,
                                       boolean delivered,
                                       boolean actionRequired,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
                                       throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_D_A_Last

UserNotificationEvent fetchByU_D_A_Last(long userId,
                                        boolean delivered,
                                        boolean actionRequired,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_D_A_PrevAndNext

UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId,
                                                long userId,
                                                boolean delivered,
                                                boolean actionRequired,
                                                OrderByComparator<UserNotificationEvent> orderByComparator)
                                                throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_D_A

void removeByU_D_A(long userId,
                   boolean delivered,
                   boolean actionRequired)
Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required

countByU_D_A

int countByU_D_A(long userId,
                 boolean delivered,
                 boolean actionRequired)
Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
delivered - the delivered
actionRequired - the action required
Returns:
the number of matching user notification events

findByU_A_A

List<UserNotificationEvent> findByU_A_A(long userId,
                                        boolean actionRequired,
                                        boolean archived)
Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
Returns:
the matching user notification events

findByU_A_A

List<UserNotificationEvent> findByU_A_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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A_A

List<UserNotificationEvent> findByU_A_A(long userId,
                                        boolean actionRequired,
                                        boolean archived,
                                        int start,
                                        int end,
                                        OrderByComparator<UserNotificationEvent> orderByComparator,
                                        boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_A_A_First

UserNotificationEvent findByU_A_A_First(long userId,
                                        boolean actionRequired,
                                        boolean archived,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
                                        throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_A_A_First

UserNotificationEvent fetchByU_A_A_First(long userId,
                                         boolean actionRequired,
                                         boolean archived,
                                         OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_A_A_Last

UserNotificationEvent findByU_A_A_Last(long userId,
                                       boolean actionRequired,
                                       boolean archived,
                                       OrderByComparator<UserNotificationEvent> orderByComparator)
                                       throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_A_A_Last

UserNotificationEvent fetchByU_A_A_Last(long userId,
                                        boolean actionRequired,
                                        boolean archived,
                                        OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_A_A_PrevAndNext

UserNotificationEvent[] findByU_A_A_PrevAndNext(long userNotificationEventId,
                                                long userId,
                                                boolean actionRequired,
                                                boolean archived,
                                                OrderByComparator<UserNotificationEvent> orderByComparator)
                                                throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_A_A

void removeByU_A_A(long userId,
                   boolean actionRequired,
                   boolean archived)
Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived

countByU_A_A

int countByU_A_A(long userId,
                 boolean actionRequired,
                 boolean archived)
Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
actionRequired - the action required
archived - the archived
Returns:
the number of matching user notification events

findByU_T_DT_D

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

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
Returns:
the matching user notification events

findByU_T_DT_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_T_DT_D

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findByU_T_DT_D

List<UserNotificationEvent> findByU_T_DT_D(long userId,
                                           String type,
                                           int deliveryType,
                                           boolean delivered,
                                           int start,
                                           int end,
                                           OrderByComparator<UserNotificationEvent> orderByComparator,
                                           boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_T_DT_D_First

UserNotificationEvent findByU_T_DT_D_First(long userId,
                                           String type,
                                           int deliveryType,
                                           boolean delivered,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
                                           throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_T_DT_D_First

UserNotificationEvent fetchByU_T_DT_D_First(long userId,
                                            String type,
                                            int deliveryType,
                                            boolean delivered,
                                            OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_T_DT_D_Last

UserNotificationEvent findByU_T_DT_D_Last(long userId,
                                          String type,
                                          int deliveryType,
                                          boolean delivered,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
                                          throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_T_DT_D_Last

UserNotificationEvent fetchByU_T_DT_D_Last(long userId,
                                           String type,
                                           int deliveryType,
                                           boolean delivered,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_T_DT_D_PrevAndNext

UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId,
                                                   long userId,
                                                   String type,
                                                   int deliveryType,
                                                   boolean delivered,
                                                   OrderByComparator<UserNotificationEvent> orderByComparator)
                                                   throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_T_DT_D

void removeByU_T_DT_D(long userId,
                      String type,
                      int deliveryType,
                      boolean delivered)
Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered

countByU_T_DT_D

int countByU_T_DT_D(long userId,
                    String type,
                    int deliveryType,
                    boolean delivered)
Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.

Parameters:
userId - the user ID
type - the type
deliveryType - the delivery type
delivered - the delivered
Returns:
the number of matching user notification events

findByU_DT_D_A

List<UserNotificationEvent> findByU_DT_D_A(long userId,
                                           int deliveryType,
                                           boolean delivered,
                                           boolean actionRequired)
Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
Returns:
the matching user notification events

findByU_DT_D_A

List<UserNotificationEvent> findByU_DT_D_A(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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A

List<UserNotificationEvent> findByU_DT_D_A(long userId,
                                           int deliveryType,
                                           boolean delivered,
                                           boolean actionRequired,
                                           int start,
                                           int end,
                                           OrderByComparator<UserNotificationEvent> orderByComparator,
                                           boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_DT_D_A_First

UserNotificationEvent findByU_DT_D_A_First(long userId,
                                           int deliveryType,
                                           boolean delivered,
                                           boolean actionRequired,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
                                           throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_D_A_First

UserNotificationEvent fetchByU_DT_D_A_First(long userId,
                                            int deliveryType,
                                            boolean delivered,
                                            boolean actionRequired,
                                            OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_DT_D_A_Last

UserNotificationEvent findByU_DT_D_A_Last(long userId,
                                          int deliveryType,
                                          boolean delivered,
                                          boolean actionRequired,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
                                          throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_D_A_Last

UserNotificationEvent fetchByU_DT_D_A_Last(long userId,
                                           int deliveryType,
                                           boolean delivered,
                                           boolean actionRequired,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_DT_D_A_PrevAndNext

UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId,
                                                   long userId,
                                                   int deliveryType,
                                                   boolean delivered,
                                                   boolean actionRequired,
                                                   OrderByComparator<UserNotificationEvent> orderByComparator)
                                                   throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_DT_D_A

void removeByU_DT_D_A(long userId,
                      int deliveryType,
                      boolean delivered,
                      boolean actionRequired)
Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required

countByU_DT_D_A

int countByU_DT_D_A(long userId,
                    int deliveryType,
                    boolean delivered,
                    boolean actionRequired)
Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
delivered - the delivered
actionRequired - the action required
Returns:
the number of matching user notification events

findByU_DT_A_A

List<UserNotificationEvent> findByU_DT_A_A(long userId,
                                           int deliveryType,
                                           boolean actionRequired,
                                           boolean archived)
Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
Returns:
the matching user notification events

findByU_DT_A_A

List<UserNotificationEvent> findByU_DT_A_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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A_A

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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_A_A

List<UserNotificationEvent> findByU_DT_A_A(long userId,
                                           int deliveryType,
                                           boolean actionRequired,
                                           boolean archived,
                                           int start,
                                           int end,
                                           OrderByComparator<UserNotificationEvent> orderByComparator,
                                           boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of matching user notification events

findByU_DT_A_A_First

UserNotificationEvent findByU_DT_A_A_First(long userId,
                                           int deliveryType,
                                           boolean actionRequired,
                                           boolean archived,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
                                           throws NoSuchUserNotificationEventException
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_A_A_First

UserNotificationEvent fetchByU_DT_A_A_First(long userId,
                                            int deliveryType,
                                            boolean actionRequired,
                                            boolean archived,
                                            OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching user notification event, or null if a matching user notification event could not be found

findByU_DT_A_A_Last

UserNotificationEvent findByU_DT_A_A_Last(long userId,
                                          int deliveryType,
                                          boolean actionRequired,
                                          boolean archived,
                                          OrderByComparator<UserNotificationEvent> orderByComparator)
                                          throws NoSuchUserNotificationEventException
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event
Throws:
NoSuchUserNotificationEventException - if a matching user notification event could not be found

fetchByU_DT_A_A_Last

UserNotificationEvent fetchByU_DT_A_A_Last(long userId,
                                           int deliveryType,
                                           boolean actionRequired,
                                           boolean archived,
                                           OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching user notification event, or null if a matching user notification event could not be found

findByU_DT_A_A_PrevAndNext

UserNotificationEvent[] findByU_DT_A_A_PrevAndNext(long userNotificationEventId,
                                                   long userId,
                                                   int deliveryType,
                                                   boolean actionRequired,
                                                   boolean archived,
                                                   OrderByComparator<UserNotificationEvent> orderByComparator)
                                                   throws NoSuchUserNotificationEventException
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userNotificationEventId - the primary key of the current user notification event
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

removeByU_DT_A_A

void removeByU_DT_A_A(long userId,
                      int deliveryType,
                      boolean actionRequired,
                      boolean archived)
Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived

countByU_DT_A_A

int countByU_DT_A_A(long userId,
                    int deliveryType,
                    boolean actionRequired,
                    boolean archived)
Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.

Parameters:
userId - the user ID
deliveryType - the delivery type
actionRequired - the action required
archived - the archived
Returns:
the number of matching user notification events

cacheResult

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

Parameters:
userNotificationEvent - the user notification event

cacheResult

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

Parameters:
userNotificationEvents - the user notification events

create

UserNotificationEvent create(long userNotificationEventId)
Creates a new user notification event with the primary key. Does not add the user notification event to the database.

Parameters:
userNotificationEventId - the primary key for the new user notification event
Returns:
the new user notification event

remove

UserNotificationEvent remove(long userNotificationEventId)
                             throws NoSuchUserNotificationEventException
Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
userNotificationEventId - the primary key of the user notification event
Returns:
the user notification event that was removed
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

updateImpl

UserNotificationEvent updateImpl(UserNotificationEvent userNotificationEvent)

findByPrimaryKey

UserNotificationEvent findByPrimaryKey(long userNotificationEventId)
                                       throws NoSuchUserNotificationEventException
Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found.

Parameters:
userNotificationEventId - the primary key of the user notification event
Returns:
the user notification event
Throws:
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found

fetchByPrimaryKey

UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId)
Returns the user notification event with the primary key or returns null if it could not be found.

Parameters:
userNotificationEventId - the primary key of the user notification event
Returns:
the user notification event, or null if a user notification event with the primary key could not be found

fetchByPrimaryKeys

Map<Serializable,UserNotificationEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
Specified by:
fetchByPrimaryKeys in interface BasePersistence<UserNotificationEvent>

findAll

List<UserNotificationEvent> findAll()
Returns all the user notification events.

Returns:
the user notification events

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findAll

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

Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil#ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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

findAll

List<UserNotificationEvent> findAll(int start,
                                    int end,
                                    OrderByComparator<UserNotificationEvent> orderByComparator,
                                    boolean retrieveFromCache)
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 and pagination is required (start and end are not QueryUtil#ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.

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)
retrieveFromCache - whether to retrieve from the finder cache
Returns:
the ordered range of user notification events

removeAll

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


countAll

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

Returns:
the number of user notification events

getBadColumnNames

Set<String> getBadColumnNames()
Specified by:
getBadColumnNames in interface BasePersistence<UserNotificationEvent>

Liferay 7.0-ce-b4