public class NotificationAuthorizationServiceImpl extends Object implements NotificationAuthorizationService
Constructor and Description |
---|
NotificationAuthorizationServiceImpl(GenericDao businessObjectDao)
Constructs a NotificationAuthorizationServiceImpl class instance.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isProducerAuthorizedToSendNotificationForChannel(NotificationProducerBo producer,
NotificationChannelBo channel)
This service method validates that the specified producer has the permissions to send a notification
on for a specific NotificationChannel.
|
boolean |
isUserAdministrator(String userId)
Implements by calling the is user member of service in KEW's workgroup service, looking for a specific membership
in the "NotificationAdmin" workgroup.
|
public NotificationAuthorizationServiceImpl(GenericDao businessObjectDao)
businessObjectDao
- public boolean isProducerAuthorizedToSendNotificationForChannel(NotificationProducerBo producer, NotificationChannelBo channel)
NotificationAuthorizationService
isProducerAuthorizedToSendNotificationForChannel
in interface NotificationAuthorizationService
NotificationAuthorizationService.isProducerAuthorizedToSendNotificationForChannel(org.kuali.rice.ken.bo.NotificationProducerBo, org.kuali.rice.ken.bo.NotificationChannelBo)
public boolean isUserAdministrator(String userId)
isUserAdministrator
in interface NotificationAuthorizationService
NotificationAuthorizationService.isUserAdministrator(java.lang.String)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.