@Version("12.25.0")
Package com.adobe.cq.wcm.core.components.models
This package defines the Sling Models exposed by the Adobe Experience Manager Core WCM Components Bundle.
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 Accordion Defines theAccordionSling Model used for the/apps/core/wcm/components/accordioncomponent.Breadcrumb Defines theBreadcrumbSling Model used for the/apps/core/wcm/components/breadcrumbcomponent.Button Defines theButtonSling Model used for the/apps/core/wcm/components/buttoncomponent.Carousel Defines theCarouselSling Model used for the/apps/core/wcm/components/carouselcomponent.ClientLibraries Defines theClientLibrariesSling Model used to collect and include client libraries.Component A base interface to be extended by components that need to provide access to common properties.ComponentFiles This utility model allows looking up the paths of specific files from a collection of components, specified as Sling resource types.Container Download Defines theDownloadSling Model used for the/apps/core/wcm/components/downloadcomponent.Embed Defines theEmbedSling Model used for the/apps/core/wcm/components/embedcomponent.ExperienceFragment Defines theExperienceFragmentSling Model used for the/apps/core/wcm/components/experiencefragmentcomponent.HtmlPageItem This interface defines items that can be included on a page.Image Defines theImageSling Model used for the/apps/core/wcm/components/imagecomponent.ImageArea Interface for an image map area, used by theImagemodel.LanguageNavigation Defines theLanguageNavigationSling Model used for the/apps/core/wcm/components/languagenavigationcomponent.LanguageNavigationItem Interface for a single language navigation item, used by theLanguageNavigationmodel.LayoutContainer Defines theLayoutContainerSling Model used for the/apps/core/wcm/components/containercomponent.List Defines theListSling Model used for the/apps/core/wcm/components/listcomponent.ListItem Navigation Defines theNavigationSling Model used for the/apps/core/wcm/components/navigationcomponent.NavigationItem Interface for a single navigation item, used by theBreadcrumbandNavigationmodels.Page Defines thePageSling Model used for the/apps/core/wcm/components/pagecomponent.PdfViewer Defines thePdfViewercomponent model.ProgressBar PWA Interface for reading progressive web apps configurationSearch Defines theSearchSling Model used for the/apps/core/wcm/components/searchcomponent.Separator Defines theSeparatorSling Model used for the/apps/core/wcm/components/separatorcomponent.SocialMediaHelper Deprecated. The Social Media Sharing component is deprecated since Core Components 2.18.0 and should not be used in new projects.TableOfContents Tabs Defines theTabsSling Model used for the/apps/core/wcm/components/tabscomponent.Teaser Defines theTeaserSling Model for the/apps/core/wcm/components/teasercomponent.Text Defines theTextSling Model used for the/apps/core/wcm/components/textcomponent.Title Defines theTitleSling Model used for the/apps/core/wcm/components/titlecomponent. -
Enum Summary Enum Description Embed.Type Enumeration of the supported embed input types.HtmlPageItem.Element enumthat defines the possible HTML elements for a page itemHtmlPageItem.Location enumthat defines possible insert positions for a page item.LayoutContainer.LayoutType Enumeration of supported layout types for the container componentTableOfContents.HeadingLevel Defines the possible heading levels for table of contents corresponding to 'h1' till 'h6'TableOfContents.ListType Defines the possible list types for table of contents