public class DataOptions
extends java.lang.Object
Constructor and Description |
---|
DataOptions() |
Modifier and Type | Method and Description |
---|---|
Resource |
getAemFormContainer()
Container (if any) resource in which the form is being embedded.
|
ContentType |
getContentType()
Returns the content type
|
java.lang.String |
getDataRef()
path of the data being passed as the sling request parameter or request attribute.
|
java.util.Map<java.lang.String,java.lang.Object> |
getExtras()
Returns the parameter map
|
Resource |
getFormResource()
Form resource present inside DAM for which the data is required.
|
java.lang.String |
getPagePath()
Path of the page where the form resides.
|
java.lang.String |
getServiceName()
returns the name of the service to be used for getting the data.
|
void |
setAemFormContainer(Resource aemFormContainer)
Container (if any) resource in which the form is being embedded.
|
void |
setContentType(ContentType contentType)
Sets the content type to the data options.
|
void |
setDataRef(java.lang.String dataRef)
set the path of the data from where the data has to be obtained
|
void |
setExtras(java.util.Map<java.lang.String,java.lang.Object> extras)
Sets the extra parameter map.
|
void |
setFormResource(Resource formResource)
Form resource present inside DAM for which the data is required.
|
void |
setPagePath(java.lang.String pagePath)
Path of the page/profile (for MF) where the form resides.
|
void |
setServiceName(java.lang.String serviceName)
set the name of the service to be used for getting the data.
|
public java.lang.String getDataRef()
public void setDataRef(java.lang.String dataRef)
dataRef
- path of the data from where the data has to be obtainedpublic Resource getFormResource()
public void setFormResource(Resource formResource)
formResource
- Form resource present inside DAM for which the data is required.public java.lang.String getPagePath()
public void setPagePath(java.lang.String pagePath)
pagePath
- Path of the page/profile (for MF) where the form resides.public Resource getAemFormContainer()
public void setAemFormContainer(Resource aemFormContainer)
aemFormContainer
- Container (if any) resource in which the form is being embedded.public java.lang.String getServiceName()
public void setServiceName(java.lang.String serviceName)
serviceName
- name of the service to be used for getting the data.public java.util.Map<java.lang.String,java.lang.Object> getExtras()
public void setExtras(java.util.Map<java.lang.String,java.lang.Object> extras)
extras
- map of extra parameters.public ContentType getContentType()
public void setContentType(ContentType contentType)
contentType
- Copyright © 2010 - 2020 Adobe. All Rights Reserved