Package com.adobe.cq.wcm.core.components.models


@Version("12.29.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.

  • Class
    Description
    Defines the Accordion Sling Model used for the /apps/core/wcm/components/accordion component.
    Defines the Breadcrumb Sling Model used for the /apps/core/wcm/components/breadcrumb component.
    Defines the Button Sling Model used for the /apps/core/wcm/components/button component.
    Defines the Carousel Sling Model used for the /apps/core/wcm/components/carousel component.
    Defines the ClientLibraries Sling Model used to collect and include client libraries.
    A base interface to be extended by components that need to provide access to common properties.
    This utility model allows looking up the paths of specific files from a collection of components, specified as Sling resource types.
    A base interface to be extended by all containers.
    Interface for a single item in a container.
    Defines the Download Sling Model used for the /apps/core/wcm/components/download component.
    Defines the Embed Sling Model used for the /apps/core/wcm/components/embed component.
    Enumeration of the supported embed input types.
    Defines the ExperienceFragment Sling Model used for the /apps/core/wcm/components/experiencefragment component.
    This interface defines items that can be included on a page.
    enum that defines the possible HTML elements for a page item
    enum that defines possible insert positions for a page item.
    Defines the Image Sling Model used for the /apps/core/wcm/components/image component.
    Interface for an image map area, used by the Image model.
    Defines the LanguageNavigation Sling Model used for the /apps/core/wcm/components/languagenavigation component.
    Interface for a single language navigation item, used by the LanguageNavigation model.
    Defines the LayoutContainer Sling Model used for the /apps/core/wcm/components/container component.
    Enumeration of supported layout types for the container component
    Defines the List Sling Model used for the /apps/core/wcm/components/list component.
    Interface for a generic list item, used by the List and Search models.
    Defines the Navigation Sling Model used for the /apps/core/wcm/components/navigation component.
    Interface for a single navigation item, used by the Breadcrumb and Navigation models.
    Defines the Page Sling Model used for the /apps/core/wcm/components/page component.
    A base interface for all containers that contain panels.
    Interface for a container item that is a panel.
    Defines the PdfViewer component model.
     
    Interface for reading progressive web apps configuration
    Defines the Search Sling Model used for the /apps/core/wcm/components/search component.
    Defines the Separator Sling Model used for the /apps/core/wcm/components/separator component.
    Deprecated.
    The Social Media Sharing component is deprecated since Core Components 2.18.0 and should not be used in new projects.
     
    Defines the possible heading levels for table of contents corresponding to 'h1' till 'h6'
    Defines the possible list types for table of contents
    Defines the Tabs Sling Model used for the /apps/core/wcm/components/tabs component.
    Defines the Teaser Sling Model for the /apps/core/wcm/components/teaser component.
    Defines the Text Sling Model used for the /apps/core/wcm/components/text component.
    Defines the Title Sling Model used for the /apps/core/wcm/components/title component.