|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeliveryService
Service that performs the post complete or delivery actions of a correspondence, such as email, print, save to file system.
Method Summary | |
---|---|
void |
sendForCustomAction(java.lang.String letterInstanceId,
java.lang.String processName)
Send the correspondence to a process, for any custom action on the correspondence. |
void |
sendForEmail(java.lang.String letterInstanceId,
int format,
java.lang.String sender,
java.lang.String toRecipients,
java.lang.String ccRecipients,
java.lang.String bccRecipients,
java.lang.String subject,
java.lang.String body)
Email the correspondence to the designated recipients with the given subject and body. |
void |
sendForPrint(java.lang.String letterInstanceId,
int format,
int printType,
java.lang.String customPrinterUrl)
Sent the correspondence for print. |
void |
sendForSave(java.lang.String letterInstanceId,
int format,
java.lang.String filename,
java.lang.String savePath)
Saves the correspondence at the given location on the file system. |
Method Detail |
---|
void sendForEmail(java.lang.String letterInstanceId, int format, java.lang.String sender, java.lang.String toRecipients, java.lang.String ccRecipients, java.lang.String bccRecipients, java.lang.String subject, java.lang.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 email
ICCException
void sendForPrint(java.lang.String letterInstanceId, int format, int printType, java.lang.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(java.lang.String letterInstanceId, int format, java.lang.String filename, java.lang.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(java.lang.String letterInstanceId, java.lang.String processName) throws ICCException
letterInstanceId
- GUID of the letter instance to be sent.processName
- the custom process name
ICCException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |