Package com.adobe.fd.fp.service
Interface FormsPortalPDFRenderService
-
public interface FormsPortalPDFRenderService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getDorFromNode(javax.jcr.Node formNode, byte[] data, java.util.List<FileAttachmentWrapper> attachments, java.lang.String locale)
When you have form node, data to fill and attachments with you and looking for a document of recordbyte[]
getDorFromPdf(java.lang.String formName, byte[] pdfBytes, java.util.List<FileAttachmentWrapper> attachments)
When we need DoR bytes by stitching attachments to already processed pdf
-
-
-
Method Detail
-
getDorFromNode
byte[] getDorFromNode(javax.jcr.Node formNode, byte[] data, java.util.List<FileAttachmentWrapper> attachments, java.lang.String locale) throws FormsPortalException
When you have form node, data to fill and attachments with you and looking for a document of record- Parameters:
formNode
- Ideally this should be a form node under /content/dam/formsanddocumentsdata
- Data submitted by the end userattachments
- List of attachment wrapper class- Returns:
- Document of record's pdf bytes
- Throws:
FormsPortalException
-
getDorFromPdf
byte[] getDorFromPdf(java.lang.String formName, byte[] pdfBytes, java.util.List<FileAttachmentWrapper> attachments) throws FormsPortalException
When we need DoR bytes by stitching attachments to already processed pdf- Parameters:
formName
-pdfBytes
-attachments
-- Returns:
- Throws:
FormsPortalException
-
-