Class ChatDirectNotificationActionPlugin

java.lang.Object
io.meeds.chat.notification.ChatDirectNotificationActionPlugin
All Implemented Interfaces:
io.meeds.pwa.plugin.PwaDirectNotificationActionPlugin

@Service public class ChatDirectNotificationActionPlugin extends Object implements io.meeds.pwa.plugin.PwaDirectNotificationActionPlugin
Quick actions of the chat room popup: "mark as read" marks the room read up to the popup's latest message (the device was authenticated by pwa). Declared as a @Service so the Kernel/Spring bridge exposes it to the pwa context, which collects the action plugins.
  • Constructor Details

    • ChatDirectNotificationActionPlugin

      public ChatDirectNotificationActionPlugin()
  • Method Details

    • getNotificationKind

      public String getNotificationKind()
      Specified by:
      getNotificationKind in interface io.meeds.pwa.plugin.PwaDirectNotificationActionPlugin
    • handleAction

      public void handleAction(String username, String action, String objectKey, Map<String,String> data) throws org.exoplatform.commons.exception.ObjectNotFoundException, IllegalAccessException
      Specified by:
      handleAction in interface io.meeds.pwa.plugin.PwaDirectNotificationActionPlugin
      Throws:
      org.exoplatform.commons.exception.ObjectNotFoundException
      IllegalAccessException