|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.persistence.impl.BasePersistenceImpl<UserNotificationEvent>
com.liferay.portal.service.persistence.impl.UserNotificationEventPersistenceImpl
@ProviderType public class UserNotificationEventPersistenceImpl
The persistence implementation for the user notification event service.
Caching information and settings can be found in portal.properties
UserNotificationEventPersistence,
UserNotificationEventUtil| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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 | |
|---|---|
UserNotificationEventPersistenceImpl()
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
Initializes the user notification event persistence. |
void |
cacheResult(List<UserNotificationEvent> userNotificationEvents)
Caches the user notification events in the entity cache if it is enabled. |
void |
cacheResult(UserNotificationEvent userNotificationEvent)
Caches the user notification event in the entity cache if it is enabled. |
void |
clearCache()
Clears the cache for all user notification events. |
void |
clearCache(List<UserNotificationEvent> userNotificationEvents)
Clears the cache for a List instances of this model. |
void |
clearCache(UserNotificationEvent userNotificationEvent)
Clears the cache for the user notification event. |
int |
countAll()
Returns the number of user notification events. |
int |
countByType(String type)
Returns the number of user notification events where type = ?. |
int |
countByU_A_A(long userId,
boolean actionRequired,
boolean archived)
Returns the number of user notification events where userId = ? and actionRequired = ? and archived = ?. |
int |
countByU_A(long userId,
boolean archived)
Returns the number of user notification events where userId = ? and archived = ?. |
int |
countByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
Returns the number of user notification events where userId = ? and delivered = ? and actionRequired = ?. |
int |
countByU_D(long userId,
boolean delivered)
Returns the number of user notification events where userId = ? and delivered = ?. |
int |
countByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
Returns the number of user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
int |
countByU_DT_A(long userId,
int deliveryType,
boolean archived)
Returns the number of user notification events where userId = ? and deliveryType = ? and archived = ?. |
int |
countByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
int |
countByU_DT_D(long userId,
int deliveryType,
boolean delivered)
Returns the number of user notification events where userId = ? and deliveryType = ? and delivered = ?. |
int |
countByU_DT(long userId,
int deliveryType)
Returns the number of user notification events where userId = ? and deliveryType = ?. |
int |
countByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
Returns the number of user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
int |
countByUserId(long userId)
Returns the number of user notification events where userId = ?. |
int |
countByUuid_C(String uuid,
long companyId)
Returns the number of user notification events where uuid = ? and companyId = ?. |
int |
countByUuid(String uuid)
Returns the number of user notification events where uuid = ?. |
UserNotificationEvent |
create(long userNotificationEventId)
Creates a new user notification event with the primary key. |
void |
destroy()
|
UserNotificationEvent |
fetchByPrimaryKey(long userNotificationEventId)
Returns the user notification event with the primary key or returns null if it could not be found. |
UserNotificationEvent |
fetchByPrimaryKey(Serializable primaryKey)
Returns the user notification event with the primary key or returns null if it could not be found. |
Map<Serializable,UserNotificationEvent> |
fetchByPrimaryKeys(Set<Serializable> primaryKeys)
|
UserNotificationEvent |
fetchByType_First(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where type = ?. |
UserNotificationEvent |
fetchByType_Last(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where type = ?. |
UserNotificationEvent |
fetchByU_A_A_First(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
fetchByU_A_A_Last(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
fetchByU_A_First(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and archived = ?. |
UserNotificationEvent |
fetchByU_A_Last(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and archived = ?. |
UserNotificationEvent |
fetchByU_D_A_First(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
fetchByU_D_A_Last(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
fetchByU_D_First(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ?. |
UserNotificationEvent |
fetchByU_D_Last(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ?. |
UserNotificationEvent |
fetchByU_DT_A_A_First(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
fetchByU_DT_A_A_Last(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
fetchByU_DT_A_First(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?. |
UserNotificationEvent |
fetchByU_DT_A_Last(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?. |
UserNotificationEvent |
fetchByU_DT_D_A_First(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
fetchByU_DT_D_A_Last(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
fetchByU_DT_D_First(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
fetchByU_DT_D_Last(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
fetchByU_DT_First(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?. |
UserNotificationEvent |
fetchByU_DT_Last(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?. |
UserNotificationEvent |
fetchByU_T_DT_D_First(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
fetchByU_T_DT_D_Last(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
fetchByUserId_First(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ?. |
UserNotificationEvent |
fetchByUserId_Last(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ?. |
UserNotificationEvent |
fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ? and companyId = ?. |
UserNotificationEvent |
fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ? and companyId = ?. |
UserNotificationEvent |
fetchByUuid_First(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ?. |
UserNotificationEvent |
fetchByUuid_Last(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ?. |
List<UserNotificationEvent> |
findAll()
Returns all the user notification events. |
List<UserNotificationEvent> |
findAll(int start,
int end)
Returns a range of all the user notification events. |
List<UserNotificationEvent> |
findAll(int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events. |
List<UserNotificationEvent> |
findAll(int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events. |
UserNotificationEvent |
findByPrimaryKey(long userNotificationEventId)
Returns the user notification event with the primary key or throws a NoSuchUserNotificationEventException if it could not be found. |
UserNotificationEvent |
findByPrimaryKey(Serializable primaryKey)
Returns the user notification event with the primary key or throws a NoSuchModelException if it could not be found. |
UserNotificationEvent |
findByType_First(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where type = ?. |
UserNotificationEvent |
findByType_Last(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where type = ?. |
UserNotificationEvent[] |
findByType_PrevAndNext(long userNotificationEventId,
String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where type = ?. |
List<UserNotificationEvent> |
findByType(String type)
Returns all the user notification events where type = ?. |
List<UserNotificationEvent> |
findByType(String type,
int start,
int end)
Returns a range of all the user notification events where type = ?. |
List<UserNotificationEvent> |
findByType(String type,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where type = ?. |
List<UserNotificationEvent> |
findByType(String type,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where type = ?. |
UserNotificationEvent |
findByU_A_A_First(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
findByU_A_A_Last(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent[] |
findByU_A_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A_A(long userId,
boolean actionRequired,
boolean archived)
Returns all the user notification events where userId = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end)
Returns a range of all the user notification events where userId = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
findByU_A_First(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and archived = ?. |
UserNotificationEvent |
findByU_A_Last(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and archived = ?. |
UserNotificationEvent[] |
findByU_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A(long userId,
boolean archived)
Returns all the user notification events where userId = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A(long userId,
boolean archived,
int start,
int end)
Returns a range of all the user notification events where userId = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A(long userId,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_A(long userId,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and archived = ?. |
UserNotificationEvent |
findByU_D_A_First(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
findByU_D_A_Last(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent[] |
findByU_D_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
Returns all the user notification events where userId = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end)
Returns a range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
findByU_D_First(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and delivered = ?. |
UserNotificationEvent |
findByU_D_Last(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and delivered = ?. |
UserNotificationEvent[] |
findByU_D_PrevAndNext(long userNotificationEventId,
long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_D(long userId,
boolean delivered)
Returns all the user notification events where userId = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_D(long userId,
boolean delivered,
int start,
int end)
Returns a range of all the user notification events where userId = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_D(long userId,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_D(long userId,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and delivered = ?. |
UserNotificationEvent |
findByU_DT_A_A_First(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
findByU_DT_A_A_Last(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent[] |
findByU_DT_A_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
Returns all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end)
Returns a range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ?. |
UserNotificationEvent |
findByU_DT_A_First(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?. |
UserNotificationEvent |
findByU_DT_A_Last(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?. |
UserNotificationEvent[] |
findByU_DT_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A(long userId,
int deliveryType,
boolean archived)
Returns all the user notification events where userId = ? and deliveryType = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end)
Returns a range of all the user notification events where userId = ? and deliveryType = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?. |
List<UserNotificationEvent> |
findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and archived = ?. |
UserNotificationEvent |
findByU_DT_D_A_First(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
findByU_DT_D_A_Last(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent[] |
findByU_DT_D_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end)
Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
List<UserNotificationEvent> |
findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ?. |
UserNotificationEvent |
findByU_DT_D_First(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
findByU_DT_D_Last(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent[] |
findByU_DT_D_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_DT_D(long userId,
int deliveryType,
boolean delivered)
Returns all the user notification events where userId = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end)
Returns a range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
findByU_DT_First(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and deliveryType = ?. |
UserNotificationEvent |
findByU_DT_Last(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and deliveryType = ?. |
UserNotificationEvent[] |
findByU_DT_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and deliveryType = ?. |
List<UserNotificationEvent> |
findByU_DT(long userId,
int deliveryType)
Returns all the user notification events where userId = ? and deliveryType = ?. |
List<UserNotificationEvent> |
findByU_DT(long userId,
int deliveryType,
int start,
int end)
Returns a range of all the user notification events where userId = ? and deliveryType = ?. |
List<UserNotificationEvent> |
findByU_DT(long userId,
int deliveryType,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?. |
List<UserNotificationEvent> |
findByU_DT(long userId,
int deliveryType,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and deliveryType = ?. |
UserNotificationEvent |
findByU_T_DT_D_First(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
findByU_T_DT_D_Last(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent[] |
findByU_T_DT_D_PrevAndNext(long userNotificationEventId,
long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
Returns all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end)
Returns a range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
List<UserNotificationEvent> |
findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ?. |
UserNotificationEvent |
findByUserId_First(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where userId = ?. |
UserNotificationEvent |
findByUserId_Last(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where userId = ?. |
UserNotificationEvent[] |
findByUserId_PrevAndNext(long userNotificationEventId,
long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where userId = ?. |
List<UserNotificationEvent> |
findByUserId(long userId)
Returns all the user notification events where userId = ?. |
List<UserNotificationEvent> |
findByUserId(long userId,
int start,
int end)
Returns a range of all the user notification events where userId = ?. |
List<UserNotificationEvent> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where userId = ?. |
List<UserNotificationEvent> |
findByUserId(long userId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where userId = ?. |
UserNotificationEvent |
findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ? and companyId = ?. |
UserNotificationEvent |
findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ? and companyId = ?. |
UserNotificationEvent[] |
findByUuid_C_PrevAndNext(long userNotificationEventId,
String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where uuid = ? and companyId = ?. |
List<UserNotificationEvent> |
findByUuid_C(String uuid,
long companyId)
Returns all the user notification events where uuid = ? and companyId = ?. |
List<UserNotificationEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end)
Returns a range of all the user notification events where uuid = ? and companyId = ?. |
List<UserNotificationEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where uuid = ? and companyId = ?. |
List<UserNotificationEvent> |
findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where uuid = ? and companyId = ?. |
UserNotificationEvent |
findByUuid_First(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the first user notification event in the ordered set where uuid = ?. |
UserNotificationEvent |
findByUuid_Last(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the last user notification event in the ordered set where uuid = ?. |
UserNotificationEvent[] |
findByUuid_PrevAndNext(long userNotificationEventId,
String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns the user notification events before and after the current user notification event in the ordered set where uuid = ?. |
List<UserNotificationEvent> |
findByUuid(String uuid)
Returns all the user notification events where uuid = ?. |
List<UserNotificationEvent> |
findByUuid(String uuid,
int start,
int end)
Returns a range of all the user notification events where uuid = ?. |
List<UserNotificationEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Returns an ordered range of all the user notification events where uuid = ?. |
List<UserNotificationEvent> |
findByUuid(String uuid,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Returns an ordered range of all the user notification events where uuid = ?. |
Set<String> |
getBadColumnNames()
|
protected UserNotificationEvent |
getByType_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String type,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_A_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_D_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_DT_A_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_DT_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_DT_D_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_DT_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_DT_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByU_T_DT_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByUserId_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByUuid_C_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected UserNotificationEvent |
getByUuid_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
|
protected Map<String,Integer> |
getTableColumnsMap()
|
UserNotificationEvent |
remove(long userNotificationEventId)
Removes the user notification event with the primary key from the database. |
UserNotificationEvent |
remove(Serializable primaryKey)
Removes the user notification event with the primary key from the database. |
void |
removeAll()
Removes all the user notification events from the database. |
void |
removeByType(String type)
Removes all the user notification events where type = ? from the database. |
void |
removeByU_A_A(long userId,
boolean actionRequired,
boolean archived)
Removes all the user notification events where userId = ? and actionRequired = ? and archived = ? from the database. |
void |
removeByU_A(long userId,
boolean archived)
Removes all the user notification events where userId = ? and archived = ? from the database. |
void |
removeByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
Removes all the user notification events where userId = ? and delivered = ? and actionRequired = ? from the database. |
void |
removeByU_D(long userId,
boolean delivered)
Removes all the user notification events where userId = ? and delivered = ? from the database. |
void |
removeByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
Removes all the user notification events where userId = ? and deliveryType = ? and actionRequired = ? and archived = ? from the database. |
void |
removeByU_DT_A(long userId,
int deliveryType,
boolean archived)
Removes all the user notification events where userId = ? and deliveryType = ? and archived = ? from the database. |
void |
removeByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? and actionRequired = ? from the database. |
void |
removeByU_DT_D(long userId,
int deliveryType,
boolean delivered)
Removes all the user notification events where userId = ? and deliveryType = ? and delivered = ? from the database. |
void |
removeByU_DT(long userId,
int deliveryType)
Removes all the user notification events where userId = ? and deliveryType = ? from the database. |
void |
removeByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
Removes all the user notification events where userId = ? and type = ? and deliveryType = ? and delivered = ? from the database. |
void |
removeByUserId(long userId)
Removes all the user notification events where userId = ? from the database. |
void |
removeByUuid_C(String uuid,
long companyId)
Removes all the user notification events where uuid = ? and companyId = ? from the database. |
void |
removeByUuid(String uuid)
Removes all the user notification events where uuid = ? from the database. |
protected UserNotificationEvent |
removeImpl(UserNotificationEvent userNotificationEvent)
Removes the model instance from the database. |
protected UserNotificationEvent |
toUnwrappedModel(UserNotificationEvent userNotificationEvent)
|
UserNotificationEvent |
updateImpl(UserNotificationEvent userNotificationEvent)
Updates the model instance in the database or adds it if it does not yet exist. |
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
|---|
appendOrderByComparator, appendOrderByComparator, closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, openNewSession, openSession, processException, registerListener, remove, removeConjunction, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
|---|
closeSession, countWithDynamicQuery, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getCurrentSession, getDataSource, getListeners, getModelClass, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update, update, update |
| Field Detail |
|---|
public static final String FINDER_CLASS_NAME_ENTITY
public static final String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
public static final String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
public static final FinderPath FINDER_PATH_COUNT_ALL
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
public static final FinderPath FINDER_PATH_COUNT_BY_UUID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID_C
public static final FinderPath FINDER_PATH_COUNT_BY_UUID_C
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_USERID
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_USERID
public static final FinderPath FINDER_PATH_COUNT_BY_USERID
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_TYPE
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_TYPE
public static final FinderPath FINDER_PATH_COUNT_BY_TYPE
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_DT
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_DT
public static final FinderPath FINDER_PATH_COUNT_BY_U_DT
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_D
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_D
public static final FinderPath FINDER_PATH_COUNT_BY_U_D
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_DT_D
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_DT_D
public static final FinderPath FINDER_PATH_COUNT_BY_U_DT_D
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_DT_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_DT_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_DT_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_D_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_D_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_D_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_A_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_A_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_A_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_T_DT_D
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_T_DT_D
public static final FinderPath FINDER_PATH_COUNT_BY_U_T_DT_D
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_DT_D_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_DT_D_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_DT_D_A
public static final FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_U_DT_A_A
public static final FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_U_DT_A_A
public static final FinderPath FINDER_PATH_COUNT_BY_U_DT_A_A
@BeanReference(type=CompanyProviderWrapper.class) protected CompanyProvider companyProvider
protected EntityCache entityCache
protected FinderCache finderCache
| Constructor Detail |
|---|
public UserNotificationEventPersistenceImpl()
| Method Detail |
|---|
public List<UserNotificationEvent> findByUuid(String uuid)
findByUuid in interface UserNotificationEventPersistenceuuid - the uuid
public List<UserNotificationEvent> findByUuid(String uuid,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface UserNotificationEventPersistenceuuid - the uuidstart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)
public List<UserNotificationEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface UserNotificationEventPersistenceuuid - 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 (optionally null)
public List<UserNotificationEvent> findByUuid(String uuid,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid in interface UserNotificationEventPersistenceuuid - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByUuid_First(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_First in interface UserNotificationEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUuid_First(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUuid_First in interface UserNotificationEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByUuid_Last(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_Last in interface UserNotificationEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUuid_Last(String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUuid_Last in interface UserNotificationEventPersistenceuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByUuid_PrevAndNext(long userNotificationEventId,
String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuuid - the uuidorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByUuid_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String uuid,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByUuid(String uuid)
removeByUuid in interface UserNotificationEventPersistenceuuid - the uuidpublic int countByUuid(String uuid)
countByUuid in interface UserNotificationEventPersistenceuuid - the uuid
public List<UserNotificationEvent> findByUuid_C(String uuid,
long companyId)
findByUuid_C in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company ID
public List<UserNotificationEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface UserNotificationEventPersistenceuuid - 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)
public List<UserNotificationEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface UserNotificationEventPersistenceuuid - 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 (optionally null)
public List<UserNotificationEvent> findByUuid_C(String uuid,
long companyId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUuid_C in interface UserNotificationEventPersistenceuuid - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByUuid_C_First(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_C_First in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUuid_C_First(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUuid_C_First in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_C_Last in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUuid_C_Last(String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUuid_C_Last in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByUuid_C_PrevAndNext(long userNotificationEventId,
String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUuid_C_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuuid - the uuidcompanyId - the company IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByUuid_C_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String uuid,
long companyId,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByUuid_C(String uuid,
long companyId)
removeByUuid_C in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company ID
public int countByUuid_C(String uuid,
long companyId)
countByUuid_C in interface UserNotificationEventPersistenceuuid - the uuidcompanyId - the company ID
public List<UserNotificationEvent> findByUserId(long userId)
findByUserId in interface UserNotificationEventPersistenceuserId - the user ID
public List<UserNotificationEvent> findByUserId(long userId,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByUserId(long userId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByUserId(long userId,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByUserId in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByUserId_First(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUserId_First in interface UserNotificationEventPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUserId_First(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUserId_First in interface UserNotificationEventPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByUserId_Last(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUserId_Last in interface UserNotificationEventPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByUserId_Last(long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByUserId_Last in interface UserNotificationEventPersistenceuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByUserId_PrevAndNext(long userNotificationEventId,
long userId,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByUserId_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByUserId_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByUserId(long userId)
removeByUserId in interface UserNotificationEventPersistenceuserId - the user IDpublic int countByUserId(long userId)
countByUserId in interface UserNotificationEventPersistenceuserId - the user ID
public List<UserNotificationEvent> findByType(String type)
findByType in interface UserNotificationEventPersistencetype - the type
public List<UserNotificationEvent> findByType(String type,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByType in interface UserNotificationEventPersistencetype - the typestart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)
public List<UserNotificationEvent> findByType(String type,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByType in interface UserNotificationEventPersistencetype - 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 (optionally null)
public List<UserNotificationEvent> findByType(String type,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByType in interface UserNotificationEventPersistencetype - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByType_First(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByType_First in interface UserNotificationEventPersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByType_First(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByType_First in interface UserNotificationEventPersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByType_Last(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByType_Last in interface UserNotificationEventPersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByType_Last(String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByType_Last in interface UserNotificationEventPersistencetype - the typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByType_PrevAndNext(long userNotificationEventId,
String type,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByType_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventtype - the typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByType_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
String type,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByType(String type)
removeByType in interface UserNotificationEventPersistencetype - the typepublic int countByType(String type)
countByType in interface UserNotificationEventPersistencetype - the type
public List<UserNotificationEvent> findByU_DT(long userId,
int deliveryType)
findByU_DT in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery type
public List<UserNotificationEvent> findByU_DT(long userId,
int deliveryType,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_DT(long userId,
int deliveryType,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_DT(long userId,
int deliveryType,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_DT_First(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_First(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_DT_Last(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_Last(long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_DT_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDdeliveryType - the delivery typeorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_DT_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_DT(long userId,
int deliveryType)
removeByU_DT in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery type
public int countByU_DT(long userId,
int deliveryType)
countByU_DT in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery type
public List<UserNotificationEvent> findByU_D(long userId,
boolean delivered)
findByU_D in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the delivered
public List<UserNotificationEvent> findByU_D(long userId,
boolean delivered,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_D(long userId,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_D(long userId,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_D_First(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_First in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_D_First(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_D_First in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_D_Last(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_Last in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_D_Last(long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_D_Last in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_D_PrevAndNext(long userNotificationEventId,
long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDdelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_D(long userId,
boolean delivered)
removeByU_D in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the delivered
public int countByU_D(long userId,
boolean delivered)
countByU_D in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the delivered
public List<UserNotificationEvent> findByU_A(long userId,
boolean archived)
findByU_A in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archived
public List<UserNotificationEvent> findByU_A(long userId,
boolean archived,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_A(long userId,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_A(long userId,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_A_First(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_First in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_A_First(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_A_First in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_A_Last(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_Last in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_A_Last(long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_A_Last in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_A(long userId,
boolean archived)
removeByU_A in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archived
public int countByU_A(long userId,
boolean archived)
countByU_A in interface UserNotificationEventPersistenceuserId - the user IDarchived - the archived
public List<UserNotificationEvent> findByU_DT_D(long userId,
int deliveryType,
boolean delivered)
findByU_DT_D in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the delivered
public List<UserNotificationEvent> findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_DT_D(long userId,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_DT_D_First(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_D_First(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_D_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_DT_D_Last(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_D_Last(long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_D_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_DT_D_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_DT_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_DT_D(long userId,
int deliveryType,
boolean delivered)
removeByU_DT_D in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the delivered
public int countByU_DT_D(long userId,
int deliveryType,
boolean delivered)
countByU_DT_D in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the delivered
public List<UserNotificationEvent> findByU_DT_A(long userId,
int deliveryType,
boolean archived)
findByU_DT_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archived
public List<UserNotificationEvent> findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_DT_A(long userId,
int deliveryType,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_DT_A_First(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_A_First(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_DT_A_Last(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_A_Last(long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_DT_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDdeliveryType - the delivery typearchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_DT_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_DT_A(long userId,
int deliveryType,
boolean archived)
removeByU_DT_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archived
public int countByU_DT_A(long userId,
int deliveryType,
boolean archived)
countByU_DT_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typearchived - the archived
public List<UserNotificationEvent> findByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
findByU_D_A in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action required
public List<UserNotificationEvent> findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_D_A(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_D_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_D_A_First(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_A_First in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_D_A_First(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_D_A_First in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_D_A_Last(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_D_A_Last(long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_D_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_D_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_D_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDdelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_D_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
removeByU_D_A in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action required
public int countByU_D_A(long userId,
boolean delivered,
boolean actionRequired)
countByU_D_A in interface UserNotificationEventPersistenceuserId - the user IDdelivered - the deliveredactionRequired - the action required
public List<UserNotificationEvent> findByU_A_A(long userId,
boolean actionRequired,
boolean archived)
findByU_A_A in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archived
public List<UserNotificationEvent> findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_A_A(long userId,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_A_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_A_A_First(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_A_First in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_A_A_First(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_A_A_First in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_A_A_Last(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_A_Last in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_A_A_Last(long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_A_A_Last in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_A_A_PrevAndNext(long userNotificationEventId,
long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_A_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the current user notification eventuserId - the user IDactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_A_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_A_A(long userId,
boolean actionRequired,
boolean archived)
removeByU_A_A in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archived
public int countByU_A_A(long userId,
boolean actionRequired,
boolean archived)
countByU_A_A in interface UserNotificationEventPersistenceuserId - the user IDactionRequired - the action requiredarchived - the archived
public List<UserNotificationEvent> findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
findByU_T_DT_D in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the delivered
public List<UserNotificationEvent> findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_T_DT_D in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_T_DT_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_T_DT_D in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_T_DT_D_First(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_T_DT_D_First in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_T_DT_D_First(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_T_DT_D_First in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_T_DT_D_Last(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_T_DT_D_Last in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_T_DT_D_Last(long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_T_DT_D_Last in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the deliveredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_T_DT_D_PrevAndNext(long userNotificationEventId,
long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_T_DT_D_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - 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 (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_T_DT_D_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
String type,
int deliveryType,
boolean delivered,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
removeByU_T_DT_D in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the delivered
public int countByU_T_DT_D(long userId,
String type,
int deliveryType,
boolean delivered)
countByU_T_DT_D in interface UserNotificationEventPersistenceuserId - the user IDtype - the typedeliveryType - the delivery typedelivered - the delivered
public List<UserNotificationEvent> findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
findByU_DT_D_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action required
public List<UserNotificationEvent> findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_D_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_DT_D_A_First(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_D_A_First(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_D_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_DT_D_A_Last(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_D_A_Last(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_D_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action requiredorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_DT_D_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_D_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - 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 (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_DT_D_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
removeByU_DT_D_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action required
public int countByU_DT_D_A(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
countByU_DT_D_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typedelivered - the deliveredactionRequired - the action required
public List<UserNotificationEvent> findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
findByU_DT_A_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archived
public List<UserNotificationEvent> findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A_A in interface UserNotificationEventPersistenceuserId - 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)
public List<UserNotificationEvent> findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)
public List<UserNotificationEvent> findByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findByU_DT_A_A in interface UserNotificationEventPersistenceuserId - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public UserNotificationEvent findByU_DT_A_A_First(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_A_A_First(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_A_A_First in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent findByU_DT_A_A_Last(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
NoSuchUserNotificationEventException - if a matching user notification event could not be found
public UserNotificationEvent fetchByU_DT_A_A_Last(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
fetchByU_DT_A_A_Last in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archivedorderByComparator - the comparator to order the set by (optionally null)
null if a matching user notification event could not be found
public UserNotificationEvent[] findByU_DT_A_A_PrevAndNext(long userNotificationEventId,
long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator)
throws NoSuchUserNotificationEventException
findByU_DT_A_A_PrevAndNext in interface UserNotificationEventPersistenceuserNotificationEventId - 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 (optionally null)
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
protected UserNotificationEvent getByU_DT_A_A_PrevAndNext(Session session,
UserNotificationEvent userNotificationEvent,
long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean previous)
public void removeByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
removeByU_DT_A_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archived
public int countByU_DT_A_A(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
countByU_DT_A_A in interface UserNotificationEventPersistenceuserId - the user IDdeliveryType - the delivery typeactionRequired - the action requiredarchived - the archived
public void cacheResult(UserNotificationEvent userNotificationEvent)
cacheResult in interface UserNotificationEventPersistenceuserNotificationEvent - the user notification eventpublic void cacheResult(List<UserNotificationEvent> userNotificationEvents)
cacheResult in interface UserNotificationEventPersistenceuserNotificationEvents - the user notification eventspublic void clearCache()
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<UserNotificationEvent>clearCache in class BasePersistenceImpl<UserNotificationEvent>public void clearCache(UserNotificationEvent userNotificationEvent)
The EntityCache and FinderCache are both cleared by this method.
clearCache in interface BasePersistence<UserNotificationEvent>clearCache in class BasePersistenceImpl<UserNotificationEvent>userNotificationEvent - the instance of this model to clear the cache forpublic void clearCache(List<UserNotificationEvent> userNotificationEvents)
BasePersistence
The EntityCache and FinderCache are both cleared by this
method.
clearCache in interface BasePersistence<UserNotificationEvent>clearCache in class BasePersistenceImpl<UserNotificationEvent>userNotificationEvents - the List instances of this model to clear the cache forpublic UserNotificationEvent create(long userNotificationEventId)
create in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key for the new user notification event
public UserNotificationEvent remove(long userNotificationEventId)
throws NoSuchUserNotificationEventException
remove in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the user notification event
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
public UserNotificationEvent remove(Serializable primaryKey)
throws NoSuchUserNotificationEventException
remove in interface BasePersistence<UserNotificationEvent>remove in class BasePersistenceImpl<UserNotificationEvent>primaryKey - the primary key of the user notification event
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be foundprotected UserNotificationEvent removeImpl(UserNotificationEvent userNotificationEvent)
BasePersistenceImplBasePersistenceImpl.update(BaseModel,
boolean) depends on this method to implement the remove operation; it
only notifies the model listeners.
removeImpl in class BasePersistenceImpl<UserNotificationEvent>userNotificationEvent - the model instance to remove
public UserNotificationEvent updateImpl(UserNotificationEvent userNotificationEvent)
BasePersistenceImplBasePersistenceImpl.remove(BaseModel) depends on this method to implement the
update operation; it only notifies the model listeners.
updateImpl in interface UserNotificationEventPersistenceupdateImpl in class BasePersistenceImpl<UserNotificationEvent>userNotificationEvent - the model instance to update
protected UserNotificationEvent toUnwrappedModel(UserNotificationEvent userNotificationEvent)
public UserNotificationEvent findByPrimaryKey(Serializable primaryKey)
throws NoSuchUserNotificationEventException
NoSuchModelException if it could not be found.
findByPrimaryKey in interface BasePersistence<UserNotificationEvent>findByPrimaryKey in class BasePersistenceImpl<UserNotificationEvent>primaryKey - the primary key of the user notification event
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be found
public UserNotificationEvent findByPrimaryKey(long userNotificationEventId)
throws NoSuchUserNotificationEventException
NoSuchUserNotificationEventException if it could not be found.
findByPrimaryKey in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the user notification event
NoSuchUserNotificationEventException - if a user notification event with the primary key could not be foundpublic UserNotificationEvent fetchByPrimaryKey(Serializable primaryKey)
null if it could not be found.
fetchByPrimaryKey in interface BasePersistence<UserNotificationEvent>fetchByPrimaryKey in class BasePersistenceImpl<UserNotificationEvent>primaryKey - the primary key of the user notification event
null if a user notification event with the primary key could not be foundpublic UserNotificationEvent fetchByPrimaryKey(long userNotificationEventId)
null if it could not be found.
fetchByPrimaryKey in interface UserNotificationEventPersistenceuserNotificationEventId - the primary key of the user notification event
null if a user notification event with the primary key could not be foundpublic Map<Serializable,UserNotificationEvent> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
fetchByPrimaryKeys in interface BasePersistence<UserNotificationEvent>fetchByPrimaryKeys in interface UserNotificationEventPersistencefetchByPrimaryKeys in class BasePersistenceImpl<UserNotificationEvent>public List<UserNotificationEvent> findAll()
findAll in interface UserNotificationEventPersistence
public List<UserNotificationEvent> findAll(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface UserNotificationEventPersistencestart - the lower bound of the range of user notification eventsend - the upper bound of the range of user notification events (not inclusive)
public List<UserNotificationEvent> findAll(int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface UserNotificationEventPersistencestart - 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 (optionally null)
public List<UserNotificationEvent> findAll(int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator,
boolean retrieveFromCache)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from UserNotificationEventModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
findAll in interface UserNotificationEventPersistencestart - 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 (optionally null)retrieveFromCache - whether to retrieve from the finder cache
public void removeAll()
removeAll in interface UserNotificationEventPersistencepublic int countAll()
countAll in interface UserNotificationEventPersistencepublic Set<String> getBadColumnNames()
getBadColumnNames in interface BasePersistence<UserNotificationEvent>getBadColumnNames in interface UserNotificationEventPersistencegetBadColumnNames in class BasePersistenceImpl<UserNotificationEvent>protected Map<String,Integer> getTableColumnsMap()
getTableColumnsMap in class BasePersistenceImpl<UserNotificationEvent>public void afterPropertiesSet()
public void destroy()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||