public final class DoROptions extends Object
Constructor and Description |
---|
DoROptions() |
Modifier and Type | Method and Description |
---|---|
String |
getData()
Returns the data which is to be processed.
|
List<com.adobe.forms.common.service.FileAttachmentWrapper> |
getFileAttachments()
This method will return the list of attachments
FileAttachmentWrapper to be used
during document of record generation |
org.apache.sling.api.resource.Resource |
getFormResource()
Returns the adaptive form container or form asset or CQ Page resource which is to be processed
to generate document of record
|
boolean |
getIncludeAttachments()
The boolean flag which indicates whether any attachments have to be included
during generation of document of record
|
Locale |
getLocale()
This method will return the Locale object which will return the language used.
|
void |
setData(String data)
This method will set the data that will be used for processing
to generate document of record
|
void |
setFileAttachments(List<com.adobe.forms.common.service.FileAttachmentWrapper> attachments)
This method will set the list of attachments
FileAttachmentWrapper to be included
in the document of record |
void |
setFormResource(org.apache.sling.api.resource.Resource afResource)
This will set the Resource of the path of the Adaptive Form which is to be processed.
|
void |
setIncludeAttachments(boolean includeAttachments)
Sets the flag to include attachment during document of record generation
|
void |
setLocale(Locale locale)
This method will set the locale Object with the object passed.
|
public Locale getLocale()
public void setLocale(Locale locale)
locale
- locale objectpublic String getData()
public void setData(String data)
data
- The data which needs to be processed.public org.apache.sling.api.resource.Resource getFormResource()
public void setFormResource(org.apache.sling.api.resource.Resource afResource)
afResource
- resource of the location of the Adaptive Form.public boolean getIncludeAttachments()
public void setIncludeAttachments(boolean includeAttachments)
includeAttachments
- Boolean flag to attach attachments or not.public void setFileAttachments(List<com.adobe.forms.common.service.FileAttachmentWrapper> attachments)
FileAttachmentWrapper
to be included
in the document of recordattachments
- List of attachment of files.public List<com.adobe.forms.common.service.FileAttachmentWrapper> getFileAttachments()
FileAttachmentWrapper
to be used
during document of record generationCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.