Interface RecipientActionService
- All Known Implementing Classes:
- RecipientActionServiceImpl
public interface RecipientActionService
RecipientActionService for retrieving recipients for a selection of entities based on various criteria.
 If the CorrespondenceActionService or MailActionService are called in extended mode, the
 correspondence or mail can not only be created for the selected entities, but also for persons related to the
 selected entities.
 This way, the correspondence can be created for the concerned entity, but also for it's parents, children and so on.
 If the ConcernedRecipient itself is selected as one of the EffectiveRecipient, the address to use for the correspondence to the
 concerned entity can be chosen as well.- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionReturns the client representation of all available organisational Person-Address relation types as they can be flagged on a person-address relation like the address to which the bills are sent.Returns all availableCommunicationRelationTypes (Relation ModelAcceptor.Returns all availableCommunicationRelationTypes (Relation ModelUser_Address_codeWithCommunicationRelationTypes, addresses set on a person can for example be classified as living address or vacation address.Returns all availableCommunicationRelationTypes (Relation ModelUser_user_code).getRecipients(EntityExplorerActionSelection selection, RecipientParameters parameters) Returns a list with allConcernedRecipients and theirEffectiveRecipients for theselectedEntitybased on the providedRecipientParameters.
- 
Method Details- 
getRecipientsList<ConcernedRecipient.ClientRepresentation> getRecipients(EntityExplorerActionSelection selection, RecipientParameters parameters) throws NoEntityToLoadException Returns a list with allConcernedRecipients and theirEffectiveRecipients for theselectedEntitybased on the providedRecipientParameters.- Parameters:
- selection- the entities for which the recipients are evaluated.
- parameters- the- RecipientParametersproviding the conditions for evaluating the recipients.
- Returns:
- the list containing all ConcernedRecipients and theirEffectiveRecipients.
- Throws:
- NoEntityToLoadException
- See Also:
 
- 
getPersonalPersonRelationTypesList<CommunicationRelationType> getPersonalPersonRelationTypes()Returns all availableCommunicationRelationTypes (Relation ModelUser_user_code). WithCommunicationRelationTypes, relations between persons like student and teacher or parents and children are described.- Returns:
- the list of CommunicationRelationTypes.
 
- 
getOrganisationalPersonRelationTypesList<CommunicationRelationType> getOrganisationalPersonRelationTypes()Returns all availableCommunicationRelationTypes (Relation ModelAcceptor. WithCommunicationRelationTypes, relations like person and the person paying the bills are described.- Returns:
- the list of organisational person-person relation types.
 
- 
getPersonalAddressRelationTypesList<CommunicationRelationType> getPersonalAddressRelationTypes()Returns all availableCommunicationRelationTypes (Relation ModelUser_Address_codeWithCommunicationRelationTypes, addresses set on a person can for example be classified as living address or vacation address.- Returns:
- the list of personal person-address relation types.
 
- 
getOrganisationalAddressRelationTypesList<AddressService.AddressType.ClientRepresentation> getOrganisationalAddressRelationTypes() throws NoEntityToLoadExceptionReturns the client representation of all available organisational Person-Address relation types as they can be flagged on a person-address relation like the address to which the bills are sent. This is not an actually existing relation entity in the model, but a helper to manage various address-type flags onAddressentities.- Returns:
- the list of organisational person-address relation types.
- Throws:
- NoEntityToLoadException
 
 
-