Class RecipientOptionsServiceImpl
java.lang.Object
ch.tocco.nice2.reporting.impl.service.RecipientOptionsServiceImpl
- All Implemented Interfaces:
RecipientOptionsService
@Component
public class RecipientOptionsServiceImpl
extends Object
implements RecipientOptionsService
-
Constructor Summary
ConstructorDescriptionRecipientOptionsServiceImpl
(Context context, QueryBuilderFactory queryBuilderFactory, TextResources textResources) -
Method Summary
Modifier and TypeMethodDescriptiongetLabel
(ReportDescription.RecipientConfig recipientConfig, ReportDescription reportDescription, EntityList selection, String modelString) Creates the label for one Recipient path.getRecipientsOptions
(ReportDescription reportDescription, EntityList selection) Returns all recipient options
-
Constructor Details
-
RecipientOptionsServiceImpl
public RecipientOptionsServiceImpl(Context context, QueryBuilderFactory queryBuilderFactory, TextResources textResources)
-
-
Method Details
-
getRecipientsOptions
public List<ReportActionService.ReportRecipient> getRecipientsOptions(ReportDescription reportDescription, EntityList selection) Description copied from interface:RecipientOptionsService
Returns all recipient options- Specified by:
getRecipientsOptions
in interfaceRecipientOptionsService
-
getLabel
public String getLabel(ReportDescription.RecipientConfig recipientConfig, ReportDescription reportDescription, EntityList selection, String modelString) Description copied from interface:RecipientOptionsService
Creates the label for one Recipient path. Relation1 > Relation2 (number of recipients) Example: Dunning > Debitor (54)- Specified by:
getLabel
in interfaceRecipientOptionsService
-