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