org.kuali.rice.ken.service.impl
Class NotificationRecipientServiceKimImpl

java.lang.Object
  extended by org.kuali.rice.ken.service.impl.NotificationRecipientServiceKimImpl
All Implemented Interfaces:
NotificationRecipientService

public class NotificationRecipientServiceKimImpl
extends Object
implements NotificationRecipientService

NotificationRecipientService implementation This implementation relies on KIM user and group management

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
NotificationRecipientServiceKimImpl()
           
 
Method Summary
 String[] getGroupMembers(String groupRecipientId)
          Uses the IdentityManagementService of KIM to get the members of a group.
protected  GroupService getGroupService()
           
 String getUserDisplayName(String userId)
          This method retrieves the display name for a user.
 boolean isGroupRecipientValid(String groupRecipientId)
          This overridden method ...
 boolean isRecipientValid(String recipientId, String recipientType)
          This method handles figuring out which recipient type that you are deling with and calls the appropriate validation method.
 boolean isUserRecipientValid(String principalName)
          This overridden method ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationRecipientServiceKimImpl

public NotificationRecipientServiceKimImpl()
Method Detail

getGroupService

protected GroupService getGroupService()

getGroupMembers

public String[] getGroupMembers(String groupRecipientId)
Uses the IdentityManagementService of KIM to get the members of a group.

Specified by:
getGroupMembers in interface NotificationRecipientService
Parameters:
groupRecipientId - the String name of the recipient group
Returns:
a String array of all direct (child) principals and descendent principals
See Also:
NotificationRecipientService.getGroupMembers(java.lang.String)

getUserDisplayName

public String getUserDisplayName(String userId)
This method retrieves the display name for a user.

Specified by:
getUserDisplayName in interface NotificationRecipientService
Parameters:
userId -
Returns:
String

isRecipientValid

public boolean isRecipientValid(String recipientId,
                                String recipientType)
Description copied from interface: NotificationRecipientService
This method handles figuring out which recipient type that you are deling with and calls the appropriate validation method.

Specified by:
isRecipientValid in interface NotificationRecipientService
Returns:
boolean
See Also:
NotificationRecipientService.isRecipientValid(java.lang.String, java.lang.String)

isGroupRecipientValid

public boolean isGroupRecipientValid(String groupRecipientId)
This overridden method ...

Specified by:
isGroupRecipientValid in interface NotificationRecipientService
Returns:
boolean
See Also:
NotificationRecipientService.isGroupRecipientValid(java.lang.String)

isUserRecipientValid

public boolean isUserRecipientValid(String principalName)
This overridden method ...

Specified by:
isUserRecipientValid in interface NotificationRecipientService
Returns:
boolean
See Also:
NotificationRecipientService.isUserRecipientValid(java.lang.String)


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