public class FCMActivityNotifier extends Object implements IActivityUserNotifier
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_FCM_PROJECT_ID |
static String |
FCM_SENDER_ID_PROPERTY_NAME |
Constructor and Description |
---|
FCMActivityNotifier() |
Modifier and Type | Method and Description |
---|---|
void |
notify(ActivityDocument activityDocument,
Collection<UserConfig> users)
Sends a notification to
users about the activity that has occurred. |
public static final String FCM_SENDER_ID_PROPERTY_NAME
public static final String DEFAULT_FCM_PROJECT_ID
public void notify(ActivityDocument activityDocument, Collection<UserConfig> users) throws PortalException
IActivityUserNotifier
users
about the activity that has occurred.notify
in interface IActivityUserNotifier
activityDocument
- the document of the activity that has occurred.users
- the users to receive the notification.PortalException
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.