<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>liferay notificationevent delete by deliverBy</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119768938" />
  <subtitle>liferay notificationevent delete by deliverBy</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=119768938</id>
  <updated>2026-04-06T20:52:34Z</updated>
  <dc:date>2026-04-06T20:52:34Z</dc:date>
  <entry>
    <title>RE: liferay notificationevent delete by deliverBy</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119799815" />
    <author>
      <name>Yan Paing</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119799815</id>
    <updated>2020-08-19T14:01:13Z</updated>
    <published>2020-08-19T14:01:13Z</published>
    <summary type="html">Hi ,Can some one please suggest. &lt;br /&gt;Thanks</summary>
    <dc:creator>Yan Paing</dc:creator>
    <dc:date>2020-08-19T14:01:13Z</dc:date>
  </entry>
  <entry>
    <title>liferay notificationevent delete by deliverBy</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119768937" />
    <author>
      <name>Aye Aye</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=119768937</id>
    <updated>2020-08-16T04:25:34Z</updated>
    <published>2020-08-16T04:25:34Z</published>
    <summary type="html">Hi Everyone, I would like to delete notification .While I try to delete with the following method.&lt;br /&gt; List&amp;lt;UserNotificationEvent&amp;gt; notiList= _notiEventLocalService.getUserNotificationEvents(guardian.getLoginUserId(), UserNotificationDeliveryConstants.TYPE_WEBSITE);&lt;br /&gt;                    for(UserNotificationEvent notiEvent : notiList) {&lt;br /&gt;_notiEventLocalService.deleteUserNotificationEvent(notiEvent); &lt;br /&gt;}However getUserNotificationEvents is searching with receiver login ID and not with deliver user id.  Which method should i use to get with sender id. &lt;br /&gt;&lt;br /&gt;Thank You,&lt;br /&gt;AYE</summary>
    <dc:creator>Aye Aye</dc:creator>
    <dc:date>2020-08-16T04:25:34Z</dc:date>
  </entry>
</feed>
