Package org.kuali.rice.ken.service
Interface NotificationAuthorizationService
- All Known Implementing Classes:
NotificationAuthorizationServiceImpl
public interface NotificationAuthorizationService
The NotificationAuthorizationService class is responsible for housing permissions and authorization
related services.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
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) This method checks to see if the user is authorized as an administrator in the system.
-
Method Details
-
isProducerAuthorizedToSendNotificationForChannel
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.- Parameters:
producer-channel-- Returns:
- boolean - true if authorized, false if not
-
isUserAdministrator
This method checks to see if the user is authorized as an administrator in the system.- Parameters:
userId-- Returns:
- boolean - true if authorized, false if not
-