Class MultipleAddressTask

java.lang.Object
ch.tocco.nice2.optional.address.impl.MultipleAddressTask

public abstract class MultipleAddressTask extends Object
This class is respsonsible for creating salutation and address strings for a list of user entities. The precondition is, that all users are linked to the same address entity. The output depends on the lookup entity "Collective_salutation" that is linked from the single address entity. It may either carry a template string which is then evaluated using the TemplateEngine, or if the boolean "single" is set to `true`, the names of the users are concatenated into a single line.