Class UserNotificationEventLocalServiceImpl

Object
com.liferay.portal.kernel.service.BaseLocalServiceImpl
com.liferay.portal.service.base.UserNotificationEventLocalServiceBaseImpl
com.liferay.portal.service.impl.UserNotificationEventLocalServiceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.BaseLocalService, com.liferay.portal.kernel.service.PersistedModelLocalService, com.liferay.portal.kernel.service.UserNotificationEventLocalService

@CTAware public class UserNotificationEventLocalServiceImpl extends UserNotificationEventLocalServiceBaseImpl
Author:
Edward Han, Brian Wing Shun Chan
  • Constructor Details

    • UserNotificationEventLocalServiceImpl

      public UserNotificationEventLocalServiceImpl()
  • Method Details

    • addUserNotificationEvent

      public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addUserNotificationEvent

      public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addUserNotificationEvent

      @Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserNotificationEvent addUserNotificationEvent(long userId, String type, long timestamp, int deliveryType, long deliverBy, boolean delivered, String payload, boolean actionRequired, boolean archived, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addUserNotificationEvent

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addUserNotificationEvents

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • archiveUserNotificationEvents

      public void archiveUserNotificationEvents(long userId, int deliveryType, boolean actionRequired) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteUserNotificationEvent

      public void deleteUserNotificationEvent(String uuid, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteUserNotificationEvents

      public void deleteUserNotificationEvents(Collection<String> uuids, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteUserNotificationEvents

      public void deleteUserNotificationEvents(long userId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean actionRequired, boolean archived, int start, int end)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, boolean archived, int start, int end)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean actionRequired, boolean archived, int start, int end)
    • getArchivedUserNotificationEvents

      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> orderByComparator)
    • getArchivedUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getArchivedUserNotificationEvents(long userId, int deliveryType, boolean archived, int start, int end)
    • getArchivedUserNotificationEventsCount

      public int getArchivedUserNotificationEventsCount(long userId, boolean archived)
    • getArchivedUserNotificationEventsCount

      public int getArchivedUserNotificationEventsCount(long userId, boolean actionRequired, boolean archived)
    • getArchivedUserNotificationEventsCount

      public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean archived)
    • getArchivedUserNotificationEventsCount

      public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean actionRequired, boolean archived)
    • getArchivedUserNotificationEventsCount

      public int getArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired, boolean archived)
    • getDeliveredArchivedUserNotificationEventsCount

      public int getDeliveredArchivedUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, boolean actionRequired, int start, int end)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, boolean delivered, int start, int end)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, boolean actionRequired, int start, int end)
    • getDeliveredUserNotificationEvents

      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> orderByComparator)
    • getDeliveredUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getDeliveredUserNotificationEvents(long userId, int deliveryType, boolean delivered, int start, int end)
    • getDeliveredUserNotificationEventsCount

      public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered)
    • getDeliveredUserNotificationEventsCount

      public int getDeliveredUserNotificationEventsCount(long userId, boolean delivered, boolean actionRequired)
    • getDeliveredUserNotificationEventsCount

      public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered)
    • getDeliveredUserNotificationEventsCount

      public int getDeliveredUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean actionRequired)
    • getTypeNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getTypeNotificationEvents(String type)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int deliveryType, int start, int end)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.UserNotificationEvent> orderByComparator)
    • getUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> getUserNotificationEvents(long userId, String type, long timestamp, boolean delivered)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId, int deliveryType)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId, int deliveryType, boolean delivered, boolean archived)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId, String type, int deliveryType, boolean delivered, boolean archived)
    • getUserNotificationEventsCount

      public int getUserNotificationEventsCount(long userId, String type, Map<String,String> payloadParameters)
    • sendUserNotificationEvents

      public com.liferay.portal.kernel.model.UserNotificationEvent sendUserNotificationEvents(long userId, String portletId, int deliveryType, boolean delivered, boolean actionRequired, com.liferay.portal.kernel.json.JSONObject notificationEventJSONObject) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • sendUserNotificationEvents

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • sendUserNotificationEvents

      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
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateUserNotificationEvent

      @Indexable(type=REINDEX) public com.liferay.portal.kernel.model.UserNotificationEvent updateUserNotificationEvent(String uuid, long companyId, boolean archive)
    • updateUserNotificationEvents

      public List<com.liferay.portal.kernel.model.UserNotificationEvent> updateUserNotificationEvents(Collection<String> uuids, long companyId, boolean archive)
    • sendPushNotification

      protected void sendPushNotification(com.liferay.portal.kernel.notifications.NotificationEvent notificationEvent)