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
 boolean isProducerAuthorizedToSendNotificationForChannel(NotificationProducer producer, NotificationChannel 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)
          This method checks to see if the user is authorized as an administrator in the system.
 

Method Detail

isProducerAuthorizedToSendNotificationForChannel

boolean isProducerAuthorizedToSendNotificationForChannel(NotificationProducer producer,
                                                         NotificationChannel 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

boolean isUserAdministrator(String userId)
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


Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.