Package org.kuali.rice.ken.service
Interface NotificationRecipientService
- All Known Implementing Classes:
NotificationRecipientServiceKimImpl
public interface NotificationRecipientService
The NotificationRecipientService class is responsible for housing user/group related services.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionString[]getGroupMembers(String groupRecipientId) This service method will retrieve all of the user recipients ids that belong to a group.getUserDisplayName(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 userRecipientId) This service method checks to make sure that the user recipient is a valid user in the system.
-
Method Details
-
isRecipientValid
This method handles figuring out which recipient type that you are deling with and calls the appropriate validation method.- Parameters:
recipientId-recipientType-- Returns:
- boolean
-
isUserRecipientValid
This service method checks to make sure that the user recipient is a valid user in the system.- Parameters:
userRecipientId-- Returns:
- boolean
-
isGroupRecipientValid
This service method checks to make sure that the group recipient is a valid group in the system.- Parameters:
groupRecipientId-- Returns:
- boolean
-
getGroupMembers
This service method will retrieve all of the user recipients ids that belong to a group.- Parameters:
groupRecipientId-- Returns:
- A String array of user recipient ids that belong to the specified recipient group id.
-
getUserDisplayName
This method retrieves the display name for a user.- Parameters:
userId-- Returns:
- String
-