Package org.kuali.rice.ken.service.impl
Class NotificationRecipientServiceKimImpl
java.lang.Object
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getGroupMembers(String groupRecipientId) Uses the IdentityManagementService of KIM to get the members of a group.protected org.kuali.rice.kim.api.group.GroupServicegetUserDisplayName(String userId) This method retrieves the display name for a user.booleanisGroupRecipientValid(String groupRecipientId) This service method checks to make sure that the group recipient is a valid group in the system.booleanisRecipientValid(String recipientId, String recipientType) This method handles figuring out which recipient type that you are deling with and calls the appropriate validation method.booleanisUserRecipientValid(String principalName) This service method checks to make sure that the user recipient is a valid user in the system.
-
Constructor Details
-
NotificationRecipientServiceKimImpl
public NotificationRecipientServiceKimImpl()
-
-
Method Details
-
getGroupService
protected org.kuali.rice.kim.api.group.GroupService getGroupService() -
getGroupMembers
Uses the IdentityManagementService of KIM to get the members of a group.- Specified by:
getGroupMembersin interfaceNotificationRecipientService- Parameters:
groupRecipientId- the String name of the recipient group- Returns:
- a String array of all direct (child) principals and descendent principals
- See Also:
-
getUserDisplayName
This method retrieves the display name for a user.- Specified by:
getUserDisplayNamein interfaceNotificationRecipientService- Parameters:
userId-- Returns:
- String
-
isRecipientValid
Description copied from interface:NotificationRecipientServiceThis method handles figuring out which recipient type that you are deling with and calls the appropriate validation method.- Specified by:
isRecipientValidin interfaceNotificationRecipientService- Returns:
- boolean
- See Also:
-
isGroupRecipientValid
Description copied from interface:NotificationRecipientServiceThis service method checks to make sure that the group recipient is a valid group in the system.- Specified by:
isGroupRecipientValidin interfaceNotificationRecipientService- Returns:
- boolean
-
isUserRecipientValid
Description copied from interface:NotificationRecipientServiceThis service method checks to make sure that the user recipient is a valid user in the system.- Specified by:
isUserRecipientValidin interfaceNotificationRecipientService- Returns:
- boolean
-