java.lang.Object
ch.tocco.nice2.optional.correspondence.impl.action.tasks.correspondence.CreateCorrespondenceTask
All Implemented Interfaces:
OptionalTask<CommunicationTarget.ClientRepresentation,Entity>, PersistTask<CommunicationTarget.ClientRepresentation,Entity>

public class CreateCorrespondenceTask extends Object implements OptionalTask<CommunicationTarget.ClientRepresentation,Entity>
This task takes a CommunicationTarget.ClientRepresentation object and creates a Correspondence Entity SerialCorrespondence and RecipientParameters are configured in the constructor. Each task call only takes a CommunicationTarget.ClientRepresentation object as parameter. This is required to be able to process these Correspondences sequentially