@Version("1.1.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 UnsupportedOperationException
s.
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
ConsumerType
s. 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 Base A base interface to be extended by all the different types of form elements.BaseConstraint A base interface which specifies the different form field constraintsContainer Defines the formContainer
Sling Model used for form container component (like fieldset or panel)ContainerConstraint A interface which specifies the different form container constraintsField Defines the formField
Sling Model used for form field component.FileConstraint Interface for constraints applicable to file attachmentsFormContainer Defines the form containerFormContainer
Sling Model used for the/apps/core/fd/components/form/formcontainer
component.FormMetaData Defines the form metadataLabel Interface for a labelNumberAndDateConstraint Interface for date and number constraintsOptionsConstraint Interface for options constraints (for radio button, check box and drop down type of fields)StringConstraint A interface which specifies the different form string type constraintsTextInput Defines the formText
Sling Model used for the/apps/core/fd/components/form/textinput
component. -
Enum Summary Enum Description Base.ConstraintType Defines the constraint type.Base.FieldType Defines the view type.BaseConstraint.Type Defines the data type.