Package org.kuali.rice.ken.service.impl
Class NotificationAuthorizationServiceImpl
java.lang.Object
org.kuali.rice.ken.service.impl.NotificationAuthorizationServiceImpl
- All Implemented Interfaces:
NotificationAuthorizationService
public class NotificationAuthorizationServiceImpl
extends Object
implements NotificationAuthorizationService
NotificationAuthorizationService implementation - this is the default out-of-the-box implementation of the service.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisProducerAuthorizedToSendNotificationForChannel(NotificationProducerBo producer, NotificationChannelBo channel) This service method validates that the specified producer has the permissions to send a notification on for a specific NotificationChannel.booleanisUserAdministrator(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.
-
Constructor Details
-
NotificationAuthorizationServiceImpl
public NotificationAuthorizationServiceImpl()
-
-
Method Details
-
isProducerAuthorizedToSendNotificationForChannel
public boolean isProducerAuthorizedToSendNotificationForChannel(NotificationProducerBo producer, NotificationChannelBo channel) Description copied from interface:NotificationAuthorizationServiceThis service method validates that the specified producer has the permissions to send a notification on for a specific NotificationChannel.- Specified by:
isProducerAuthorizedToSendNotificationForChannelin interfaceNotificationAuthorizationService- Returns:
- boolean - true if authorized, false if not
- See Also:
-
isUserAdministrator
Implements by calling the is user member of service in KEW's workgroup service, looking for a specific membership in the "NotificationAdmin" workgroup.- Specified by:
isUserAdministratorin interfaceNotificationAuthorizationService- Returns:
- boolean - true if authorized, false if not
- See Also:
-