public class UserNotificationEventLocalServiceImpl extends UserNotificationEventLocalServiceBaseImpl
counterLocalService, persistedModelLocalServiceRegistry, userFinder, userLocalService, userNotificationEventLocalService, userNotificationEventPersistence, userPersistence
Constructor and Description |
---|
UserNotificationEventLocalServiceImpl() |
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
boolean actionRequired,
com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean actionRequired,
boolean archived,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
int deliveryType,
long deliverBy,
String payload,
boolean archived,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
com.liferay.portal.kernel.model.UserNotificationEvent |
addUserNotificationEvent(long userId,
String type,
long timestamp,
long deliverBy,
String payload,
boolean archived,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Wilberforce (7.0.x),
addUserNotificationEvent(long, String, long, int, long,
String, boolean, ServiceContext) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
addUserNotificationEvents(long userId,
Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) |
void |
archiveUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired) |
void |
deleteUserNotificationEvent(String uuid,
long companyId) |
void |
deleteUserNotificationEvents(Collection<String> uuids,
long companyId) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getArchivedUserNotificationEvents(long userId,
int deliveryType,
boolean actionRequired,
boolean archived,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> obc) |
List<com.liferay.portal.kernel.model.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) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
boolean delivered,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getDeliveredUserNotificationEvents(long userId,
int deliveryType,
boolean delivered,
boolean actionRequired,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> obc) |
List<com.liferay.portal.kernel.model.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) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getTypeNotificationEvents(String type) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int start,
int end) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
getUserNotificationEvents(long userId,
int deliveryType,
int start,
int end) |
int |
getUserNotificationEventsCount(long userId) |
int |
getUserNotificationEventsCount(long userId,
int deliveryType) |
int |
getUserNotificationEventsCount(long userId,
String type,
int deliveryType,
boolean archived) |
protected void |
sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) |
com.liferay.portal.kernel.model.UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
boolean actionRequired,
com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
com.liferay.portal.kernel.model.UserNotificationEvent |
sendUserNotificationEvents(long userId,
String portletId,
int deliveryType,
com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) |
com.liferay.portal.kernel.model.UserNotificationEvent |
updateUserNotificationEvent(String uuid,
long companyId,
boolean archive) |
List<com.liferay.portal.kernel.model.UserNotificationEvent> |
updateUserNotificationEvents(Collection<String> uuids,
long companyId,
boolean archive) |
addUserNotificationEvent, afterPropertiesSet, createUserNotificationEvent, deletePersistedModel, deleteUserNotificationEvent, deleteUserNotificationEvent, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchUserNotificationEvent, fetchUserNotificationEventByUuidAndCompanyId, getActionableDynamicQuery, getCounterLocalService, getIndexableActionableDynamicQuery, getModelClass, getModelClassName, getOSGiServiceIdentifier, getPersistedModel, getUserFinder, getUserLocalService, getUserNotificationEvent, getUserNotificationEventByUuidAndCompanyId, getUserNotificationEventLocalService, getUserNotificationEventPersistence, getUserNotificationEvents, getUserNotificationEventsCount, getUserPersistence, initActionableDynamicQuery, runSQL, setCounterLocalService, setUserFinder, setUserLocalService, setUserNotificationEventLocalService, setUserNotificationEventPersistence, setUserPersistence, updateUserNotificationEvent
public UserNotificationEventLocalServiceImpl()
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, boolean actionRequired, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean actionRequired, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, String payload, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
@Deprecated public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, long deliverBy, String payload, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addUserNotificationEvent(long, String, long, int, long,
String, boolean, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.UserNotificationEvent> addUserNotificationEvents(long userId, Collection<com.liferay.portal.kernel.notifications.NotificationEvent> notificationEvents) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void archiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public void deleteUserNotificationEvent(String uuid, long companyId)
public void deleteUserNotificationEvents(Collection<String> uuids, long companyId)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> obc)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end)
public int getArchivedUserNotificationEventsCount(long userId, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived)
public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> obc)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end)
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered)
public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired)
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered)
public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getTypeNotificationEvents(String type)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
public int getUserNotificationEventsCount(long userId)
public int getUserNotificationEventsCount(long userId, int deliveryType)
public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean archived)
public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
public List<com.liferay.portal.kernel.model.UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
protected void sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)