Interface RecipientService
- All Known Implementing Classes:
RecipientServiceImpl
public interface RecipientService
RecipientService
to retrieve all ConcernedRecipient
s 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 allEffectiveRecipient
s arranged as a list ofCommunicationTarget
s based on the selected entities and the providedRecipientParameters
.getUnmergedRecipients
(EntityList selection, RecipientParameters parameters) Returns allConcernedRecipient
s for the provided selection ofEntity
s based on theRecipientParameters
without merging them.
-
Method Details
-
getUnmergedRecipients
List<ConcernedRecipient> getUnmergedRecipients(EntityList selection, RecipientParameters parameters) throws NoEntityToLoadException Returns allConcernedRecipient
s for the provided selection ofEntity
s based on theRecipientParameters
without merging them. This can be used to display (as done in the correspondence dialog) and check the whole collection of targetedEffectiveRecipient
s before they are merged according to the correspondingRecipientParameters.mergeRecipientsByTarget
flag.- Parameters:
selection
- the list entities for which theEffectiveRecipient
s will be calculatedparameters
- theRecipientParameters
- Returns:
- the
ConcernedRecipient
s with allConcernedRecipient
s and theirEffectiveRecipient
s - Throws:
NoEntityToLoadException
- See Also:
-
getRecipientsByTarget
List<CommunicationTarget> getRecipientsByTarget(EntityList selection, RecipientParameters parameters) throws NoEntityToLoadException Evaluates and returns allEffectiveRecipient
s arranged as a list ofCommunicationTarget
s based on the selected entities and the providedRecipientParameters
.- Parameters:
selection
- the list entities for which theEffectiveRecipient
s will be calculatedparameters
- theRecipientParameters
- Returns:
- the
EffectiveRecipient
s arranged as a list ofCommunicationTarget
s - Throws:
NoEntityToLoadException
-