Class GenerateAddressOutputTask
java.lang.Object
ch.tocco.nice2.optional.correspondence.impl.action.tasks.correspondence.GenerateAddressOutputTask
- All Implemented Interfaces:
OptionalTask<CommunicationTarget.ClientRepresentation,
,CommunicationTarget.ClientRepresentation> PersistTask<CommunicationTarget.ClientRepresentation,
CommunicationTarget.ClientRepresentation>
public class GenerateAddressOutputTask
extends Object
implements OptionalTask<CommunicationTarget.ClientRepresentation,CommunicationTarget.ClientRepresentation>
Sets the
salutation
and address
strings for all EffectiveRecipient
s of the given CommunicationTarget.ClientRepresentation-
Constructor Summary
ConstructorsConstructorDescriptionGenerateAddressOutputTask
(AddressService addressService, L10N l10n, AddressService.AddressType addressType, AddressService.AddressLook addressLook, Entity serialCorrespondence) -
Method Summary
Modifier and TypeMethodDescriptiondoRun
(CommunicationTarget.ClientRepresentation target, CommandContext commandContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.OptionalTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
GenerateAddressOutputTask
public GenerateAddressOutputTask(AddressService addressService, L10N l10n, AddressService.AddressType addressType, AddressService.AddressLook addressLook, Entity serialCorrespondence)
-
-
Method Details
-
doRun
public CommunicationTarget.ClientRepresentation doRun(CommunicationTarget.ClientRepresentation target, CommandContext commandContext) throws Exception - Specified by:
doRun
in interfaceOptionalTask<CommunicationTarget.ClientRepresentation,
CommunicationTarget.ClientRepresentation> - Throws:
Exception
-