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 TypeMethodDescriptionvoidInitializes the user notification event persistence.voidcacheResult(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Caches the user notification event in the entity cache if it is enabled.voidcacheResult(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) Caches the user notification events in the entity cache if it is enabled.voidClears the cache for all user notification events.voidclearCache(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) Clears the cache for the user notification event.voidclearCache(List<com.liferay.portal.kernel.model.UserNotificationEvent> userNotificationEvents) voidclearCache(Set<Serializable> primaryKeys) intcountAll()Returns the number of user notification events.intcountByType(String type) Returns the number of user notification events where type = ?.intcountByU_A(long userId, boolean archived) Returns the number of user notification events where userId = ? and archived = ?.intcountByU_AR_A(long userId, boolean actionRequired, boolean archived) Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?.intcountByU_D(long userId, boolean delivered) Returns the number of user notification events where userId = ? and delivered = ?.intcountByU_D_A(long userId, boolean delivered, boolean archived) Returns the number of user notification events where userId = ? and delivered = ? and archived = ?.intcountByU_D_AR(long userId, boolean delivered, boolean actionRequired) Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?.intcountByU_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 = ?.intcountByU_DT(long userId, int deliveryType) Returns the number of user notification events where userId = ? and deliveryType = ?.intcountByU_DT_A(long userId, int deliveryType, boolean archived) Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?.intcountByU_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 = ?.intcountByU_DT_D(long userId, int deliveryType, boolean delivered) Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?.intcountByU_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 = ?.intcountByU_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 = ?.intcountByU_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 = ?.intcountByU_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 = ?.intcountByU_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 = ?.intcountByU_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 = ?.intcountByUserId(long userId) Returns the number of user notification events where userId = ?.intcountByUuid(String uuid) Returns the number of user notification events where uuid = ?.intcountByUuid_C(String uuid, long companyId) Returns the number of user notification events where uuid = ? and companyId = ?.com.liferay.portal.kernel.model.UserNotificationEventcreate(long userNotificationEventId) Creates a new user notification event with the primary key.voiddestroy()com.liferay.portal.kernel.model.UserNotificationEventfetchByPrimaryKey(long userNotificationEventId) Returns the user notification event with the primary key or returnsnullif it could not be found.com.liferay.portal.kernel.model.UserNotificationEventfetchByType_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.UserNotificationEventfetchByType_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByU_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.UserNotificationEventfetchByUserId_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.UserNotificationEventfetchByUserId_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.UserNotificationEventfetchByUuid_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.UserNotificationEventfetchByUuid_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.UserNotificationEventfetchByUuid_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.UserNotificationEventfetchByUuid_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.UserNotificationEventfindByPrimaryKey(long userNotificationEventId) Returns the user notification event with the primary key or throws aNoSuchUserNotificationEventExceptionif it could not be found.com.liferay.portal.kernel.model.UserNotificationEventfindByPrimaryKey(Serializable primaryKey) Returns the user notification event with the primary key or throws acom.liferay.portal.kernel.exception.NoSuchModelExceptionif 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.UserNotificationEventfindByType_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.UserNotificationEventfindByType_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByU_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.UserNotificationEventfindByUserId_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.UserNotificationEventfindByUserId_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.UserNotificationEventfindByUuid_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.UserNotificationEventfindByUuid_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.UserNotificationEventfindByUuid_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.UserNotificationEventfindByUuid_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.UserNotificationEventgetByType_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByU_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.UserNotificationEventgetByUserId_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.UserNotificationEventgetByUuid_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.UserNotificationEventgetByUuid_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.EntityCacheprotected com.liferay.portal.kernel.dao.orm.FinderCacheprotected Stringprotected Stringcom.liferay.portal.kernel.model.UserNotificationEventremove(long userNotificationEventId) Removes the user notification event with the primary key from the database.com.liferay.portal.kernel.model.UserNotificationEventremove(Serializable primaryKey) Removes the user notification event with the primary key from the database.voidRemoves all the user notification events from the database.voidremoveByType(String type) Removes all the user notification events where type = ? from the database.voidremoveByU_A(long userId, boolean archived) Removes all the user notification events where userId = ? and archived = ? from the database.voidremoveByU_AR_A(long userId, boolean actionRequired, boolean archived) Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database.voidremoveByU_D(long userId, boolean delivered) Removes all the user notification events where userId = ? and delivered = ? from the database.voidremoveByU_D_A(long userId, boolean delivered, boolean archived) Removes all the user notification events where userId = ? and delivered = ? and archived = ? from the database.voidremoveByU_D_AR(long userId, boolean delivered, boolean actionRequired) Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database.voidremoveByU_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.voidremoveByU_DT(long userId, int deliveryType) Removes all the user notification events where userId = ? and deliveryType = ? from the database.voidremoveByU_DT_A(long userId, int deliveryType, boolean archived) Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database.voidremoveByU_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.voidremoveByU_DT_D(long userId, int deliveryType, boolean delivered) Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database.voidremoveByU_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.voidremoveByU_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.voidremoveByU_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.voidremoveByU_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.voidremoveByU_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.voidremoveByU_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.voidremoveByUserId(long userId) Removes all the user notification events where userId = ? from the database.voidremoveByUuid(String uuid) Removes all the user notification events where uuid = ? from the database.voidremoveByUuid_C(String uuid, long companyId) Removes all the user notification events where uuid = ? and companyId = ? from the database.protected com.liferay.portal.kernel.model.UserNotificationEventremoveImpl(com.liferay.portal.kernel.model.UserNotificationEvent userNotificationEvent) com.liferay.portal.kernel.model.UserNotificationEventupdateImpl(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, updateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
findByUuidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuidin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuidin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByUuidin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Parameters:
uuid- the uuid
-
countByUuid
Returns the number of user notification events where uuid = ?.- Specified by:
countByUuidin 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_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuid_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuid_Cin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUuid_Cin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Cin 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_Cin 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:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUserIdin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByUserIdin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByUserIdin 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:
countByUserIdin 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:
findByTypein 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByTypein 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByTypein 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByTypein 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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:
removeByTypein interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Parameters:
type- the type
-
countByType
Returns the number of user notification events where type = ?.- Specified by:
countByTypein 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_DTin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DTin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DTin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DTin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_DTin 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_DTin 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_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Din 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Din 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_Din 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Din 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Din 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_Din 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_ARin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_ARin 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_ARin 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_AR_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_GteT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_GteT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_GteT_Din 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Din 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_Din 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_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_Din 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_Din 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Din 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_Din 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_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_ARin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_ARin 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_ARin 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_ARin 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_AR_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_D_AR_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_D_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_T_DT_D_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_AR_Ain 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findByU_DT_D_AR_Ain 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_Firstin 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_Firstin 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
nullif 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_Lastin 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_Lastin 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
nullif 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_PrevAndNextin 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_Ain 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_Ain 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:
cacheResultin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Overrides:
cacheResultin 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:
cacheResultin 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
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
clearCachein 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
EntityCacheandFinderCacheare both cleared by this method.- Specified by:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
clearCachein 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:
clearCachein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
clearCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
clearCache
- Specified by:
clearCachein 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:
createin 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:
removein 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:
removein interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
removein 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:
removeImplin 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:
updateImplin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Overrides:
updateImplin 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.NoSuchModelExceptionif it could not be found.- Specified by:
findByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
findByPrimaryKeyin 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 aNoSuchUserNotificationEventExceptionif it could not be found.- Specified by:
findByPrimaryKeyin 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 returnsnullif it could not be found.- Specified by:
fetchByPrimaryKeyin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Parameters:
userNotificationEventId- the primary key of the user notification event- Returns:
- the user notification event, or
nullif a user notification event with the primary key could not be found
-
findAll
Returns all the user notification events.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findAllin 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 - startinstances.startandendare not primary keys, they are indexes in the result set. Thus,0refers to the first result in the set. Setting bothstartandendtoQueryUtil#ALL_POSwill return the full result set. IforderByComparatoris specified, then the query will include the given ORDER BY logic. IforderByComparatoris absent, then the query will include the default ORDER BY logic fromUserNotificationEventModelImpl.- Specified by:
findAllin 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:
removeAllin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence
-
countAll
public int countAll()Returns the number of user notification events.- Specified by:
countAllin interfacecom.liferay.portal.kernel.service.persistence.UserNotificationEventPersistence- Returns:
- the number of user notification events
-
getBadColumnNames
- Specified by:
getBadColumnNamesin interfacecom.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.UserNotificationEvent>- Overrides:
getBadColumnNamesin 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:
getEntityCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getPKDBName
- Overrides:
getPKDBNamein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getSelectSQL
- Overrides:
getSelectSQLin classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-
getTableColumnsMap
- Overrides:
getTableColumnsMapin 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:
getFinderCachein classcom.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.UserNotificationEvent>
-