public class FormOptions extends Object
FormGenerationService
.Constructor and Description |
---|
FormOptions() |
Modifier and Type | Method and Description |
---|---|
String |
getAnalyticsEnabled()
Returns if analytics is enabled for the form.
|
String |
getDescription()
Returns the description of the form.
|
String |
getFormLocation()
Returns the Repository path of the directory that contains this form.
|
String |
getName()
Returns the name of the form.
|
NameConflictAction |
getNameConflictAction()
Returns the action to be taken in case of form name conflict.
|
String[] |
getTags()
Returns the cq:Tags associated with the form.
|
String |
getTitle()
Returns the Title of the form.
|
void |
setAnalyticsEnabled(String analyticsEnabled)
Sets if the analytics should be enabled on the form or not.
|
void |
setDescription(String description)
Set the description of the form.
|
void |
setFormLocation(String formLocation)
Set the repository path of the directory where form will be created.
|
void |
setName(String name)
Set the name of the form.
|
void |
setNameConflictAction(NameConflictAction nameConflictAction)
Set the action to be taken in case of form name conflict.
|
void |
setTags(String[] tags)
Set the cq:Tags associated with form.
|
void |
setTitle(String title)
Set the title of the form.
|
public String getFormLocation()
public void setFormLocation(String formLocation)
formLocation
- String representing a valid repository path of a directory that will contain the form.public String getTitle()
public void setTitle(String title)
title
- String representing the title of the form.public String getName()
public void setName(String name)
name
- String representing the name of the form.public String getDescription()
public void setDescription(String description)
description
- String representing the description of the form.public String[] getTags()
public void setTags(String[] tags)
tags
- String array of cq:Tags to be associated with the form.public NameConflictAction getNameConflictAction()
public void setNameConflictAction(NameConflictAction nameConflictAction)
nameConflictAction
- Enum representing an action.public String getAnalyticsEnabled()
public void setAnalyticsEnabled(String analyticsEnabled)
analyticsEnabled
- True if analytics needs to be enabled for the form.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.