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<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.
|
String |
getUserXci()
This method will return user specified global XCI path
|
void |
setData(String data)
This method will set the data that will be used for processing
to generate document of record
|
void |
setFileAttachments(List<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.
|
void |
setUserXci(String userXci)
This method will set user specified global XCI path
|
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<FileAttachmentWrapper> attachments)
FileAttachmentWrapper
to be included
in the document of recordattachments
- List of attachment of files.public List<FileAttachmentWrapper> getFileAttachments()
FileAttachmentWrapper
to be used
during document of record generationpublic String getUserXci()
public void setUserXci(String userXci)
Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.