public interface DeliveryService
Modifier and Type | Method and Description |
---|---|
void |
sendForCustomAction(String letterInstanceId,
String processName)
Send the correspondence to a process, for any custom action on the correspondence.
|
void |
sendForEmail(String letterInstanceId,
int format,
String sender,
String toRecipients,
String ccRecipients,
String bccRecipients,
String subject,
String body)
Email the correspondence to the designated recipients with the given subject and body.
|
void |
sendForPrint(String letterInstanceId,
int format,
int printType,
String customPrinterUrl)
Sent the correspondence for print.
|
void |
sendForSave(String letterInstanceId,
int format,
String filename,
String savePath)
Saves the correspondence at the given location on the file system.
|
void sendForEmail(String letterInstanceId, int format, String sender, String toRecipients, String ccRecipients, String bccRecipients, String subject, String body) throws ICCException
letterInstanceId
- GUID of the letter instance to be sent via emailformat
- Email format (PDF/HTML)sender
- email address of sendertoRecipients
- comma-separated list of recipientsccRecipients
- comma-separated list of recipientsbccRecipients
- comma-separated list of recipientssubject
- subject of the emailbody
- body of the emailICCException
void sendForPrint(String letterInstanceId, int format, int printType, String customPrinterUrl) throws ICCException
letterInstanceId
- GUID of the letter instance to be sent for printingformat
- Print format (PS/PCL)printType
- Print Type (Simplex, Duplex Long Edge, Duplex Short Edge)customPrinterUrl
- custom printer URL (optional)ICCException
void sendForSave(String letterInstanceId, int format, String filename, String savePath) throws ICCException
letterInstanceId
- GUID of the letter instance to be sent.format
- Save format (PDF/HTML/XML)filename
- filename to be used when saving the correspondence PDF.savePath
- file system path to be used to save the correspondence PDF.ICCException
void sendForCustomAction(String letterInstanceId, String processName) throws ICCException
letterInstanceId
- GUID of the letter instance to be sent.processName
- the custom process nameICCException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.