Class UserNotificationEventPersistenceImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory
,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
,com.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
Caching information and settings can be found in portal.properties
- Author:
- Brian Wing Shun Chan
- {$generated.description}
-
Field Summary
FieldsFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Initializes the user notification event persistence.void
cacheResult
(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Caches the user notification event in the entity cache if it is enabled.void
cacheResult
(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) Caches the user notification events in the entity cache if it is enabled.void
Clears the cache for all user notification events.void
clearCache
(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Clears the cache for the user notification event.void
clearCache
(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) void
clearCache
(Set<Serializable> primaryKeys) int
countAll()
Returns the number of user notification events.int
countByType
(String type) Returns the number of user notification events where type = ?.int
countByU_A
(long userId, boolean archived) Returns the number of user notification events where userId = ? and archived = ?.int
countByU_AR_A
(long userId, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.int
countByU_D
(long userId, boolean delivered) Returns the number of user notification events where userId = ? and delivered = ?.int
countByU_D_A
(long userId, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.int
countByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.int
countByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.int
countByU_DT
(long userId, int deliveryType) Returns the number of user notification events where userId = ? and deliveryType = ?.int
countByU_DT_A
(long userId, int deliveryType, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.int
countByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.int
countByU_DT_D
(long userId, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.int
countByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.int
countByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.int
countByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.int
countByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.int
countByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.int
countByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Returns the number of user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.int
countByUserId
(long userId) Returns the number of user notification events where userId = ?.int
countByUuid
(String uuid) Returns the number of user notification events where uuid = ?.int
countByUuid_C
(String uuid, long companyId) Returns the number of user notification events where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
create
(long userNotificationEventId) Creates a new user notification event with the primary key.void
destroy()
com.liferay.portal.kernel.model.UserNotificationEvent
fetchByPrimaryKey
(long userNotificationEventId) Returns the user notification event with the primary key or returnsnull
if it could not be found.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByType_First
(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByType_Last
(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_A_First
(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_A_Last
(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_AR_A_First
(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_AR_A_Last
(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_A_First
(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_A_Last
(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_AR_A_First
(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_AR_A_Last
(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_AR_First
(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_AR_Last
(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_First
(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_D_Last
(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_A_First
(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_A_Last
(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_AR_A_First
(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_AR_A_Last
(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_A_First
(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_A_Last
(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_AR_A_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_AR_A_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_AR_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_AR_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_First
(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_D_Last
(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_First
(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_DT_Last
(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_DT_D_A_First
(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_DT_D_A_Last
(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_DT_D_First
(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_DT_D_Last
(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_GteT_D_First
(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByU_T_GteT_D_Last
(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.com.liferay.portal.kernel.model.UserNotificationEvent
fetchByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findAll()
Returns all the user notification events.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findAll
(int start, int end) Returns a range of all the user notification events.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findAll
(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events.com.liferay.portal.kernel.model.UserNotificationEvent
findByPrimaryKey
(long userNotificationEventId) Returns the user notification event with the primary key or throws aNoSuchUserNotificationEventException
if it could not be found.com.liferay.portal.kernel.model.UserNotificationEvent
findByPrimaryKey
(Serializable primaryKey) Returns the user notification event with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByType
(String type) Returns all the user notification events where type = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByType
(String type, int start, int end) Returns a range of all the user notification events where type = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByType
(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where type = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByType
(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where type = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByType_First
(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByType_Last
(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByType_PrevAndNext
(long userNotificationEventId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where type = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_A
(long userId, boolean archived) Returns all the user notification events where userId = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_A
(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_A_First
(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_A_Last
(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_A_PrevAndNext
(long userNotificationEventId, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_AR_A
(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_AR_A_First
(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_AR_A_Last
(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_AR_A_PrevAndNext
(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D
(long userId, boolean delivered) Returns all the user notification events where userId = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D
(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_A
(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_A_First
(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_A_Last
(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_D_A_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR
(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_AR_A_First
(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_AR_A_Last
(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_D_AR_A_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_AR_First
(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_AR_Last
(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_D_AR_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_First
(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_D_Last
(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_D_PrevAndNext
(long userNotificationEventId, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT
(long userId, int deliveryType) Returns all the user notification events where userId = ? and deliveryType = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT
(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_A
(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_A_First
(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_A_Last
(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_AR_A_First
(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_AR_A_Last
(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_AR_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D
(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_A_First
(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_A_Last
(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_D_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_AR_A_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_AR_A_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_D_AR_A_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_AR_First
(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_AR_Last
(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_D_AR_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_First
(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_D_Last
(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_D_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_First
(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_DT_Last
(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_DT_PrevAndNext
(long userNotificationEventId, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_DT_D_A_First
(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_DT_D_A_Last
(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_T_DT_D_A_PrevAndNext
(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_DT_D_First
(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_DT_D_Last
(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_T_DT_D_PrevAndNext
(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Returns all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_GteT_D_First
(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByU_T_GteT_D_Last
(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByU_T_GteT_D_PrevAndNext
(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUserId
(long userId) Returns all the user notification events where userId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUserId
(long userId, int start, int end) Returns a range of all the user notification events where userId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUserId
(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUserId
(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUserId_First
(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUserId_Last
(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByUserId_PrevAndNext
(long userNotificationEventId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid
(String uuid) Returns all the user notification events where uuid = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid
(String uuid, int start, int end) Returns a range of all the user notification events where uuid = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid
(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid_C
(String uuid, long companyId) Returns all the user notification events where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end) Returns a range of all the user notification events where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.List<com.liferay.portal.kernel.model.UserNotificationEvent>
findByUuid_C
(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUuid_C_First
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUuid_C_Last
(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByUuid_C_PrevAndNext
(long userNotificationEventId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUuid_First
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.com.liferay.portal.kernel.model.UserNotificationEvent
findByUuid_Last
(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.com.liferay.portal.kernel.model.UserNotificationEvent[]
findByUuid_PrevAndNext
(long userNotificationEventId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.protected com.liferay.portal.kernel.model.UserNotificationEvent
getByType_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_AR_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_D_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_D_AR_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_D_AR_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_D_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_AR_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_D_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_D_AR_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_D_AR_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_D_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_DT_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_T_DT_D_A_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_T_DT_D_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByU_T_GteT_D_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByUserId_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByUuid_C_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.model.UserNotificationEvent
getByUuid_PrevAndNext
(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) protected com.liferay.portal.kernel.dao.orm.EntityCache
protected com.liferay.portal.kernel.dao.orm.FinderCache
protected String
protected String
com.liferay.portal.kernel.model.UserNotificationEvent
remove
(long userNotificationEventId) Removes the user notification event with the primary key from the database.com.liferay.portal.kernel.model.UserNotificationEvent
remove
(Serializable primaryKey) Removes the user notification event with the primary key from the database.void
Removes all the user notification events from the database.void
removeByType
(String type) Removes all the user notification events where type = ? from the database.void
removeByU_A
(long userId, boolean archived) Removes all the user notification events where userId = ? and archived = ? from the database.void
removeByU_AR_A
(long userId, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.void
removeByU_D
(long userId, boolean delivered) Removes all the user notification events where userId = ? and delivered = ? from the database.void
removeByU_D_A
(long userId, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.void
removeByU_D_AR
(long userId, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.void
removeByU_D_AR_A
(long userId, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ? from the database.void
removeByU_DT
(long userId, int deliveryType) Removes all the user notification events where userId = ? and deliveryType = ? from the database.void
removeByU_DT_A
(long userId, int deliveryType, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.void
removeByU_DT_AR_A
(long userId, int deliveryType, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.void
removeByU_DT_D
(long userId, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.void
removeByU_DT_D_A
(long userId, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ? from the database.void
removeByU_DT_D_AR
(long userId, int deliveryType, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.void
removeByU_DT_D_AR_A
(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ? from the database.void
removeByU_T_DT_D
(long userId, String type, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.void
removeByU_T_DT_D_A
(long userId, String type, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ? from the database.void
removeByU_T_GteT_D
(long userId, String type, long timestamp, boolean delivered) Removes all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ? from the database.void
removeByUserId
(long userId) Removes all the user notification events where userId = ? from the database.void
removeByUuid
(String uuid) Removes all the user notification events where uuid = ? from the database.void
removeByUuid_C
(String uuid, long companyId) Removes all the user notification events where uuid = ? and companyId = ? from the database.protected com.liferay.portal.kernel.model.UserNotificationEvent
removeImpl
(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) com.liferay.portal.kernel.model.UserNotificationEvent
updateImpl
(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Methods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeByFunction, removeConjunction, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, dslQueryCount, fetchByPrimaryKey, fetchByPrimaryKeys, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openSession, processException, registerListener, remove, removeByFunction, setDataSource, unregisterListener, update, update
-
Field Details
-
FINDER_CLASS_NAME_ENTITY
-
FINDER_CLASS_NAME_LIST_WITH_PAGINATION
-
FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
-
-
Constructor Details
-
UserNotificationEventPersistenceImpl
public UserNotificationEventPersistenceImpl()
-
-
Method Details
-
findByUuid
Returns all the user notification events where uuid = ?.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuid- Returns:
- the matching user notification events
-
findByUuid
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid, int start, int end) Returns a range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid(String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where uuid = ?.- Specified by:
findByUuid_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUuid_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_First(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ?.- Specified by:
fetchByUuid_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where uuid = ?.- Specified by:
findByUuid_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUuid_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_Last(String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ?.- Specified by:
fetchByUuid_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?.- Specified by:
findByUuid_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByUuid_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByUuid
Removes all the user notification events where uuid = ? from the database.- Specified by:
removeByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuid
-
countByUuid
Returns the number of user notification events where uuid = ?.- Specified by:
countByUuid
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuid- Returns:
- the number of matching user notification events
-
findByUuid_C
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId) Returns all the user notification events where uuid = ? and companyId = ?.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the matching user notification events
-
findByUuid_C
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end) Returns a range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUuid_C(String uuid, long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where uuid = ? and companyId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUuid_C_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_C_First(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUuid_C_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUuid_C_Last(String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where uuid = ? and companyId = ?.- Specified by:
fetchByUuid_C_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?.- Specified by:
findByUuid_C_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByUuid_C_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByUuid_C_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String uuid, long companyId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByUuid_C
Removes all the user notification events where uuid = ? and companyId = ? from the database.- Specified by:
removeByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID
-
countByUuid_C
Returns the number of user notification events where uuid = ? and companyId = ?.- Specified by:
countByUuid_C
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
uuid
- the uuidcompanyId
- the company ID- Returns:
- the number of matching user notification events
-
findByUserId
Returns all the user notification events where userId = ?.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user ID- Returns:
- the matching user notification events
-
findByUserId
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId, int start, int end) Returns a range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByUserId(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ?.- Specified by:
findByUserId_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUserId_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUserId_First(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ?.- Specified by:
fetchByUserId_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ?.- Specified by:
findByUserId_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByUserId_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByUserId_Last(long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ?.- Specified by:
fetchByUserId_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ?.- Specified by:
findByUserId_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByUserId_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByUserId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByUserId
public void removeByUserId(long userId) Removes all the user notification events where userId = ? from the database.- Specified by:
removeByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user ID
-
countByUserId
public int countByUserId(long userId) Returns the number of user notification events where userId = ?.- Specified by:
countByUserId
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user ID- Returns:
- the number of matching user notification events
-
findByType
Returns all the user notification events where type = ?.- Specified by:
findByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
type
- the type- Returns:
- the matching user notification events
-
findByType
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type, int start, int end) Returns a range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByType(String type, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where type = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where type = ?.- Specified by:
findByType_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByType_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByType_First(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where type = ?.- Specified by:
fetchByType_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where type = ?.- Specified by:
findByType_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
type
- the typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByType_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByType_Last(String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where type = ?.- Specified by:
fetchByType_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where type = ?.- Specified by:
findByType_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByType_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByType_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, String type, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByType
Removes all the user notification events where type = ? from the database.- Specified by:
removeByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
type
- the type
-
countByType
Returns the number of user notification events where type = ?.- Specified by:
countByType
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
type
- the type- Returns:
- the number of matching user notification events
-
findByU_DT
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType) Returns all the user notification events where userId = ? and deliveryType = ?.- Specified by:
findByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery type- Returns:
- the matching user notification events
-
findByU_DT
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT(long userId, int deliveryType, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.- Specified by:
findByU_DT_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_First(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?.- Specified by:
fetchByU_DT_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.- Specified by:
findByU_DT_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typeorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_Last(long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?.- Specified by:
fetchByU_DT_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?.- Specified by:
findByU_DT_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT
public void removeByU_DT(long userId, int deliveryType) Removes all the user notification events where userId = ? and deliveryType = ? from the database.- Specified by:
removeByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery type
-
countByU_DT
public int countByU_DT(long userId, int deliveryType) Returns the number of user notification events where userId = ? and deliveryType = ?.- Specified by:
countByU_DT
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery type- Returns:
- the number of matching user notification events
-
findByU_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered) Returns all the user notification events where userId = ? and delivered = ?.- Specified by:
findByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D(long userId, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ?.- Specified by:
findByU_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_First(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ?.- Specified by:
fetchByU_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ?.- Specified by:
findByU_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_Last(long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ?.- Specified by:
fetchByU_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?.- Specified by:
findByU_D_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_D_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_D
public void removeByU_D(long userId, boolean delivered) Removes all the user notification events where userId = ? and delivered = ? from the database.- Specified by:
removeByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the delivered
-
countByU_D
public int countByU_D(long userId, boolean delivered) Returns the number of user notification events where userId = ? and delivered = ?.- Specified by:
countByU_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived) Returns all the user notification events where userId = ? and archived = ?.- Specified by:
findByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDarchived
- the archived- Returns:
- the matching user notification events
-
findByU_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_A(long userId, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and archived = ?.- Specified by:
findByU_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the first matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_A_First(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and archived = ?.- Specified by:
fetchByU_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and archived = ?.- Specified by:
findByU_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDarchived
- the archivedorderByComparator
- the comparator to order the set by (optionallynull
)- Returns:
- the last matching user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_A_Last(long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and archived = ?.- Specified by:
fetchByU_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?.- Specified by:
findByU_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_A
public void removeByU_A(long userId, boolean archived) Removes all the user notification events where userId = ? and archived = ? from the database.- Specified by:
removeByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDarchived
- the archived
-
countByU_A
public int countByU_A(long userId, boolean archived) Returns the number of user notification events where userId = ? and archived = ?.- Specified by:
countByU_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_DT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_DT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D(long userId, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_DT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_First(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
fetchByU_DT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_DT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_Last(long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
fetchByU_DT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_DT_D_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_D_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_D
public void removeByU_DT_D(long userId, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.- Specified by:
removeByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered
-
countByU_DT_D
public int countByU_DT_D(long userId, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.- Specified by:
countByU_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_DT_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?.- Specified by:
findByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_A(long userId, int deliveryType, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Specified by:
findByU_DT_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_A_First(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Specified by:
fetchByU_DT_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Specified by:
findByU_DT_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_A_Last(long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Specified by:
fetchByU_DT_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?.- Specified by:
findByU_DT_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_A
public void removeByU_DT_A(long userId, int deliveryType, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.- Specified by:
removeByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived
-
countByU_DT_A
public int countByU_DT_A(long userId, int deliveryType, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.- Specified by:
countByU_DT_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typearchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_D_AR
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required- Returns:
- the matching user notification events
-
findByU_D_AR
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR(long userId, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_D_AR_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_AR_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_First(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
fetchByU_D_AR_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_D_AR_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_AR_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_Last(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
fetchByU_D_AR_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_AR_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_D_AR_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_D_AR_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_D_AR
public void removeByU_D_AR(long userId, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.- Specified by:
removeByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required
-
countByU_D_AR
public int countByU_D_AR(long userId, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.- Specified by:
countByU_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action required- Returns:
- the number of matching user notification events
-
findByU_D_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and archived = ?.- Specified by:
findByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_D_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_A(long userId, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Specified by:
findByU_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_A_First(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Specified by:
findByU_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_A_Last(long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and archived = ?.- Specified by:
findByU_D_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_D_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_D_A
public void removeByU_D_A(long userId, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.- Specified by:
removeByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived
-
countByU_D_A
public int countByU_D_A(long userId, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.- Specified by:
countByU_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_AR_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_AR_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_AR_A(long userId, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_AR_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_AR_A_First(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_AR_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_AR_A_Last(long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_AR_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_AR_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_AR_A
public void removeByU_AR_A(long userId, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.- Specified by:
removeByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived
-
countByU_AR_A
public int countByU_AR_A(long userId, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.- Specified by:
countByU_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
findByU_T_GteT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered) Returns all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
findByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_T_GteT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_GteT_D(long userId, String type, long timestamp, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
findByU_T_GteT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_GteT_D_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_GteT_D_First(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
fetchByU_T_GteT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
findByU_T_GteT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_GteT_D_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_GteT_D_Last(long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
fetchByU_T_GteT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_GteT_D_PrevAndNext(long userNotificationEventId, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and timestamp ≥ ? and delivered = ?.- Specified by:
findByU_T_GteT_D_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_T_GteT_D_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_GteT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, long timestamp, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_T_GteT_D
Removes all the user notification events where userId = ? and type = ? and timestamp ≥ ? and delivered = ? from the database.- Specified by:
removeByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 = ?.- Specified by:
countByU_T_GteT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDtype
- the typetimestamp
- the timestampdelivered
- the delivered- Returns:
- the number of matching user notification events
-
findByU_T_DT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the delivered- Returns:
- the matching user notification events
-
findByU_T_DT_D
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D(long userId, String type, int deliveryType, boolean delivered, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_T_DT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_DT_D_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_First(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
fetchByU_T_DT_D_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_T_DT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_DT_D_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_Last(long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
fetchByU_T_DT_D_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?.- Specified by:
findByU_T_DT_D_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_T_DT_D_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_DT_D_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_T_DT_D
Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database.- Specified by:
removeByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 = ?.- Specified by:
countByU_T_DT_D
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action required- Returns:
- the matching user notification events
-
findByU_DT_D_AR
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_DT_D_AR_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_AR_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
fetchByU_DT_D_AR_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_DT_D_AR_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_AR_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
fetchByU_DT_D_AR_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_AR_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
findByU_DT_D_AR_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_D_AR_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_AR_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_D_AR
public void removeByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database.- Specified by:
removeByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action required
-
countByU_DT_D_AR
public int countByU_DT_D_AR(long userId, int deliveryType, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?.- Specified by:
countByU_DT_D_AR
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_D_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_DT_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_A_First(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_DT_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_DT_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_A_Last(long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_DT_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_DT_D_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_D_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_D_A
public void removeByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ? from the database.- Specified by:
removeByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived
-
countByU_DT_D_A
public int countByU_DT_D_A(long userId, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
countByU_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_DT_AR_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_AR_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_AR_A_First(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_DT_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_AR_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_AR_A_Last(long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_DT_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_AR_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_AR_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_AR_A
public void removeByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database.- Specified by:
removeByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typeactionRequired
- the action requiredarchived
- the archived
-
countByU_DT_AR_A
public int countByU_DT_AR_A(long userId, int deliveryType, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?.- Specified by:
countByU_DT_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the matching user notification events
-
findByU_D_AR_A
public List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_D_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_AR_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_A_First(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_D_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_D_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_D_AR_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_D_AR_A_Last(long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_D_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_D_AR_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_D_AR_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_D_AR_A
public void removeByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ? from the database.- Specified by:
removeByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived
-
countByU_D_AR_A
public int countByU_D_AR_A(long userId, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
countByU_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_T_DT_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_DT_D_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_A_First(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_T_DT_D_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_T_DT_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_T_DT_D_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_T_DT_D_A_Last(long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
fetchByU_T_DT_D_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_T_DT_D_A_PrevAndNext(long userNotificationEventId, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
findByU_T_DT_D_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_T_DT_D_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_T_DT_D_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, String type, int deliveryType, boolean delivered, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_T_DT_D_A
public void removeByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ? from the database.- Specified by:
removeByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDtype
- the typedeliveryType
- the delivery typedelivered
- the deliveredarchived
- the archived
-
countByU_T_DT_D_A
public int countByU_T_DT_D_A(long userId, String type, int deliveryType, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? and archived = ?.- Specified by:
countByU_T_DT_D_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end) Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_D_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_AR_A_First
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_A_First(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_DT_D_AR_A_First
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent findByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_D_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a matching user notification event could not be found
-
fetchByU_DT_D_AR_A_Last
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByU_DT_D_AR_A_Last(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
fetchByU_DT_D_AR_A_Last
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 com.liferay.portal.kernel.model.UserNotificationEvent[] findByU_DT_D_AR_A_PrevAndNext(long userNotificationEventId, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
findByU_DT_D_AR_A_PrevAndNext
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
getByU_DT_D_AR_A_PrevAndNext
protected com.liferay.portal.kernel.model.UserNotificationEvent getByU_DT_D_AR_A_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent, long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean previous) -
removeByU_DT_D_AR_A
public void removeByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ? from the database.- Specified by:
removeByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived
-
countByU_DT_D_AR_A
public int countByU_DT_D_AR_A(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? and archived = ?.- Specified by:
countByU_DT_D_AR_A
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userId
- the user IDdeliveryType
- the delivery typedelivered
- the deliveredactionRequired
- the action requiredarchived
- the archived- Returns:
- the number of matching user notification events
-
cacheResult
public void cacheResult(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Caches the user notification event in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Overrides:
cacheResult
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
- Parameters:
userNotificationEvent
- the user notification event
-
cacheResult
public void cacheResult(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) Caches the user notification events in the entity cache if it is enabled.- Specified by:
cacheResult
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userNotificationEvents
- the user notification events
-
clearCache
public void clearCache()Clears the cache for all user notification events.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
clearCache
public void clearCache(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Clears the cache for the user notification event.The
EntityCache
andFinderCache
are both cleared by this method.- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
clearCache
public void clearCache(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) - Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
clearCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
clearCache
- Specified by:
clearCache
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
-
create
public com.liferay.portal.kernel.model.UserNotificationEvent create(long userNotificationEventId) Creates a new user notification event with the primary key. Does not add the user notification event to the database.- Specified by:
create
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userNotificationEventId
- the primary key for the new user notification event- Returns:
- the new user notification event
-
remove
public com.liferay.portal.kernel.model.UserNotificationEvent remove(long userNotificationEventId) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userNotificationEventId
- the primary key of the user notification event- Returns:
- the user notification event that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
remove
public com.liferay.portal.kernel.model.UserNotificationEvent remove(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Removes the user notification event with the primary key from the database. Also notifies the appropriate model listeners.- Specified by:
remove
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
remove
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
- Parameters:
primaryKey
- the primary key of the user notification event- Returns:
- the user notification event that was removed
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
removeImpl
protected com.liferay.portal.kernel.model.UserNotificationEvent removeImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) - Overrides:
removeImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
updateImpl
public com.liferay.portal.kernel.model.UserNotificationEvent updateImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) - Specified by:
updateImpl
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Overrides:
updateImpl
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
findByPrimaryKey
public com.liferay.portal.kernel.model.UserNotificationEvent findByPrimaryKey(Serializable primaryKey) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification event with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
findByPrimaryKey
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
- Parameters:
primaryKey
- the primary key of the user notification event- Returns:
- the user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
findByPrimaryKey
public com.liferay.portal.kernel.model.UserNotificationEvent findByPrimaryKey(long userNotificationEventId) throws com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException Returns the user notification event with the primary key or throws aNoSuchUserNotificationEventException
if it could not be found.- Specified by:
findByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userNotificationEventId
- the primary key of the user notification event- Returns:
- the user notification event
- Throws:
com.liferay.portal.kernel.exception.NoSuchUserNotificationEventException
- if a user notification event with the primary key could not be found
-
fetchByPrimaryKey
public com.liferay.portal.kernel.model.UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId) Returns the user notification event with the primary key or returnsnull
if it could not be found.- Specified by:
fetchByPrimaryKey
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Parameters:
userNotificationEventId
- the primary key of the user notification event- Returns:
- the user notification event, or
null
if a user notification event with the primary key could not be found
-
findAll
Returns all the user notification events.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator) Returns an ordered range of all the user notification events.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 List<com.liferay.portal.kernel.model.UserNotificationEvent> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator, boolean useFinderCache) Returns an ordered range of all the user notification events.Useful when paginating results. Returns a maximum of
end - start
instances.start
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
.- Specified by:
findAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- 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 void removeAll()Removes all the user notification events from the database.- Specified by:
removeAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
-
countAll
public int countAll()Returns the number of user notification events.- Specified by:
countAll
in interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
- Returns:
- the number of user notification events
-
getBadColumnNames
- Specified by:
getBadColumnNames
in interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>
- Overrides:
getBadColumnNames
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getEntityCache
protected com.liferay.portal.kernel.dao.orm.EntityCache getEntityCache()- Overrides:
getEntityCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getPKDBName
- Overrides:
getPKDBName
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getSelectSQL
- Overrides:
getSelectSQL
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getTableColumnsMap
- Overrides:
getTableColumnsMap
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
afterPropertiesSet
public void afterPropertiesSet()Initializes the user notification event persistence. -
destroy
public void destroy() -
getFinderCache
protected com.liferay.portal.kernel.dao.orm.FinderCache getFinderCache()- Overrides:
getFinderCache
in classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-