Package io.jmix.notifications.impl
Class UpdateTenantInAppNotificationOnSavingHandler
java.lang.Object
io.jmix.notifications.impl.UpdateTenantInAppNotificationOnSavingHandler
- All Implemented Interfaces:
InAppNotificationOnSavingHandler
public class UpdateTenantInAppNotificationOnSavingHandler
extends Object
implements InAppNotificationOnSavingHandler
Implementation of
InAppNotificationOnSavingHandler that sets tenant of notification
with the value taken from the recipient.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionUpdateTenantInAppNotificationOnSavingHandler(TenantProvider tenantProvider, UserRepository userRepository) -
Method Summary
-
Field Details
-
tenantProvider
-
userRepository
-
-
Constructor Details
-
UpdateTenantInAppNotificationOnSavingHandler
public UpdateTenantInAppNotificationOnSavingHandler(TenantProvider tenantProvider, UserRepository userRepository)
-
-
Method Details
-
handle
- Specified by:
handlein interfaceInAppNotificationOnSavingHandler
-