Interface RecipientService
- All Known Implementing Classes:
RecipientServiceImpl
public interface RecipientService
RecipientService to retrieve all ConcernedRecipients and their EffectiveRecipient.
See package information for a detailed description of the functionality provided by this service and it's data model.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetRecipientsByTarget(EntityList selection, RecipientParameters parameters) Evaluates and returns allEffectiveRecipients arranged as a list ofCommunicationTargets based on the selected entities and the providedRecipientParameters.getUnmergedRecipients(EntityList selection, RecipientParameters parameters) Returns allConcernedRecipients for the provided selection ofEntitys based on theRecipientParameterswithout merging them.
-
Method Details
-
getUnmergedRecipients
List<ConcernedRecipient> getUnmergedRecipients(EntityList selection, RecipientParameters parameters) throws NoEntityToLoadException Returns allConcernedRecipients for the provided selection ofEntitys based on theRecipientParameterswithout merging them. This can be used to display (as done in the correspondence dialog) and check the whole collection of targetedEffectiveRecipients before they are merged according to the correspondingRecipientParameters.mergeRecipientsByTargetflag.- Parameters:
selection- the list entities for which theEffectiveRecipients will be calculatedparameters- theRecipientParameters- Returns:
- the
ConcernedRecipients with allConcernedRecipients and theirEffectiveRecipients - Throws:
NoEntityToLoadException- See Also:
-
getRecipientsByTarget
List<CommunicationTarget> getRecipientsByTarget(EntityList selection, RecipientParameters parameters) throws NoEntityToLoadException Evaluates and returns allEffectiveRecipients arranged as a list ofCommunicationTargets based on the selected entities and the providedRecipientParameters.- Parameters:
selection- the list entities for which theEffectiveRecipients will be calculatedparameters- theRecipientParameters- Returns:
- the
EffectiveRecipients arranged as a list ofCommunicationTargets - Throws:
NoEntityToLoadException
-