@Version("12.19.1")
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 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 Accordion Defines theAccordion
Sling Model used for the/apps/core/wcm/components/accordion
component.Breadcrumb Defines theBreadcrumb
Sling Model used for the/apps/core/wcm/components/breadcrumb
component.Button Defines theButton
Sling Model used for the/apps/core/wcm/components/button
component.Carousel Defines theCarousel
Sling Model used for the/apps/core/wcm/components/carousel
component.ClientLibraries Defines theClientLibraries
Sling 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 theDownload
Sling Model used for the/apps/core/wcm/components/download
component.Embed Defines theEmbed
Sling Model used for the/apps/core/wcm/components/embed
component.ExperienceFragment Defines theExperienceFragment
Sling Model used for the/apps/core/wcm/components/experiencefragment
component.HtmlPageItem This interface defines items that can be included on a page.Image Defines theImage
Sling Model used for the/apps/core/wcm/components/image
component.ImageArea Interface for an image map area, used by theImage
model.LanguageNavigation Defines theLanguageNavigation
Sling Model used for the/apps/core/wcm/components/languagenavigation
component.LanguageNavigationItem Interface for a single language navigation item, used by theLanguageNavigation
model.LayoutContainer Defines theLayoutContainer
Sling Model used for the/apps/core/wcm/components/container
component.List Defines theList
Sling Model used for the/apps/core/wcm/components/list
component.ListItem Navigation Defines theNavigation
Sling Model used for the/apps/core/wcm/components/navigation
component.NavigationItem Interface for a single navigation item, used by theBreadcrumb
andNavigation
models.Page Defines thePage
Sling Model used for the/apps/core/wcm/components/page
component.PdfViewer Defines thePdfViewer
component model.ProgressBar PWA Interface for reading progressive web apps configurationSearch Defines theSearch
Sling Model used for the/apps/core/wcm/components/search
component.Separator Defines theSeparator
Sling Model used for the/apps/core/wcm/components/separator
component.SocialMediaHelper Defines the Sling Model for the/apps/core/wcm/components/sharing
component.Tabs Defines theTabs
Sling Model used for the/apps/core/wcm/components/tabs
component.Teaser Defines theTeaser
Sling Model for the/apps/core/wcm/components/teaser
component.Text Defines theText
Sling Model used for the/apps/core/wcm/components/text
component.Title Defines theTitle
Sling Model used for the/apps/core/wcm/components/title
component. -
Enum Summary Enum Description Embed.Type Enumeration of the supported embed input types.HtmlPageItem.Element enum
that defines the possible HTML elements for a page itemHtmlPageItem.Location enum
that defines possible insert positions for a page item.LayoutContainer.LayoutType Enumeration of supported layout types for the container component