Class CommerceExperienceFragmentImpl

    • Field Detail

      • resource

        @Inject
        protected org.apache.sling.api.resource.Resource resource
    • Constructor Detail

      • CommerceExperienceFragmentImpl

        public CommerceExperienceFragmentImpl()
    • Method Detail

      • getExperienceFragmentResource

        public org.apache.sling.api.resource.Resource getExperienceFragmentResource()
        Description copied from interface: CommerceExperienceFragment
        This method returns the first experience fragment that matches the location and product or category identifier of the current page. If multiple experience fragments match, the first one is returned, without any guarantee about ordering.
        Specified by:
        getExperienceFragmentResource in interface CommerceExperienceFragment
        Returns:
        The first experience fragment that matches this container or null.
      • getExportedType

        public String getExportedType()
        Specified by:
        getExportedType in interface com.adobe.cq.wcm.core.components.models.Component
        Specified by:
        getExportedType in interface com.adobe.cq.export.json.ComponentExporter