Package com.adobe.forms.common.service
Class PrefillData
- java.lang.Object
-
- com.adobe.forms.common.service.PrefillData
-
public class PrefillData extends java.lang.ObjectThe PrefillData captures the set of parameters returned by the FormDataProviderRegistry. The following options are supported currently contentType : content type of the data. inputStream : input stream of the service.
-
-
Constructor Summary
Constructors Constructor Description PrefillData()PrefillData(java.io.InputStream inputStream, ContentType contentType)PrefillData(java.io.InputStream inputStream, ContentType contentType, java.util.List<FileAttachmentWrapper> fileAttachmentWrappers, java.util.Map<java.lang.String,java.lang.String> metaData)Prefill data of the formPrefillData(java.io.InputStream inputStream, ContentType contentType, java.util.Map<java.lang.String,java.lang.String> fileAttachmentMap, java.util.Map<java.lang.String,java.lang.String> customContext)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ContentTypegetContentType()Returns the content typejava.util.Map<java.lang.String,java.lang.String>getCustomContext()Returns metadata required during form prefilljava.util.Map<java.lang.String,java.lang.String>getFileAttachmentMap()Deprecated.java.util.List<FileAttachmentWrapper>getFileAttachmentWrappers()Returns list ofFileAttachmentWrapperjava.io.InputStreamgetInputStream()Returns the input stream
-
-
-
Constructor Detail
-
PrefillData
public PrefillData()
-
PrefillData
public PrefillData(java.io.InputStream inputStream, ContentType contentType)
-
PrefillData
public PrefillData(java.io.InputStream inputStream, ContentType contentType, java.util.Map<java.lang.String,java.lang.String> fileAttachmentMap, java.util.Map<java.lang.String,java.lang.String> customContext)Deprecated.Prefill data of the form- Parameters:
inputStream- input stream representing form datacontentType- content typeContentTypeof the prefill datafileAttachmentMap- map containing file attachment som expression and its valuecustomContext- any custom context required during form prefill
-
PrefillData
public PrefillData(java.io.InputStream inputStream, ContentType contentType, java.util.List<FileAttachmentWrapper> fileAttachmentWrappers, java.util.Map<java.lang.String,java.lang.String> metaData)Prefill data of the form- Parameters:
inputStream- input stream representing form datacontentType- content typeContentTypeof the prefill datafileAttachmentWrappers- reference to the file attachment wrapper objectFileAttachmentWrappermetaData- any custom metadata required during form prefill
-
-
Method Detail
-
getContentType
public ContentType getContentType()
Returns the content type- Returns:
- content type
-
getInputStream
public java.io.InputStream getInputStream()
Returns the input stream- Returns:
- input stream
-
getFileAttachmentMap
public java.util.Map<java.lang.String,java.lang.String> getFileAttachmentMap()
Deprecated.Returns the file attachment map. This map contains key as som expression (which uniquely identifies each form object) and value as file name- Returns:
-
getFileAttachmentWrappers
public java.util.List<FileAttachmentWrapper> getFileAttachmentWrappers()
Returns list ofFileAttachmentWrapper- Returns:
- list of file attachment wrapper
-
getCustomContext
public java.util.Map<java.lang.String,java.lang.String> getCustomContext()
Returns metadata required during form prefill- Returns:
- {String} meta data
-
-