Class UserNotificationEventUtil
com.liferay.portal.service.persistence.impl.UserNotificationEventPersistenceImpl
and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
cacheResult
(UserNotificationEvent userNotificationEvent) Caches the user notification event in the entity cache if it is enabled.static void
cacheResult
(List<UserNotificationEvent> userNotificationEvents) Caches the user notification events in the entity cache if it is enabled.static void
static void
clearCache
(UserNotificationEvent userNotificationEvent) static int
countAll()
Returns the number of user notification events.static int
countByType
(String type) Returns the number of user notification events where type = ?.static int
countByU_A
(long userId, boolean archived) Returns the number of user notification events where userId = ? and archived = ?.static int
countByU_AR_A
(long userId, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.static int
countByU_D
(long userId, boolean delivered) Returns the number of user notification events where userId = ? and delivered = ?.static int
countByU_D_A
(long userId, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.static int
countByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.static int
countByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static int
countByU_DT
(long userId, int deliveryType) Returns the number of user notification events where userId = ? and deliveryType = ?.static int
countByU_DT_A
(long userId, int deliveryType, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.static int
countByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static int
countByU_DT_D
(long userId, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.static int
countByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static int
countByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static int
countByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static int
countByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.static int
countByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static int
countByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Returns the number of user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static int
countByUserId
(long userId) Returns the number of user notification events where userId = ?.static int
countByUuid
(String uuid) Returns the number of user notification events where uuid = ?.static int
countByUuid_C
(String uuid, long companyId) Returns the number of user notification events where uuid = ? and companyId = ?.static long
countWithDynamicQuery
(DynamicQuery dynamicQuery) static UserNotificationEvent
create
(long userNotificationEventId) Creates a new user notification event with the primary key.static UserNotificationEvent
fetchByPrimaryKey
(long userNotificationEventId) Returns the user notification event with the primary key or returnsnull
if it could not be found.static Map<Serializable,
UserNotificationEvent> fetchByPrimaryKeys
(Set<Serializable> primaryKeys) static UserNotificationEvent
fetchByType_First
(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.static UserNotificationEvent
fetchByType_Last
(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.static UserNotificationEvent
fetchByU_A_First
(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and archived = ?.static UserNotificationEvent
fetchByU_A_Last
(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and archived = ?.static UserNotificationEvent
fetchByU_AR_A_First
(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_AR_A_Last
(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_D_A_First
(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_D_A_Last
(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_D_AR_A_First
(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_D_AR_A_Last
(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_D_AR_First
(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
fetchByU_D_AR_Last
(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
fetchByU_D_First
(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ?.static UserNotificationEvent
fetchByU_D_Last
(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ?.static UserNotificationEvent
fetchByU_DT_A_First
(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_A_Last
(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_AR_A_First
(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_AR_A_Last
(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_D_A_First
(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_D_A_Last
(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_D_AR_A_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_D_AR_A_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
fetchByU_DT_D_AR_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
fetchByU_DT_D_AR_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
fetchByU_DT_D_First
(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.static UserNotificationEvent
fetchByU_DT_D_Last
(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.static UserNotificationEvent
fetchByU_DT_First
(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.static UserNotificationEvent
fetchByU_DT_Last
(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.static UserNotificationEvent
fetchByU_T_DT_D_A_First
(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_T_DT_D_A_Last
(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
fetchByU_T_DT_D_First
(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.static UserNotificationEvent
fetchByU_T_DT_D_Last
(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.static UserNotificationEvent
fetchByU_T_GteT_D_First
(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static UserNotificationEvent
fetchByU_T_GteT_D_Last
(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static UserNotificationEvent
fetchByUserId_First
(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.static UserNotificationEvent
fetchByUserId_Last
(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.static UserNotificationEvent
fetchByUuid_C_First
(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.static UserNotificationEvent
fetchByUuid_C_Last
(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.static UserNotificationEvent
fetchByUuid_First
(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.static UserNotificationEvent
fetchByUuid_Last
(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.static List<UserNotificationEvent>
findAll()
Returns all the user notification events.static List<UserNotificationEvent>
findAll
(int start, int end) Returns a range of all the user notification events.static List<UserNotificationEvent>
findAll
(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events.static List<UserNotificationEvent>
findAll
(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events.static UserNotificationEvent
findByPrimaryKey
(long userNotificationEventId) Returns the user notification event with the primary key or throws aNoSuchUserNotificationEventException
if it could not be found.static List<UserNotificationEvent>
findByType
(String type) Returns all the user notification events where type = ?.static List<UserNotificationEvent>
findByType
(String type, int start, int end) Returns a range of all the user notification events where type = ?.static List<UserNotificationEvent>
findByType
(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where type = ?.static List<UserNotificationEvent>
findByType
(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where type = ?.static UserNotificationEvent
findByType_First
(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.static UserNotificationEvent
findByType_Last
(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_A
(long userId, boolean archived) Returns all the user notification events where userId = ? and archived = ?.static List<UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and archived = ?.static List<UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and archived = ?.static List<UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and archived = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_AR_A_First
(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_AR_A_Last
(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.static UserNotificationEvent[]
findByU_AR_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 = ?.static List<UserNotificationEvent>
findByU_D
(long userId, boolean delivered) Returns all the user notification events where userId = ? and delivered = ?.static List<UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ?.static List<UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.static List<UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.static List<UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_D_A_First
(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_D_A_Last
(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.static UserNotificationEvent[]
findByU_D_A_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, 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 delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_D_AR_A_First
(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_D_AR_A_Last
(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent[]
findByU_D_AR_A_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, 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 delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_D_AR_First
(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
findByU_D_AR_Last
(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent[]
findByU_D_AR_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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_DT
(long userId, int deliveryType) Returns all the user notification events where userId = ? and deliveryType = ?.static List<UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ?.static List<UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.static List<UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.static List<UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_DT_AR_A_First
(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_DT_AR_A_Last
(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.static UserNotificationEvent[]
findByU_DT_AR_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 = ?.static List<UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_DT_D_A_First
(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_DT_D_A_Last
(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent[]
findByU_DT_D_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, 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 delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static List<UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static List<UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_DT_D_AR_A_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_DT_D_AR_A_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent[]
findByU_DT_D_AR_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, 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 delivered = ? and actionRequired = ? and archived = ?.static UserNotificationEvent
findByU_DT_D_AR_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent
findByU_DT_D_AR_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.static UserNotificationEvent[]
findByU_DT_D_AR_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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static List<UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_T_DT_D_A_First
(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent
findByU_T_DT_D_A_Last
(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.static UserNotificationEvent[]
findByU_T_DT_D_A_PrevAndNext
(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, 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 type = ? and deliveryType = ? and delivered = ? and archived = ?.static 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 = ?.static 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 = ?.static 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 = ?.static List<UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Returns all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static List<UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static UserNotificationEvent
findByU_T_GteT_D_First
(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static UserNotificationEvent
findByU_T_GteT_D_Last
(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.static UserNotificationEvent[]
findByU_T_GteT_D_PrevAndNext
(long userNotificationEventId, long userId, String type, long timestamp, 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 timestamp ≥ ? and delivered = ?.static List<UserNotificationEvent>
findByUserId
(long userId) Returns all the user notification events where userId = ?.static List<UserNotificationEvent>
findByUserId
(long userId, int start, int end) Returns a range of all the user notification events where userId = ?.static List<UserNotificationEvent>
findByUserId
(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ?.static List<UserNotificationEvent>
findByUserId
(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ?.static UserNotificationEvent
findByUserId_First
(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.static UserNotificationEvent
findByUserId_Last
(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.static 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 = ?.static List<UserNotificationEvent>
findByUuid
(String uuid) Returns all the user notification events where uuid = ?.static List<UserNotificationEvent>
findByUuid
(String uuid, int start, int end) Returns a range of all the user notification events where uuid = ?.static List<UserNotificationEvent>
findByUuid
(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ?.static List<UserNotificationEvent>
findByUuid
(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ?.static List<UserNotificationEvent>
findByUuid_C
(String uuid, long companyId) Returns all the user notification events where uuid = ? and companyId = ?.static List<UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the user notification events where uuid = ? and companyId = ?.static List<UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.static List<UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.static 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 = ?.static 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 = ?.static 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 = ?.static UserNotificationEvent
findByUuid_First
(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.static UserNotificationEvent
findByUuid_Last
(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.static 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 = ?.static List<UserNotificationEvent>
findWithDynamicQuery
(DynamicQuery dynamicQuery) static List<UserNotificationEvent>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end) static List<UserNotificationEvent>
findWithDynamicQuery
(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) static UserNotificationEvent
remove
(long userNotificationEventId) Removes the user notification event with the primary key from the database.static void
Removes all the user notification events from the database.static void
removeByType
(String type) Removes all the user notification events where type = ? from the database.static void
removeByU_A
(long userId, boolean archived) Removes all the user notification events where userId = ? and archived = ? from the database.static void
removeByU_AR_A
(long userId, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.static void
removeByU_D
(long userId, boolean delivered) Removes all the user notification events where userId = ? and delivered = ? from the database.static void
removeByU_D_A
(long userId, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.static void
removeByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.static void
removeByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ? from the database.static void
removeByU_DT
(long userId, int deliveryType) Removes all the user notification events where userId = ? and deliveryType = ? from the database.static void
removeByU_DT_A
(long userId, int deliveryType, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.static void
removeByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.static void
removeByU_DT_D
(long userId, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.static void
removeByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ? from the database.static void
removeByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.static void
removeByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ? from the database.static void
removeByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.static void
removeByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ? from the database.static void
removeByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Removes all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ? from the database.static void
removeByUserId
(long userId) Removes all the user notification events where userId = ? from the database.static void
removeByUuid
(String uuid) Removes all the user notification events where uuid = ? from the database.static void
removeByUuid_C
(String uuid, long companyId) Removes all the user notification events where uuid = ? and companyId = ? from the database.static void
setPersistence
(UserNotificationEventPersistence persistence) static UserNotificationEvent
update
(UserNotificationEvent userNotificationEvent) static UserNotificationEvent
update
(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) static UserNotificationEvent
updateImpl
(UserNotificationEvent userNotificationEvent)
-
Constructor Details
-
UserNotificationEventUtil
public UserNotificationEventUtil()
-
-
Method Details
-
clearCache
public static void clearCache()- See Also:
-
clearCache
-
countWithDynamicQuery
-
fetchByPrimaryKeys
public static Map<Serializable,UserNotificationEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys) - See Also:
-
findWithDynamicQuery
-
findWithDynamicQuery
public static List<UserNotificationEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end) -
findWithDynamicQuery
public static List<UserNotificationEvent> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) -
update
-
update
public static UserNotificationEvent update(UserNotificationEvent userNotificationEvent, ServiceContext serviceContext) -
findByUuid
Returns all the user notification events where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the matching user notification events
-
findByUuid
Returns a range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByUuid
public static List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByUuid
public static List<UserNotificationEvent> findByUuid(String uuid, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByUuid_First
public static UserNotificationEvent findByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUuid_First
public static UserNotificationEvent fetchByUuid_First(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByUuid_Last
public static UserNotificationEvent findByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUuid_Last
public static UserNotificationEvent fetchByUuid_Last(String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByUuid_PrevAndNext
public static UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId, String uuid, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByUuid
Removes all the user notification events where uuid = ? from the database.- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of user notification events where uuid = ?.- Parameters:
uuid
- the uuid- Returns:
- the number of matching user notification events
-
findByUuid_C
Returns all the user notification events where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching user notification events
-
findByUuid_C
public static List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByUuid_C
public static List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByUuid_C
public static List<UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
uuid
- the uuidcompanyId
- the company IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByUuid_C_First
public static UserNotificationEvent findByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUuid_C_First
public static UserNotificationEvent fetchByUuid_C_First(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByUuid_C_Last
public static UserNotificationEvent findByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUuid_C_Last
public static UserNotificationEvent fetchByUuid_C_Last(String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByUuid_C_PrevAndNext
public static UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByUuid_C
Removes all the user notification events where uuid = ? and companyId = ? from the database.- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of user notification events where uuid = ? and companyId = ?.- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching user notification events
-
findByUserId
Returns all the user notification events where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the matching user notification events
-
findByUserId
Returns a range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByUserId
public static List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByUserId
public static List<UserNotificationEvent> findByUserId(long userId, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByUserId_First
public static UserNotificationEvent findByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUserId_First
public static UserNotificationEvent fetchByUserId_First(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByUserId_Last
public static UserNotificationEvent findByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByUserId_Last
public static UserNotificationEvent fetchByUserId_Last(long userId, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByUserId_PrevAndNext
public static UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId, long userId, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByUserId
public static void removeByUserId(long userId) Removes all the user notification events where userId = ? from the database.- Parameters:
userId
- the user ID
-
countByUserId
public static int countByUserId(long userId) Returns the number of user notification events where userId = ?.- Parameters:
userId
- the user ID- Returns:
- the number of matching user notification events
-
findByType
Returns all the user notification events where type = ?.- Parameters:
type
- the type- Returns:
- the matching user notification events
-
findByType
Returns a range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByType
public static List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByType
public static List<UserNotificationEvent> findByType(String type, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
type
- the typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByType_First
public static UserNotificationEvent findByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByType_First
public static UserNotificationEvent fetchByType_First(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByType_Last
public static UserNotificationEvent findByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByType_Last
public static UserNotificationEvent fetchByType_Last(String type, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByType_PrevAndNext
public static UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId, String type, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where type = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventtype
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByType
Removes all the user notification events where type = ? from the database.- Parameters:
type
- the type
-
countByType
Returns the number of user notification events where type = ?.- Parameters:
type
- the type- Returns:
- the number of matching user notification events
-
findByU_DT
Returns all the user notification events where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery type- Returns:
- the matching user notification events
-
findByU_DT
public static List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT
public static List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT
public static List<UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typestart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_First
public static UserNotificationEvent findByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_First
public static UserNotificationEvent fetchByU_DT_First(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_Last
public static UserNotificationEvent findByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_Last
public static UserNotificationEvent fetchByU_DT_Last(long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_PrevAndNext
public static UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT
public static void removeByU_DT(long userId, int deliveryType) Removes all the user notification events where userId = ? and deliveryType = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery type
-
countByU_DT
public static int countByU_DT(long userId, int deliveryType) Returns the number of user notification events where userId = ? and deliveryType = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery type- Returns:
- the number of matching user notification events
-
findByU_D
Returns all the user notification events where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_D
public static List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_D
public static List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_D
public static List<UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_D_First
public static UserNotificationEvent findByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_First
public static UserNotificationEvent fetchByU_D_First(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_Last
public static UserNotificationEvent findByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_Last
public static UserNotificationEvent fetchByU_D_Last(long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_PrevAndNext
public static UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_D
public static void removeByU_D(long userId, boolean delivered) Removes all the user notification events where userId = ? and delivered = ? from the database.- Parameters:
userId
- the user IDdelivered
- the delivered
-
countByU_D
public static int countByU_D(long userId, boolean delivered) Returns the number of user notification events where userId = ? and delivered = ?.- Parameters:
userId
- the user IDdelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_A
Returns all the user notification events where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archived- Returns:
- the matching user notification events
-
findByU_A
public static List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_A
public static List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_A
public static List<UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_A_First
public static UserNotificationEvent findByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_A_First
public static UserNotificationEvent fetchByU_A_First(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_A_Last
public static UserNotificationEvent findByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_A_Last
public static UserNotificationEvent fetchByU_A_Last(long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_A_PrevAndNext
public static UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_A
public static void removeByU_A(long userId, boolean archived) Removes all the user notification events where userId = ? and archived = ? from the database.- Parameters:
userId
- the user IDarchived
- the archived
-
countByU_A
public static int countByU_A(long userId, boolean archived) Returns the number of user notification events where userId = ? and archived = ?.- Parameters:
userId
- the user IDarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_DT_D
public static List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_DT_D
public static List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_D
public static List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D
public static List<UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_First
public static UserNotificationEvent findByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_First
public static UserNotificationEvent fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_Last
public static UserNotificationEvent findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_Last
public static UserNotificationEvent fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_PrevAndNext
public static UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_D
public static void removeByU_DT_D(long userId, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered
-
countByU_DT_D
public static int countByU_DT_D(long userId, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_DT_A
public static List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_A
public static List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_A
public static List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_A
public static List<UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_A_First
public static UserNotificationEvent findByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_A_First
public static UserNotificationEvent fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_A_Last
public static UserNotificationEvent findByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_A_Last
public static UserNotificationEvent fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_A_PrevAndNext
public static UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typearchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_A
public static void removeByU_DT_A(long userId, int deliveryType, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived
-
countByU_DT_A
public static int countByU_DT_A(long userId, int deliveryType, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_D_AR
public static List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required- Returns:
- the matching user notification events
-
findByU_D_AR
public static List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_D_AR
public static List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_D_AR
public static List<UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_D_AR_First
public static UserNotificationEvent findByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_AR_First
public static UserNotificationEvent fetchByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_AR_Last
public static UserNotificationEvent findByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_AR_Last
public static UserNotificationEvent fetchByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_AR_PrevAndNext
public static UserNotificationEvent[] findByU_D_AR_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_D_AR
public static void removeByU_D_AR(long userId, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required
-
countByU_D_AR
public static int countByU_D_AR(long userId, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required- Returns:
- the number of matching user notification events
-
findByU_D_A
public static List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_D_A
public static List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_D_A
public static List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_D_A
public static List<UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_D_A_First
public static UserNotificationEvent findByU_D_A_First(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_A_First
public static UserNotificationEvent fetchByU_D_A_First(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_A_Last
public static UserNotificationEvent findByU_D_A_Last(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_A_Last
public static UserNotificationEvent fetchByU_D_A_Last(long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_A_PrevAndNext
public static UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_D_A
public static void removeByU_D_A(long userId, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived
-
countByU_D_A
public static int countByU_D_A(long userId, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_AR_A
public static List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_AR_A
public static List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_AR_A
public static List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_AR_A
public static List<UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_AR_A_First
public static UserNotificationEvent findByU_AR_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_AR_A_First
public static UserNotificationEvent fetchByU_AR_A_First(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_AR_A_Last
public static UserNotificationEvent findByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_AR_A_Last
public static UserNotificationEvent fetchByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_AR_A_PrevAndNext
public static UserNotificationEvent[] findByU_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_AR_A
public static void removeByU_AR_A(long userId, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived
-
countByU_AR_A
public static int countByU_AR_A(long userId, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_T_GteT_D
public static List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered) Returns all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_T_GteT_D
public static List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_T_GteT_D
public static List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_T_GteT_D
public static List<UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_T_GteT_D_First
public static UserNotificationEvent findByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_GteT_D_First
public static UserNotificationEvent fetchByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_GteT_D_Last
public static UserNotificationEvent findByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_GteT_D_Last
public static UserNotificationEvent fetchByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_GteT_D_PrevAndNext
public static UserNotificationEvent[] findByU_T_GteT_D_PrevAndNext(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_T_GteT_D
Removes all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ? from the database.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the delivered
-
countByU_T_GteT_D
Returns the number of user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_T_DT_D
public static List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_T_DT_D
public static List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_T_DT_D
public static List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_T_DT_D
public static List<UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_T_DT_D_First
public static UserNotificationEvent findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_DT_D_First
public static UserNotificationEvent fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_DT_D_Last
public static UserNotificationEvent findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_DT_D_Last
public static UserNotificationEvent fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_DT_D_PrevAndNext
public static UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_T_DT_D
Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the delivered
-
countByU_T_DT_D
Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_DT_D_AR
public static List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action required- Returns:
- the matching user notification events
-
findByU_DT_D_AR
public static List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_D_AR
public static List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_AR
public static List<UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_AR_First
public static UserNotificationEvent findByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_AR_First
public static UserNotificationEvent fetchByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_AR_Last
public static UserNotificationEvent findByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_AR_Last
public static UserNotificationEvent fetchByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_AR_PrevAndNext
public static UserNotificationEvent[] findByU_DT_D_AR_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_D_AR
public static void removeByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action required
-
countByU_DT_D_AR
public static int countByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action required- Returns:
- the number of matching user notification events
-
findByU_DT_D_A
public static List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_D_A
public static List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_D_A
public static List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_A
public static List<UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_A_First
public static UserNotificationEvent findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_A_First
public static UserNotificationEvent fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_A_Last
public static UserNotificationEvent findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_A_Last
public static UserNotificationEvent fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_A_PrevAndNext
public static UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_D_A
public static void removeByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived
-
countByU_DT_D_A
public static int countByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_DT_AR_A
public static List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_AR_A
public static List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_AR_A
public static List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_AR_A
public static List<UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_AR_A_First
public static UserNotificationEvent findByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_AR_A_First
public static UserNotificationEvent fetchByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_AR_A_Last
public static UserNotificationEvent findByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_AR_A_Last
public static UserNotificationEvent fetchByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_AR_A_PrevAndNext
public static UserNotificationEvent[] findByU_DT_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_AR_A
public static void removeByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archived
-
countByU_DT_AR_A
public static int countByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_D_AR_A
public static List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_D_AR_A
public static List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_D_AR_A
public static List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_D_AR_A
public static List<UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_D_AR_A_First
public static UserNotificationEvent findByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_AR_A_First
public static UserNotificationEvent fetchByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_AR_A_Last
public static UserNotificationEvent findByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_D_AR_A_Last
public static UserNotificationEvent fetchByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_D_AR_A_PrevAndNext
public static UserNotificationEvent[] findByU_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_D_AR_A
public static void removeByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ? from the database.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived
-
countByU_D_AR_A
public static int countByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_T_DT_D_A
public static List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_T_DT_D_A
public static List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_T_DT_D_A
public static List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_T_DT_D_A
public static List<UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_T_DT_D_A_First
public static UserNotificationEvent findByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_DT_D_A_First
public static UserNotificationEvent fetchByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_DT_D_A_Last
public static UserNotificationEvent findByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_T_DT_D_A_Last
public static UserNotificationEvent fetchByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_T_DT_D_A_PrevAndNext
public static UserNotificationEvent[] findByU_T_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_T_DT_D_A
public static void removeByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ? from the database.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived
-
countByU_T_DT_D_A
public static int countByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_DT_D_AR_A
public static List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_D_AR_A
public static List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of matching user notification events
-
findByU_DT_D_AR_A
public static List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_AR_A
public static List<UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedstart
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of matching user notification events
-
findByU_DT_D_AR_A_First
public static UserNotificationEvent findByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_AR_A_First
public static UserNotificationEvent fetchByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_AR_A_Last
public static UserNotificationEvent findByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
NoSuchUserNotificationEventException
- if a matching user notification event could not be foundNoSuchUserNotificationEventException
-
fetchByU_DT_D_AR_A_Last
public static UserNotificationEvent fetchByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event, or
null
if a matching user notification event could not be found
-
findByU_DT_D_AR_A_PrevAndNext
public static UserNotificationEvent[] findByU_DT_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, OrderByComparator<UserNotificationEvent> orderByComparator) throws NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userNotificationEventId
- the primary key of the current user notification eventuserId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the previous, current, and next user notification event
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
removeByU_DT_D_AR_A
public static void removeByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ? from the database.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived
-
countByU_DT_D_AR_A
public static int countByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
cacheResult
Caches the user notification event in the entity cache if it is enabled.- Parameters:
userNotificationEvent
- the user notification event
-
cacheResult
Caches the user notification events in the entity cache if it is enabled.- Parameters:
userNotificationEvents
- the user notification events
-
create
Creates a new user notification event with the primary key. Does not add the user notification event to the database.- Parameters:
userNotificationEventId
- the primary key for the new user notification event- Returns:
- the new user notification event
-
remove
public static UserNotificationEvent remove(long userNotificationEventId) throws NoSuchUserNotificationEventException Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.- Parameters:
userNotificationEventId
- the primary key of the user notification event- Returns:
- the user notification event that was removed
- Throws:
NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be foundNoSuchUserNotificationEventException
-
updateImpl
-
findByPrimaryKey
public static UserNotificationEvent findByPrimaryKey(long userNotificationEventId) throws NoSuchUserNotificationEventException Returns the user notification event with the primary key or throws aNoSuchUserNotificationEventException
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 foundNoSuchUserNotificationEventException
-
fetchByPrimaryKey
Returns the user notification event with the primary key or returnsnull
if it could not be found.- Parameters:
userNotificationEventId
- the primary key of the user notification event- Returns:
- the user notification event, or
null
if a user notification event with the primary key could not be found
-
findAll
Returns all the user notification events.- Returns:
- the user notification events
-
findAll
Returns a range of all the user notification events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
start
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)- Returns:
- the range of user notification events
-
findAll
public static List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
start
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)- Returns:
- the ordered range of user notification events
-
findAll
public static List<UserNotificationEvent> findAll(int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events.Useful when paginating results. Returns a maximum of
end - start
instances.start
andend
are not primary keys, they are indexes in the result set. Thus,0
refers to the first result in the set. Setting bothstart
andend
toQueryUtil#ALL_POS
will return the full result set. IforderByComparator
is specified, then the query will include the given ORDER BY logic. IforderByComparator
is absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl
.- Parameters:
start
- the lower bound of the range of user notification eventsend
- the upper bound of the range of user notification events (not inclusive)orderByComparator
- the comparator to order the results by (optionallynull
)useFinderCache
- whether to use the finder cache- Returns:
- the ordered range of user notification events
-
removeAll
public static void removeAll()Removes all the user notification events from the database. -
countAll
public static int countAll()Returns the number of user notification events.- Returns:
- the number of user notification events
-
getPersistence
-
setPersistence
-