@Version("5.11.0")
Package com.adobe.cq.forms.core.components.models.form
This package defines the Sling Models exposed by the Adobe Experience Manager Forms Components Bundle for the form components.
Implementors of this API can choose which API level they support, by implementing all the methods up to a specified version of the API. All the provided interfaces document in which API version they were added. Furthermore, all methods also specify the API version in which they were introduced and deprecated.
All the interfaces from this package provide default methods that throw UnsupportedOperationExceptions.
The reasoning behind this pattern is that implementors can upgrade the bundle without being forced to implement all the
new methods provided by a newer API version, since the interfaces from this package are
ConsumerTypes. An UnsupportedOperationException could be thrown when a
component script would start using the newer API, without the actual implementation to support it. This can happen when an
implementor migrates a
proxy component
to a newer version of the core component it proxies and a custom Sling Model implementation, supporting an older API
version, is bound to this proxy component resource type.
-
Interface Summary Interface Description AutoSaveConfiguration Defines the auto save configurationAutoSaveConfigurationBase A base interface to be extended by all the different types of form elements.BaseConstraint A base interface which specifies the different form field constraintsButton Defines theButtonSling Model used for the/apps/core/fd/components/form/buttoncomponent.Captcha Defines a base interface to be extended by all the different types of captcha.CheckBox Defines the formCheckBoxSling Model used for the/apps/core/fd/components/form/checkbox/v1/checkboxcomponent.CheckBoxGroup Defines the formCheckBoxGroupSling Model used for the/apps/core/fd/components/form/checkboxgroup/v1/checkboxgroupcomponent.Container Defines the formContainerSling Model used for form container component (like fieldset or panel)ContainerConstraint A interface which specifies the different form container constraintsDateConstraint A interface which specifies the different form date type constraintsDatePicker Defines the formDatePickerSling Model used for the/apps/core/fd/components/form/datepicker/v1/datepickercomponent.DropDown Defines the formDropDownSling Model used for the/apps/core/fd/components/form/dropdown/v1/dropdowncomponent.Field Defines the formFieldSling Model used for form field component.FileConstraint Interface for constraints applicable to file attachmentsFileInput Defines the formFileInputSling Model used for the/apps/core/fd/components/form/fileinput/v1/fileinputcomponent.FormatConstraint FormClientLibManager Defines theFormClientLibManagerSling Model to perform operation related to client libraries.FormComponent FormConfigurationProvider This interface provides the configurations for the form container, @since 5.4.2FormContainer Defines the form containerFormContainerSling Model used for the/apps/core/fd/components/form/formcontainercomponent.FormMetaData Defines the form metadataFormStructureParser Defines theFormStructureParserSling Model to access the form container path from page or any child.FormTitle Defines the formTitleSling Model used for the/apps/core/fd/components/form/title/v2/titlecomponent.Fragment Defines the formFragmentSling Model used for the/apps/core/fd/components/form/fragment/v1/fragmentcomponent.HCaptcha Defines the formHCaptchaSling Model used for the/apps/core/fd/components/form/hcaptcha/v1/hcaptchacomponent.HtlUtil Label Interface for a labelNumberConstraint Deprecated. UseNumberConstraintV2instead.NumberConstraintV2 An interface which specifies the different form number type constraints with Number type.NumberInput Defines the formNumberInputSling Model used for the/apps/core/fd/components/form/numberinput/v1/numberinputcomponent.OptionsConstraint Interface for options constraints (for radio button, check box and drop down type of fields)Panel Defines the formpanelSling Model used for the/apps/core/fd/components/form/panel/v1/panelcomponent.RadioButton Defines the formRadioGroupSling Model used for the/apps/core/fd/components/form/radiogroup/v1/radiogroupcomponent.Review Defines theReviewSling Model used for the/apps/core/fd/components/form/reviewcomponent.StaticImage StringConstraint A interface which specifies the different form string type constraintsSwitch Defines theSwitchSling Model used for the/apps/core/fd/components/form/switchcomponent.TermsAndConditions Defines the formTermsAndConditionsSling Model used for the/apps/core/fd/components/form/termsandconditions/v1/termsandconditionscomponent.Text Defines the formTextSling Model used for the/apps/core/fd/components/form/text/v1/textcomponent.TextInput Defines the formTextSling Model used for the/apps/core/fd/components/form/textinput/v1/textinputcomponent.Turnstile Defines the formTurnstileSling Model used for the/apps/core/fd/components/form/turnstile/v1/turnstilecomponent. -
Enum Summary Enum Description AssistPriority Defines the assist priority type.AutoSaveConfiguration.AutoSaveStrategyType BaseConstraint.Type Defines the data type.Captcha.CaptchaDisplayMode Defines the display mode for captcha.CheckBox.Orientation Defines the orientation for checkbox.ConstraintType Defines the constraint type.FieldType FormatConstraint.Format ThankYouOption