Package io.meeds.chat.notification
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Constructor Details
-
ChatDirectNotificationActionPlugin
public ChatDirectNotificationActionPlugin()
-
-
Method Details
-
getNotificationKind
- Specified by:
getNotificationKindin interfaceio.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:
handleActionin interfaceio.meeds.pwa.plugin.PwaDirectNotificationActionPlugin- Throws:
org.exoplatform.commons.exception.ObjectNotFoundExceptionIllegalAccessException
-