Interface TermsAndConditions
-
- All Superinterfaces:
Base,BaseConstraint,Component,com.adobe.cq.export.json.ComponentExporter,Container,ContainerConstraint,com.adobe.cq.export.json.ContainerExporter,FormComponent
@ConsumerType public interface TermsAndConditions extends Container, ContainerConstraint
Defines the formTermsAndConditionsSling Model used for the/apps/core/fd/components/form/termsandconditions/v1/termsandconditionscomponent.- Since:
- com.adobe.cq.forms.core.components.models.form 4.7.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringFD_TERMS_AND_CONDITIONS-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.Base
DATE_FORMATTER, DEFAULT_LANGUAGE
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
CUSTOM_PROPERTY_WRAPPER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisShowApprovalOption()booleanisShowAsPopup()booleanisShowLink()-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Base
getConstraintMessages, getDescription, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, isEnabled, isTooltipVisible
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
getType, getValidationExpression
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Container
getAppliedCssClasses, getColumnClassNames, getColumnCount, getExportedAllowedComponents, getExportedItems, getExportedItemsOrder, getExportedType, getGridClassNames, getItems, getRoleAttribute, isRequired
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.ContainerConstraint
getMaxItems, getMaxOccur, getMinItems, getMinOccur, isRepeatable
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getFieldType, getName, getPath, getProperties, getRules, isVisible, setI18n
-
-
-
-
Field Detail
-
FD_TERMS_AND_CONDITIONS
static final java.lang.String FD_TERMS_AND_CONDITIONS
- See Also:
- Constant Field Values
-
-
Method Detail
-
isShowApprovalOption
boolean isShowApprovalOption()
- Returns:
trueif approval checkbox should be shown, otherwisefalse
-
isShowLink
boolean isShowLink()
- Returns:
trueif links to external Terms & Conditions pages are to be shown, otherwisefalse if consent text is to be shown
-
isShowAsPopup
boolean isShowAsPopup()
- Returns:
-
-