public class UserNotificationEventLocalServiceWrapper extends Object implements ServiceWrapper<UserNotificationEventLocalService>, UserNotificationEventLocalService
UserNotificationEventLocalService.UserNotificationEventLocalService| Constructor and Description |
|---|
UserNotificationEventLocalServiceWrapper() |
UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService) |
| Modifier and Type | Method and Description |
|---|---|
UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean delivered,
boolean actionRequired,
NotificationEvent notificationEvent) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean actionRequired,
NotificationEvent notificationEvent)
Deprecated.
As of Mueller (7.2.x)
|
UserNotificationEvent |
addUserNotificationEvent(long userId,
NotificationEvent notificationEvent) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
boolean delivered,
String payload,
boolean actionRequired,
boolean archived,
ServiceContext serviceContext) |
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean actionRequired,
boolean archived,
ServiceContext serviceContext)
Deprecated.
As of Mueller (7.2.x)
|
UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean archived,
ServiceContext serviceContext) |
UserNotificationEvent |
addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Adds the user notification event to the database.
|
List<UserNotificationEvent> |
addUserNotificationEvents(long userId,
Collection<NotificationEvent> notificationEvents) |
void |
archiveUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired) |
PersistedModel |
createPersistedModel(Serializable primaryKeyObj) |
UserNotificationEvent |
createUserNotificationEvent(long userNotificationEventId)
Creates a new user notification event with the primary key.
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel) |
UserNotificationEvent |
deleteUserNotificationEvent(long userNotificationEventId)
Deletes the user notification event with the primary key from the database.
|
void |
deleteUserNotificationEvent(String uuid,
long companyId) |
UserNotificationEvent |
deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Deletes the user notification event from the database.
|
void |
deleteUserNotificationEvents(Collection<String> uuids,
long companyId) |
void |
deleteUserNotificationEvents(long userId) |
<T> T |
dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
int |
dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery) |
DynamicQuery |
dynamicQuery() |
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query.
|
UserNotificationEvent |
fetchUserNotificationEvent(long userNotificationEventId) |
UserNotificationEvent |
fetchUserNotificationEventByUuidAndCompanyId(String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
ActionableDynamicQuery |
getActionableDynamicQuery() |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean archived) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
List<UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean archived,
int start,
int end) |
int |
getArchivedUserNotificationEventsCount(long userId,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
boolean actionRequired,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean actionRequired,
boolean archived) |
int |
getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived) |
int |
getDeliveredArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
int start,
int end) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
OrderByComparator<UserNotificationEvent> orderByComparator) |
List<UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
int start,
int end) |
int |
getDeliveredUserNotificationEventsCount(long userId,
boolean delivered) |
int |
getDeliveredUserNotificationEventsCount(long userId,
boolean delivered,
boolean actionRequired) |
int |
getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered) |
int |
getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired) |
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery() |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj) |
List<UserNotificationEvent> |
getTypeNotificationEvents(String type) |
UserNotificationEvent |
getUserNotificationEvent(long userNotificationEventId)
Returns the user notification event with the primary key.
|
UserNotificationEvent |
getUserNotificationEventByUuidAndCompanyId(String uuid,
long companyId)
Returns the user notification event with the matching UUID and company.
|
List<UserNotificationEvent> |
getUserNotificationEvents(int start,
int end)
Returns a range of all the user notification events.
|
List<UserNotificationEvent> |
getUserNotificationEvents(long userId) |
List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType) |
List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
int start,
int end) |
List<UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType,
int start,
int end) |
int |
getUserNotificationEventsCount()
Returns the number of user notification events.
|
int |
getUserNotificationEventsCount(long userId) |
int |
getUserNotificationEventsCount(long userId,
int deliveryType) |
int |
getUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived) |
int |
getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered) |
int |
getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered,
boolean archived) |
int |
getUserNotificationEventsCount(long userId,
String type,
Map<String,String> payloadParameters) |
UserNotificationEventLocalService |
getWrappedService() |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean delivered,
boolean actionRequired,
JSONObject notificationEventJSONObject) |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean actionRequired,
JSONObject notificationEventJSONObject) |
UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
JSONObject notificationEventJSONObject) |
void |
setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService) |
UserNotificationEvent |
updateUserNotificationEvent(String uuid,
long companyId,
boolean archive) |
UserNotificationEvent |
updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Updates the user notification event in the database or adds it if it does not yet exist.
|
List<UserNotificationEvent> |
updateUserNotificationEvents(Collection<String> uuids,
long companyId,
boolean archive) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBasePersistencepublic UserNotificationEventLocalServiceWrapper()
public UserNotificationEventLocalServiceWrapper(UserNotificationEventLocalService userNotificationEventLocalService)
public UserNotificationEvent addUserNotificationEvent(long userId, boolean delivered, boolean actionRequired, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalException@Deprecated public UserNotificationEvent addUserNotificationEvent(long userId, boolean actionRequired, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent addUserNotificationEvent(long userId, NotificationEvent notificationEvent) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, boolean delivered, String payload, boolean actionRequired, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalException@Deprecated public UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean actionRequired, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean archived, ServiceContext serviceContext) throws PortalException
addUserNotificationEvent in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent addUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventpublic List<UserNotificationEvent> addUserNotificationEvents(long userId, Collection<NotificationEvent> notificationEvents) throws PortalException
addUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionpublic void archiveUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired)
throws PortalException
archiveUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionpublic PersistedModel createPersistedModel(Serializable primaryKeyObj) throws PortalException
createPersistedModel in interface PersistedModelLocalServicecreatePersistedModel in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent createUserNotificationEvent(long userNotificationEventId)
createUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key for the new user notification eventpublic PersistedModel deletePersistedModel(PersistedModel persistedModel) throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent deleteUserNotificationEvent(long userNotificationEventId) throws PortalException
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification eventPortalException - if a user notification event with the primary key could not be foundpublic void deleteUserNotificationEvent(String uuid,
long companyId)
deleteUserNotificationEvent in interface UserNotificationEventLocalServicepublic UserNotificationEvent deleteUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventpublic void deleteUserNotificationEvents(Collection<String> uuids,
long companyId)
deleteUserNotificationEvents in interface UserNotificationEventLocalServicepublic void deleteUserNotificationEvents(long userId)
deleteUserNotificationEvents in interface UserNotificationEventLocalServicepublic <T> T dslQuery(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQuery in interface PersistedModelLocalServicedslQuery in interface UserNotificationEventLocalServicepublic int dslQueryCount(com.liferay.petra.sql.dsl.query.DSLQuery dslQuery)
dslQueryCount in interface PersistedModelLocalServicedslQueryCount in interface UserNotificationEventLocalServicepublic DynamicQuery dynamicQuery()
dynamicQuery in interface UserNotificationEventLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querypublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl.
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<T> 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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl.
dynamicQuery in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface UserNotificationEventLocalServicedynamicQuery - the dynamic querypublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
dynamicQueryCount in interface UserNotificationEventLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the querypublic UserNotificationEvent fetchUserNotificationEvent(long userNotificationEventId)
fetchUserNotificationEvent in interface UserNotificationEventLocalServicepublic UserNotificationEvent fetchUserNotificationEventByUuidAndCompanyId(String uuid, long companyId)
fetchUserNotificationEventByUuidAndCompanyId in interface UserNotificationEventLocalServiceuuid - the user notification event's UUIDcompanyId - the primary key of the companynull if a matching user notification event could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end)
getArchivedUserNotificationEvents in interface UserNotificationEventLocalServicepublic int getArchivedUserNotificationEventsCount(long userId,
boolean archived)
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getArchivedUserNotificationEventsCount(long userId,
boolean actionRequired,
boolean archived)
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean archived)
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean actionRequired,
boolean archived)
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
boolean archived)
getArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getDeliveredArchivedUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived)
getDeliveredArchivedUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, OrderByComparator<UserNotificationEvent> orderByComparator)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end)
getDeliveredUserNotificationEvents in interface UserNotificationEventLocalServicepublic int getDeliveredUserNotificationEventsCount(long userId,
boolean delivered)
getDeliveredUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getDeliveredUserNotificationEventsCount(long userId,
boolean delivered,
boolean actionRequired)
getDeliveredUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered)
getDeliveredUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getDeliveredUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired)
getDeliveredUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface UserNotificationEventLocalServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface UserNotificationEventLocalServicepublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface UserNotificationEventLocalServicePortalExceptionpublic List<UserNotificationEvent> getTypeNotificationEvents(String type)
getTypeNotificationEvents in interface UserNotificationEventLocalServicepublic UserNotificationEvent getUserNotificationEvent(long userNotificationEventId) throws PortalException
getUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEventId - the primary key of the user notification eventPortalException - if a user notification event with the primary key could not be foundpublic UserNotificationEvent getUserNotificationEventByUuidAndCompanyId(String uuid, long companyId) throws PortalException
getUserNotificationEventByUuidAndCompanyId in interface UserNotificationEventLocalServiceuuid - the user notification event's UUIDcompanyId - the primary key of the companyPortalException - if a matching user notification event could not be foundpublic List<UserNotificationEvent> getUserNotificationEvents(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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.UserNotificationEventModelImpl.
getUserNotificationEvents in interface UserNotificationEventLocalServicestart - 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> getUserNotificationEvents(long userId)
getUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
getUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
getUserNotificationEvents in interface UserNotificationEventLocalServicepublic List<UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
getUserNotificationEvents in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount()
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId,
int deliveryType)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId,
int deliveryType,
boolean delivered,
boolean archived)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean delivered,
boolean archived)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic int getUserNotificationEventsCount(long userId,
String type,
Map<String,String> payloadParameters)
getUserNotificationEventsCount in interface UserNotificationEventLocalServicepublic UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean delivered, boolean actionRequired, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, JSONObject notificationEventJSONObject) throws PortalException
sendUserNotificationEvents in interface UserNotificationEventLocalServicePortalExceptionpublic UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
updateUserNotificationEvent in interface UserNotificationEventLocalServicepublic UserNotificationEvent updateUserNotificationEvent(UserNotificationEvent userNotificationEvent)
Important: Inspect UserNotificationEventLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateUserNotificationEvent in interface UserNotificationEventLocalServiceuserNotificationEvent - the user notification eventpublic List<UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
updateUserNotificationEvents in interface UserNotificationEventLocalServicepublic UserNotificationEventLocalService getWrappedService()
getWrappedService in interface ServiceWrapper<UserNotificationEventLocalService>public void setWrappedService(UserNotificationEventLocalService userNotificationEventLocalService)
setWrappedService in interface ServiceWrapper<UserNotificationEventLocalService>