Class NotificationInfoImpl
java.lang.Object
com.flowable.engage.engine.impl.notification.NotificationInfoImpl
- All Implemented Interfaces:
NotificationInfo
- Author:
- Filip Hrisafov
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe id of the user to which the notificiation needs to be sentbooleanWhether the given user needs to receive a desktop notification.booleanWhether the message should be marked as read after sending the notificationbooleanWhether a mobile notification is needed for the user.
-
Field Details
-
userId
-
notifications
-
-
Constructor Details
-
NotificationInfoImpl
-
-
Method Details
-
getUserId
Description copied from interface:NotificationInfoThe id of the user to which the notificiation needs to be sent- Specified by:
getUserIdin interfaceNotificationInfo- Returns:
- the id of the user
-
isDesktopNotification
public boolean isDesktopNotification()Description copied from interface:NotificationInfoWhether the given user needs to receive a desktop notification. This does not affect the real time messaging. If a user is connected a notification will always be send to him / her.- Specified by:
isDesktopNotificationin interfaceNotificationInfo- Returns:
- whether a desktop notifications needs to be displayed
-
isMobileNotification
public boolean isMobileNotification()Description copied from interface:NotificationInfoWhether a mobile notification is needed for the user.- Specified by:
isMobileNotificationin interfaceNotificationInfo- Returns:
- whether a mobile notification needs to be send
-
isMarkAsRead
public boolean isMarkAsRead()Description copied from interface:NotificationInfoWhether the message should be marked as read after sending the notification- Specified by:
isMarkAsReadin interfaceNotificationInfo- Returns:
- whether the message should be marked as read
-